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”.