frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is it feasible to build an ESP32 emulator in JavaScript?

https://github.com/mluis/qemu-esp32
3•dmonterocrespo•1h ago

Comments

dmonterocrespo•1h ago
I’ve been looking into this space recently while exploring ESP32 emulation.

I came across this repo: https://github.com/lcgamboa/qemu/ which is quite interesting, but it’s not really a JavaScript/browser-based simulation. It relies on QEMU and actual hardware emulation rather than running in a JS/WebAssembly environment.

From what I can tell, it handles the Xtensa architecture at a much lower level, which makes sense for accuracy, but also makes it harder to bring into the browser.

It made me wonder whether a higher-level approach (similar to how AVR emulators work in JS) could be viable for ESP32, or if the complexity of peripherals (WiFi, BLE, etc.) makes that impractical.

Curious if anyone has explored alternative approaches here.

Has anyone explored this or knows of existing approaches/tools?

noahnathan25•1h ago
The main issue is that ESP32 uses the Xtensa architecture, which is significantly more complex than something like an ATmega328
michael_pica•1h ago
Is there a reason for Javascript Specifically? My team has recently been using https://renode.io/ for this kind of task and it's working exceptionally well. Though they don't yet support ESP32, depending on your needs/goals working with them to get ESP32 support may be the most effective path.
dmonterocrespo•1h ago
Thanks, I didn’t know about Renode.I’ll definitely take a look.

The reason I’m specifically exploring JavaScript is because of a project I’m working on (velxio.dev), where everything runs in the browser, so having a JS/WASM-based approach would make integration much simpler

Right now I’m experimenting with a QEMU based setup and exposing it through WebSockets, but the performance isn’t great and the emulation tends to be unstable (I’ve been hitting crashes under certain workloads).

That’s partly why I’m looking into alternative approaches , either pushing more into the browser, or finding a more robust backend model.

Appreciate the suggestion!

Elon Musk Launches Terafab: $25B Chip Factory in Austin

https://www.businessworld.in/article/elon-musk-terafab-25-billion-chip-factory-austin-tesla-space...
3•simonebrunozzi•1m ago•0 comments

Rust Project Perspectives on AI

https://nikomatsakis.github.io/rust-project-perspectives-on-ai/feb27-summary.html
1•weinzierl•2m ago•0 comments

How the Iran war has seen the return of Cold War spycraft

https://www.rte.ie/brainstorm/2026/0312/1563034-iran-war-number-stations-cold-war-spying-spycraft/
1•austinallegro•6m ago•0 comments

Bootstrap-Consistency Regularization (BCR)

https://github.com/finite-sample/bcr
2•neehao•7m ago•0 comments

Test cases took my AI router from 82% to 98% accuracy

https://github.com/copycat-main/browser-assistant/tree/main/evals
1•a8hi•8m ago•1 comments

They're Vibe-Coding Spam Now

https://tedium.co/2026/02/25/vibe-coded-email-spam/
2•raybb•9m ago•0 comments

The Necessity of Being | An essay beyond the simulation.

https://simontlbt.substack.com/p/the-necessity-of-being
1•simontlbt•13m ago•0 comments

The First Time I Saw a Calculator: On Modernity and Newness

https://peterhimmelman.substack.com/p/the-first-time-i-saw-a-calculator
1•myth_drannon•14m ago•0 comments

The Diminished Art of Coding

https://nolanlawson.com/2026/03/22/the-diminished-art-of-coding/
1•MindGods•15m ago•0 comments

AI DevOps Actions: 9 GitHub Actions for CI/CD in AI-Native Repos

https://github.com/ollieb89/ai-devops-actions
1•trivexiai•15m ago•0 comments

WTDW Your Innovation Fails?

https://www.brettmacfarlane.com/blog/2026/failure
1•mooreds•20m ago•0 comments

Iran war energy crisis is a renewable energy wake-up call

https://apnews.com/article/middle-east-wars-renewable-energy-asia-4b5fe0693ce5816472c905db85f7da6e
5•mooreds•20m ago•0 comments

The Tale of My Retrocomputing Infrastructure

https://plbrault.com/blog-posts/the-tale-of-my-retrocomputing-infrastructure/
1•drfreckles•20m ago•0 comments

Show HN: Kitty.cards – Create Apple Wallet cards online (no login)

https://kitty.cards/
1•xenodium•27m ago•0 comments

O2Fail – What You Need to Know About Mobile Phone Content Control (2010)

https://shkspr.mobi/blog/2011/03/o2fail-what-you-need-to-know-about-mobile-phone-content-control/
1•worldofmatthew•27m ago•0 comments

Kash Patel's Nike Shoes Weren't Customized by Nike

https://www.yellopolitics.com/p/kash-patels-garish-custom-shoes-werent
2•spacebarshift•29m ago•0 comments

Fun crafts done by AI agents – humans subscribe to read

https://crafthunt.ai/
1•forest0xia•32m ago•2 comments

FAA Ends Use of 'See and Avoid' for Helicopters Near Busy Airports

https://www.nytimes.com/2026/03/18/us/politics/faa-visual-separation-policy.html
2•bookofjoe•34m ago•1 comments

Talking with Robin Brooks

https://paulkrugman.substack.com/p/talking-with-robin-brooks
1•paulpauper•35m ago•0 comments

GitHub – DrBradStanfield/Roadmap

https://github.com/DrBradStanfield/roadmap
1•evo_9•39m ago•0 comments

Build knowledge agents without embeddings

https://vercel.com/blog/build-knowledge-agents-without-embeddings
1•ahamez•40m ago•1 comments

AI's impact on private equity – based on AI deep research

https://ai-transformation.fyi/
1•Dagulf795•40m ago•1 comments

Show HN: Playra

https://playra-app.vercel.app/
1•Allenboyy•43m ago•0 comments

ClawMem

https://github.com/yoloshii/ClawMem
1•flippyhead•44m ago•0 comments

Alpha release: HunterPrey, a persistent SSH PvP world

https://hunterprey.com/
1•kicksent•45m ago•0 comments

Show HN: Association rule mining on 21.6M poker hands

https://pattern.poker
1•et9797•47m ago•0 comments

The Environment Will Be Saved If We Just Avoid Doing Icky Things (2024)

https://branchfree.org/2024/11/25/the-environment-will-be-saved-if-we-just-avoid-doing-icky-things/
2•usdogu•48m ago•0 comments

When the sun sets, batteries rise: 24/7 solar in California

https://pv-magazine-usa.com/2026/02/17/when-the-sun-sets-batteries-rise-24-7-solar-in-california/
2•toomuchtodo•49m ago•0 comments

Show HN: Three deployable open source platforms from a solo builder

1•BrainDAnderson•50m ago•0 comments

New OllamaMQ Version v0.2.5

https://github.com/Chleba/ollamaMQ
1•chleba•52m ago•0 comments