alt.hn

2/23/2026 at 5:56:52 PM

Show HN: BVisor – An Embedded Bash Sandbox, 2ms Boot, Written in Zig

https://github.com/butter-dot-dev/bVisor

by edunteman

2/25/2026 at 10:14:26 AM

I see that you did the NAPI bridging yourself - not that there's anything wrong with that but you might be interested in this tiny lib I wrote some time ago https://github.com/cztomsik/napigen

by cztomsik

2/25/2026 at 3:36:27 PM

Your repo was actually a major point of reference! Thank you for open sourcing it. Ironically when I first got into zig I built a similar generator for python bridging which your project reminded me of https://github.com/erik-dunteman/zigpy

Ultimate decision for not using a bindings generator was primarily to deeply understand NAPI.

by edunteman

2/23/2026 at 7:14:38 PM

Have been testing this in dev and really like the performance so far

by JoshPurtell

2/23/2026 at 8:23:21 PM

Hell yeah, love to hear it! Happy to answer any questions or issues you run into

by edunteman

2/23/2026 at 8:37:21 PM

so user gets all of the dependencies and apps in userspace to run as well? but each of the command runs in its own more secure shell of some sorts?

by vrn21

2/23/2026 at 8:45:19 PM

Correct, your PATH resolves to your local tools as if it was unprotected bash, but syscalls are filtered/virtualized

by edunteman

2/24/2026 at 7:43:11 AM

from a utilitarian perspective, can we swap this instead of a e2b or some other provider? since this doesnt require n number of micrvovm kernals and rootfs hanging round?

by vrn21

2/24/2026 at 5:53:42 PM

Exactly, that’d be the intention. For compute-heavy or long running jobs you’d still probably want a dedicated VM like on E2B but for quick stuff, bVisor

by edunteman