Show HN: Run 7 programming languages from Node.js without their runtimes
Show HN: Run 7 programming languages from Node.js without their runtimes bear0330 / lang-zoo-js Public Notifications You must be signed in to change notification settings Fork 0 Star 0 Branches Tags Open more actions menu Latest commit History 3 Commits 3 Commits Folders and files Name Name Last commit message Last commit date demo demo packages packages .gitignore .gitignore LICENSE LICENSE README.md README.md Repository files navigation LangZoo.js Run seven programming languages from Node.js without installing their runtimes. LangZoo.js is a small demo of APEBind : seven generated JavaScript packages that bundle their own language runtimes as Actually Portable Executables (APEs) .
This Other is relevant to the technology intelligence record because it involves DeveloperTools activity. The source article should remain the factual reference for follow-up coverage.
- bear0330 / lang-zoo-js Public Notifications You must be signed in to change notification settings Fork 0 Star 0 Branches Tags Open more actions menu Latest commit History 3 Commits 3 Commits Folders and files Name Name Last commit message Last commit date demo demo packages packages .gitignore .gitignore LICENSE LICENSE README.md README.md Repository files navigation LangZoo.js Run seven programming languages from Node.js without installing their runtimes.
- LangZoo.js is a small demo of APEBind : seven generated JavaScript packages that bundle their own language runtimes as Actually Portable Executables (APEs) .
- No separate Janet, Java, Lua, PHP, Python, Ruby, or Tcl installation is needed to run the demo.
- Try all seven cd demo npm install --ignore-scripts --no-audit --no-fund node run-all.mjs Expected output: { janet: '42', java: '42', lua: '42', php: '42', python: '42', ruby: '42', tcl: '42' } Each language runs through its own bundled runtime.
- The JavaScript packages are bindings to those runtimes, not reimplementations of the languages in JavaScript .
- What calling a runtime looks like import { run as runPython } from 'python-ape' ; const result = await runPython ( { code : 'print(6 * 7)' , isolated : true } ) ; console .