Compost is not 'waste piled up' β it is a controlled fermentation, and the difference between a heap that becomes black gold in eight weeks and one that just rots for a year comes down to four controllable factors: carbon-to-nitrogen ratio, moisture, oxygen and size.
The target C:N ratio is 25β30:1. In practice that means roughly 2β3 parts dry brown material (maize stover, straw, dried leaves) to 1 part green or fresh material (fresh weeds, vegetable scraps, fresh manure). Too much brown and nothing happens; too much green and you get a slimy, smelly, nitrogen-leaching mess.
Fresh manure is a different animal: it is 'hot' with nitrogen and salts that burn seedlings, and it carries weed seeds and parasites. Either compost it, or apply it 2β4 weeks before planting to let it mellow. Poultry manure is roughly 3Γ stronger than cattle manure β halve the rate.
Application rates that work in the field: 2β5 tonnes/ha of good compost as a basal dressing, worked into the top 15 cm. A handful (about 100 g) in each planting hole transforms vegetable performance. On a 1-hectare vegetable plot, one well-run compost program replaces a third or more of purchased fertilizer.
Common mistakes: adding meat or dairy (rats, smell), letting the heap dry out in the sun, and 'fertilizing' with fresh sawdust β fresh wood waste actually robs nitrogen from crops as it decomposes until it is composted.
Sources: