Dani (:cxx: Antifascista)

C++ nerd, WG21, INFJ, electrical engineer, she/her, science connoisseur, jazz addict
Sponsoring member: Wikimedia, Greenpeace, Digitalcourage, noyb, and more
@DanielaKEngert

📝

Допісы

💬 vitaut 🤍❤️🤍 🇺🇦 @ DanielaKEngert not RISCy enough
Dani (:cxx: Antifascista)
🌍 30.08.2026 16:50

@vitaut

CISC is the solution.

More than 40 years ago, while still at university, I built together with a few fellow students a computer around the NS32000 processor: full 3-address machine, every operand type and addressing mode (for each of the three) you could imagine (including 'module' !). CISC through and through.

While we built the PASCAL compiler for it, we noticed that code generation was pretty much a 1 to 1 translation from simple PASCAL to machine code 😊😎

Падабаецца 0 Рэпосты 0
Dani (:cxx: Antifascista)
🌍 27.12.2022 16:04

Cool, cool 😎🎉
Formatting with argument types checked at compile time and translated at run time works now. All strings need to be UTF encoded.
The last expression doesn't compile because of a subtle error in the plural format string. 😊
The translation engine is backed by 'gettext'.

C++20 'format()' calls with runtime-translated format strings and compile-time argument type checking.
Падабаецца 0 Рэпосты 0