[GoLUG] The Case For Pascal, 55 Years On

kc-golug at chadwicks.me.uk kc-golug at chadwicks.me.uk
Sun Sep 7 05:50:43 EDT 2025


7 Sept 2025 02:30:59 Steve Litt <slitt at 444domains.com>:

> Because?

A big waste of my time is decoding C bit twiddling macros where the reference manual is lacking. You can do the same shifting, xoring and anding etc. in Ada but I usually don't because it's far inferior to other methods like type design and assignment or bit arrays. Not just in ease of use but in avoiding mistakes. Even better the ARM standard prescribes svd hardware descriptions in xml and so svd2ada can generate record structures for the hardware registers which are almost as easy to read as the reference manual tables. You can kind of do it with C structs now but it falls way short of what Ada can do and Adas readability.


More information about the GoLUG mailing list