3 ms·
One of these days I want to do a "typesafe macro assembler" that actually is the language people think that C is.
by pjc50 5mo ago
One of these days I want to do a "typesafe macro assembler" that actually is the language people think that C is.
- bcjdjsndon 5mo agoYou could call it rust and just rename the remaining UB as "unsafe" and call the problem solved
- trumpdong 5mo agoYou could even give it identical syntax to C!
- pjmlp 5mo agoIt already exists, MASM and TASM, and related derivatives, with high level control flow pseudo instructions and less UB.
- rfgplk 5mo agoI'm actually working on something similar to this. Basically works as an additional preprocessed layer over C++. You can get some crazy results, but it's tricky to integrate with existing build tools without causing havoc.