Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjc50
9 days ago
One of these days I want to do a "typesafe macro assembler" that actually is the language people think that C is.
4 comments
bcjdjsndon
9 days ago
You could call it rust and just rename the remaining UB as "unsafe" and call the problem solved
link
rfgplk
9 days ago
I'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.
link
pjmlp
9 days ago
It already exists, MASM and TASM, and related derivatives, with high level control flow pseudo instructions and less UB.
link
trumpdong
9 days ago
You could even give it identical syntax to C!
link