frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Edge.js: Run Node apps inside a WebAssembly sandbox

https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
41•syrusakbary•3h ago

Comments

syrusakbary•1h ago
Hi HN!

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!
larsnystrom•1h ago
Maybe I’m just dense, but it says the fs module is fully supported, so what happens when I try to read a file from disk if the app is fully sandboxed?
syrusakbary•1h ago
Only the current working directory will be exposed/mounted to the runtime (we do this to facilitate the DX when running local files without requiring the user to add extra flags).

As a fun exercise, you can try reading process.cwd() from edge in --safe mode and without it.

jonny_eh•44m ago
> * Runs using WebAssembly when in `--safe` mode

Why is safe mode opt-in?

alex_reg•59m ago
It's a bit confusing.

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...

syrusakbary•50m ago
We are so deep into the weeds that sometimes is hard for us to realize that maybe we are not explaining in the best terms.

What was the most confusing thing in the blogpost? I'd like to polish a bit more to make it clearer! Thanks a lot!

willquack•44m ago
Awesome project!

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!

syrusakbary•24m ago
It’s not a dumb question at all.

And yes, it will allow running Node.js apps fully on the browser, in a way that’s more compatible than any other alternative!

Stay tuned!

moralestapia•10m ago
>in a way that’s more compatible than any other alternative

I can see where that's going.

Awesome. I want to msg. you on LinkedIn but can't.

apignotti•5m ago
Do you have any specific test case that you would consider "very challenging" on the compatibility side? I'd be curious to check if BrowserPod can support that already.
yuri91•23m ago
I work on a project that does exactly that (and more): https://browserpod.io/.

Currently it supports Node, but we plan to add Python, Ruby, git, and more.

You can see it in action in this demo: https://vitedemo.browserpod.io

More info here: https://labs.leaningtech.com/blog/browserpod-10

Ah and kudos to Syrus and his team for this release. Edge.js's architecture seems to have many similarities with BrowserPod. I see it as proof that we are both going in the right direction!

benatkin•4m ago
The graphs that show Node.js compatibility high and above that of Deno and Bun are misleading. Nominally supporting APIs and being proven to run entire Node.js applications and libraries in production are different things. Also, Deno and Bun have been listening to user demand, whereas this is implementing everything regardless of user demand. It's more of a decision than it is a great achievement, like it's framed as.

A Decade of Slug

https://terathon.com/blog/decade-slug.html
199•mwkaufma•2h ago•13 comments

Microsoft's 'unhackable' Xbox One has been hacked by 'Bliss'

https://www.tomshardware.com/video-games/console-gaming/microsofts-unhackable-xbox-one-has-been-h...
399•crtasm•6h ago•162 comments

Python 3.15's JIT is now back on track

https://fidget-spinner.github.io/posts/jit-on-track.html
98•guidoiaquinti•2h ago•20 comments

Get Shit Done: A Meta-Prompting, Context Engineering and Spec-Driven Dev System

https://github.com/gsd-build/get-shit-done
35•stefankuehnel•53m ago•17 comments

Kagi Small Web

https://kagi.com/smallweb/
636•trueduke•11h ago•179 comments

It Took Me 30 Years to Solve This VFX Problem – Green Screen Problem [video]

https://www.youtube.com/watch?v=3Ploi723hg4
65•yincrash•4d ago•20 comments

Toward automated verification of unreviewed AI-generated code

https://peterlavigne.com/writing/verifying-ai-generated-code
61•peterlavigne•1d ago•47 comments

'The Secret Agent': Exploring a Vibrant, yet Violent Brazil (2025)

https://theasc.com/articles/the-secret-agent-cinematography
89•tambourine_man•5h ago•35 comments

Node.js needs a virtual file system

https://blog.platformatic.dev/why-nodejs-needs-a-virtual-file-system
167•voctor•6h ago•149 comments

'It's sweet. It's bitter. It's ours.' The chocolate ritual that binds my family

https://www.csmonitor.com/The-Home-Forum/2026/0212/chocolate-valentines-day-love
8•Tomte•1h ago•0 comments

Edge.js: Run Node apps inside a WebAssembly sandbox

https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
42•syrusakbary•3h ago•12 comments

Java 26 is here

https://hanno.codes/2026/03/17/java-26-is-here/
91•mfiguiere•2h ago•62 comments

Torturing Rustc by Emulating HKTs

https://www.harudagondi.space/blog/torturing-rustc-by-emulating-hkts/
7•g0xA52A2A•3d ago•0 comments

Finding a CPU Design Bug in the Xbox 360 (2018)

https://randomascii.wordpress.com/2018/01/07/finding-a-cpu-design-bug-in-the-xbox-360/
141•mariuz•4d ago•41 comments

Spice Data (YC S19) Is Hiring a Product Specialist

https://www.ycombinator.com/companies/spice-data/jobs/P0e9MKz-product-specialist-new-grad
1•richard_pepper•4h ago

Ryugu asteroid samples contain all DNA and RNA building blocks

https://phys.org/news/2026-03-ryugu-asteroid-samples-dna-rna.html
134•bookofjoe•9h ago•85 comments

OpenSUSE Kalpa

https://kalpadesktop.org/
102•ogogmad•7h ago•67 comments

Show HN: Crust – A CLI framework for TypeScript and Bun

https://github.com/chenxin-yan/crust
46•jellyotsiro•16h ago•19 comments

Meta and TikTok let harmful content rise to drove engagement, say whistleblowers

https://www.bbc.com/news/articles/cqj9kgxqjwjo
50•1vuio0pswjnm7•52m ago•25 comments

The Plumbing of Everyday Magic

https://plumbing-of-everyday-magic.hyperclay.com/
28•hannahilea•4d ago•2 comments

FFmpeg 8.1

https://ffmpeg.org/index.html#pr8.1
290•gyan•6h ago•45 comments

Honda is killing its EVs

https://techcrunch.com/2026/03/14/honda-is-killing-its-evs-and-any-chance-of-competing-in-the-fut...
107•sylvainkalache•2d ago•111 comments

Unsloth Studio

https://unsloth.ai/docs/new/studio
49•brainless•5h ago•3 comments

Reverse-engineering Viktor and making it open source

https://matijacniacki.com/blog/openviktor
133•zggf•13h ago•59 comments

GPT‑5.4 Mini and Nano

https://openai.com/index/introducing-gpt-5-4-mini-and-nano
168•meetpateltech•4h ago•100 comments

Show HN: Antfly: Distributed, Multimodal Search and Memory and Graphs in Go

https://github.com/antflydb/antfly
66•kingcauchy•5h ago•21 comments

Leanstral: Open-source agent for trustworthy coding and formal proof engineering

https://mistral.ai/news/leanstral
728•Poudlardo•1d ago•177 comments

Font Smuggler – Copy hidden brand fonts into Google Docs

https://brianmoore.com/fontsmuggler/
140•lanewinfield•4d ago•69 comments

Show HN: March Madness Bracket Challenge for AI Agents Only

https://www.Bracketmadness.ai
53•bwade818•8h ago•31 comments

Illinois Introducing Operating System Account Age Bill

https://www.ilga.gov/Legislation/BillStatus?DocTypeID=HB&DocNum=5511
187•terminalbraid•3h ago•241 comments