Sugar from a tree
Palm sugar is older than cane sugar in this part of the world, and is made much as it always was.
People in tropical Asia were making sugar from palms long before they made it from cane. A palm does not have to be planted in fields, cut down or crushed. It stands for decades, and its flower stalks, if cut and tended, drip sweet sap every day.
Several palms are tapped. In Malaysia and Singapore the traditional source is the coconut palm. In Indonesia the sugar palm, aren, is used as much as the coconut. In Thailand, Cambodia and India it is often the tall palmyra. The sugars differ in colour and flavour, but the method is the same everywhere.

Why Malacca?
Malacca was the great trading port of the Malay peninsula for centuries, and palm sugar from the villages around it was sold through the town. Its name stuck to the product, as Demerara’s did to another sugar. The state still has makers, though most gula melaka sold today comes from elsewhere in Malaysia and from Indonesia.
The cylinder shape comes from the bamboo moulds; Javanese sugar is set in halved coconut shells and comes as domes or discs.
Three stages
A tapper climbs each palm twice a day, shaves the cut flower stalk and changes the collecting vessel.
The sap is strained and boiled for hours over a wood fire, stirred as it thickens.
The thick syrup is poured into bamboo tubes and left to set hard.
The same sap, three products
Fresh from the tree the sap is a sweet, cloudy drink. Left for a few hours it ferments into toddy, a mildly alcoholic palm wine. Boiled before it can ferment, it becomes sugar. Which of the three a village made depended on who was buying.
Where it is made and used
From coconut palm, in cylinders.
From coconut or sugar palm, in discs and domes.
Often from palmyra. Paler and softer.
From kithul, palmyra or date palm.