Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
element11
· 11y ago · 0 comments
I always wonder about the final conversion to assembly. Do you really need to learn all the instructions, the linking, the binary formats and all that stuff ?
Comments
[–]
tlb
11y ago
My favorite way is to output C, which is conveniently human-readable for debugging. Many people also like the LLVM back end.
[–]
element11
OP
11y ago
I new about that possibility but how efficient is it compared to other techniques ?
[–]
samatman
11y ago
Nim is competing effectively by using this tactic. It's efficient.
[–]
pjmlp
11y ago
It is the approach taken by Eiffel. Byte code interpreter for the IDE and compilation to native code via C for distribution.
Also how the first C++ compiler used to generate code.