I’ve worked with Wasm for about 6 years now (founded a company around it that got acquired, even)
Even though our product was not a commercial success ~3 yrs ago I still believe something like this should succeed and give people choice when it comes to isolation/virtualization (containers, microVMs, Wasm). They are each useful and appropriate for different things.
I started working on Nasscad back in early March with the assistance of Claude AI, and it led to Nasscad: a lightweight, powerful, and uncompromising CAD tool. I used to be allergic to HTML, Node.js, and the like. But we have to face the reality that the web stack dominates now—bringing along HTML, CSS, JavaScript, Wasm, frontend, and backend.
What approach are you using? Been working on a similar in-browser node runtime based on Rust/WASM kernel + Service-Worker HTTP intercept + CJS→ESM transform.
Feature wise, does this compare to StackBlitz webcontainers?
It raises the interesting question of what is the best isolation for a browser side sandbox.
Running a worker.
Running a worker running a js implementation.
Running a worker running a wasm module running a js implementation (quickjs) running some passed code.
Running a worker running what kyu build runs.
And then of course the possibility of a environment where you pass it an integer n and it geneates n levels of. Nested layers with a randomly chosen implementation at each layer.
Security by obfuscurity, is that a thing?
Might be fun to implent the kyu wasm files as an executable format on my dumb cli idea. https://lerc.neocities.org/
(Kyu seems to fight my autocorrect wanting to turn it into you)
I wouldn't rush and jump straight to it at this point, as mentioned it's early and relatively experimental at this point, but technically, at least for relatively simple function, yes.
- 九州: Largest island mass of southwest Japan comprising 7 states. Currently undergoing a real estate boom (and agricultural worker shortage) because of TMSC opening factories
Great use case for edge functions and plugin systems. How does the startup latency compare to running the same code in a V8 isolate like Cloudflare Workers?
18 comments
[ 2.8 ms ] story [ 46.3 ms ] threadEven though our product was not a commercial success ~3 yrs ago I still believe something like this should succeed and give people choice when it comes to isolation/virtualization (containers, microVMs, Wasm). They are each useful and appropriate for different things.
If someone feels like an eli5 - What are the use-cases for something like this?
What approach are you using? Been working on a similar in-browser node runtime based on Rust/WASM kernel + Service-Worker HTTP intercept + CJS→ESM transform.
Feature wise, does this compare to StackBlitz webcontainers?
Running a worker.
Running a worker running a js implementation.
Running a worker running a wasm module running a js implementation (quickjs) running some passed code.
Running a worker running what kyu build runs.
And then of course the possibility of a environment where you pass it an integer n and it geneates n levels of. Nested layers with a randomly chosen implementation at each layer.
Security by obfuscurity, is that a thing?
Might be fun to implent the kyu wasm files as an executable format on my dumb cli idea. https://lerc.neocities.org/
(Kyu seems to fight my autocorrect wanting to turn it into you)
As a matter of fact, I did it myself in one of my pipelines. Here's the related PR https://github.com/peterpeterparker/blog-to-newsletter-worke...
- 九州: Largest island mass of southwest Japan comprising 7 states. Currently undergoing a real estate boom (and agricultural worker shortage) because of TMSC opening factories
- 吸収: absorb
- 急襲: ambush, surprise|sudden assault