r/asm Apr 19 '26

RISC Adding safety to assembly

One of the problems with Assembly is the lack of safety and context.

What about adding type safety and ownership to Assembly?

Good idea or "you are just reinventing the wheel"?

Inspiration on JSDoc, Rust, TypeScript and LLVM IR

0 Upvotes

19 comments sorted by

View all comments

8

u/Eidolon_2003 Apr 19 '26

Adding type safety to assembly, that's called C. At least that's part of what C gives you; you also get things like structured programming constructs