Hacker News new | ask | show | jobs
by sargstuff 845 days ago
There are virtual machine plug-ins that add interpreted C/C++ to environments (browser, c/c++ interpreter for command line shell, gnumeric/excell, ....).

There are tools which can be run in same developer environment that javascript is run in which can be used to translate javascript into compilable C/C++ code (perhaps also adding/including the step of compilation of c/c++ code into runable binary)

Typically, a vm which directly interprets/runs javascript is used in place of the transpile steps (change javascript into c/c++ source code / compile source / run source)