by syrusakbary · 8mo ago · 0 comments
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:
* Runs using WebAssembly when in `--safe` mode
* It's fully compatible with Node.js (passing all their spec tests for non-VM modules)
* It has a pluggable JS engine architecture: can work with V8, Javascript, SpiderMonkey, QuickJS, Hermes, etc.
Super happy to answer any questions you may have!Why is safe mode opt-in?
I think this is a cool demo for you to show, at least in my mind this might be a little mind blowing + maybe a db?
I know there are wasm dbs availble that are very light, but so that maybe it's a plus to consider.
I think the fact that WASIX is much more mature now have helped to increase development speeds quite a bit!
As a fun exercise, you can try reading process.cwd() from edge in --safe mode and without it.
need docs