Writing a JIT compiler in Golang
Sidhartha Mani
4054

This article is very misleading. A JIT compiler for some language is something that takes arbitrary code in the language in question, compiles it to machine code appropriate for the OS and hardware architecture the program is running on and finally makes that executable. Here you dealt only with the last bit, which is not the difficult part: you started from a C call from the Linux API, not from Go code, and manually generated the corresponding machine code. That is no JIT, only a small part of one. A more honest title would have been: “how to run a machine code snippet in Golang”.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.