Y
Hacker News
new
|
ask
|
show
|
jobs
by
toutouast
2765 days ago
Why not just compile "primitive" functions call to respective assembly code? (+ => "add")
1 comments
eatonphil
2765 days 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.
:)
link
:)