Better HN
topnewbestaskshowjobs
Log inSign up

jaspernorth

2 karma · joined Feb 16, 2023 (3y ago) · 2 submissions

Pushing web tooling forward. AI Tinkerer and enthousiast.
Submissions

comment 3y ago · link · parent

Usually you have a bundler/transpiler running on the host, with sandpack we moved that step to the browser so you can share a link with anyone and they instantly get a development friendly (JSX, TS, ...) project that works without having to install any tooling. It's also a lot faster than something like webpack as most of the bundling complexities are taken away as sandpack transpiles files on demand without the need for bundling as it also controls code execution. With nodebox we pushed this a bit further by also implementing most of the Node.js standard libraries.

comment 3y ago · link · parent

Everything nodebox does is scoped to the current browser window, it has no access to any part of the hostmachine, it's not really a vm but actually a new web worker which runs the Node.js code you request. This is heavily relying on the sandboxing browsers do by default and is therefore really secure.