←back to thread

176 points modinfo | 1 comments | | HN request time: 0s | source
Show context
Razengan ◴[] No.45652429[source]
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.

replies(2): >>45653309 #>>45655486 #
1. pjmlp ◴[] No.45655486[source]
Besides LLVM IR, we have MSIL, WebAssembly, among many other bytecode formats, languages like Forth, or Lisp based assemblers.