Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
toutouast
· 8y ago · 0 comments
Why not just compile "primitive" functions call to respective assembly code? (+ => "add")
Comments
[–]
eatonphil
8y ago
> In a better compiler, we would not make plus a built-in function. We'd emit code for the assembly instruction ADD. However, making plus a function makes code generation simpler and also allows us to see what function calls look like.
:)