172 points by syrusakbary 4 days ago | 46 comments | View on ycombinator
syrusakbary 4 days ago |
davispeck 4 days ago |
Curious how this holds up under hostile workloads, especially with native modules and libuv in the mix.
willquack 4 days ago |
Dumb question: could you run this in frontend js using the browser's js engine and wasm environment similar to WebContainers? Maybe `fs` is just in-memory, and some things like forking are disabled. It'd be cool to have "nodejs" in the web!
pacman1337 4 days ago |
For personal computer, people worried about the spin up time of docker? I think that is more of a tooling issue where you spin up one instance and run multiple jobs.
What am I missing? What are actually real use cases where this would be better?
d0100 4 days ago |
Being able to import from "https://my-vpn.com/[email protected]" or "npm:[email protected]" and just running code without having to worry about scaffolding node_modules makes sandboxing code much easier
undefined 4 days ago |
ammmir 4 days ago |
pscanf 4 days ago |
Question regarding the pluggable js engine: I have an electron app where I'm currently using QuickJS to run LLM-generated code. Would edge.js be able (theoretically) to use electron's v8 to get a "sanboxed within electron" execution environment?
huksley 3 days ago |
What is the lifecycle of the sandbox? Can we pause, step-by-step, pause and resume executed code?
MillionOClock 4 days ago |
alex_reg 4 days ago |
Roughly:
* a refactor of Node.js, but using a standardized API for JS engine interop * Integration with the Wasmer CLI so it will run JS with v8 but, everything else in Webassembly
Interesting idea.
Could be a much lighter weight way to sandbox JS...
drewbitt 3 days ago |
2001zhaozhao 4 days ago |
actionfromafar 4 days ago |
(A.K.A. are we IBM 360 yet?)
robjam 4 days ago |
I know of the extism project and played around with it in elixir, but I'm looking to have CF Workers DX with as little operational complexity as possible for many silly pet projects.
eu_93 about 16 hours ago |
iam_circuit 4 days ago |
leontloveless 4 days ago |
aplomb1026 4 days ago |
Heer_J 3 days ago |
billionverify 4 days ago |
I'm Syrus, from Wasmer. We built Edge.js in a few weeks after different trials trying to bring Node.js to the Edge. We used AI and Codex heavily for this project, as otherwise the timeline would have spanned to a year plus to develop.
The summary of this announcement is that Edge.js:
Super happy to answer any questions you may have!