Hacker News new | ask | show | jobs
by kevingadd 810 days ago
That's called self-hosting, and it's widely used in JS runtimes to implement various built-ins instead of writing them in C++. It provides superior safety and the ability to inline builtins into their callers.