←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 #
blashyrk ◴[] No.45653309[source]
Wouldn't that basically be very similar to, for example, LLVM IR?
replies(1): >>45653656 #
1. halb ◴[] No.45653656[source]
I was gonna say, this sounds exactly like LLVM IR, except for the ease of use