News for hackers. Stuff that matters.
Re:Upcoming Book: Compiling to Assembly from Scratch by xiphias2 on Friday March 13, 2020 @05:05PM (#22570874)
,,I avoided using any TypeScript- or JavaScript-specific language features in the''

I don't understand this part. The hardest part of compiling TypeScript to machine language is that you don't know what an operator does, as you don't know the exact type.

The book doesn't seem to have a specific limited scope to me, it seems to not choose between interpreting, JIT compiling techniques (optimizing/deoptimizing) or static compiling.

For a modern language I would probably use Rust instead (also stay with Intel architecture to make trying things out easier).

Anyways good luck for the book!

There are no comments on this comment yet.