Where the flavour comes from
Fresh palm sap is a thin, sweet liquid, about one part sugar to six of water, with small amounts of protein, acids and minerals. It tastes pleasant and plain. Everything distinctive about gula melaka is made in the pan. As the sap boils for hours, sugars and proteins react together and brown, producing the roasted, nutty, toffee notes; as the water goes and the temperature climbs, some of the sugar itself caramelises, adding bitterness and depth. Wood smoke from the open fire settles into the syrup. Refined white sugar has had all such compounds stripped out on purpose. Palm sugar keeps them, and they are the point.
Why it is less sweet
It is not pure sugar. A noticeable part of the block is water, minerals and the products of browning, and its slight acidity and saltiness further soften the sweetness.
Why the sap must be boiled at once
Wild yeasts begin fermenting the sap within hours in the heat. Tappers collect twice a day and often put a little lime paste or a piece of a particular bark in the vessel to slow it.
Why it is soft and crumbly
It contains sugars other than sucrose and a little moisture, which interfere with crystals forming. Pure cane sugar sets rock hard; real palm sugar yields to a knife.
Why it works with coconut and salt
On its own, gula melaka syrup is dark, heavy and a little bitter. Coconut milk is its opposite: pale, fatty, mild and cool. Together each corrects the other. The fat in the coconut milk carries the sugar’s aromatic compounds and softens its bitterness, and a pinch of salt in the coconut milk sharpens the whole, as it does in salted caramel. This is why the same pairing appears in chendol, in sago pudding and in a dozen kueh. Leave out the salt and the dessert tastes merely sweet.
Why ondeh-ondeh bursts
A cube of gula melaka sealed inside a ball of rice dough melts when the ball is boiled. The dough holds the liquid sugar until you bite it.
Is it healthier than sugar?
It retains traces of minerals, and some claim it raises blood sugar more slowly, though the evidence for that is weak. It is still sugar, and should be treated as such.
Why it keeps
Like any concentrated sugar it has too little free water for microbes. Kept dry and wrapped, a block lasts a year or more, though it may harden.