6 ms·
I always wondered/wanted to play with a language that comes between Assembly and C (in terms of power/control, granularity, and also ease of use): * Be just li
by Razengan 1y ago
I always wondered/wanted to play with a language that comes between Assembly and C (in terms of power/control, granularity, and also ease of use):
* Be just like Asm in every way, but:
* Have standardized architecture-agnostic mnemonics that translate to CPU-specific ones: like something that stands for both MOV on Intel and LDR on ARM.
* Take care of common boilerplate like function call rituals, or the multiple instructions required for loading 64-bit numbers on ARM.
Basically a real language like the ones in "programming simulation" games.
- blashyrk 1y agoWouldn't that basically be very similar to, for example, LLVM IR?
- halb 1y agoI was gonna say, this sounds exactly like LLVM IR, except for the ease of use
- pjmlp 1y agoBesides LLVM IR, we have MSIL, WebAssembly, among many other bytecode formats, languages like Forth, or Lisp based assemblers.