Replies: 5 comments 5 replies
-
I was going to ask the something. |
Beta Was this translation helpful? Give feedback.
-
This looks promising |
Beta Was this translation helpful? Give feedback.
-
I've been Playing with PWA with Service Worker talking to a local Deno RPC service. The Wasm Container concept would be very Powerful. |
Beta Was this translation helpful? Give feedback.
-
Hi! I think this has enormous potential and would love to know more about any efforts in this space. :) |
Beta Was this translation helpful? Give feedback.
-
With the traditional Recently the situation has changed to the better, because WASI preview2 and WASM component model open new possibilities and much better cross language compatibility and link support. But that's all in a very early stage. Important features (for example Here is a nice article about this new kind of rust WASM tools: https://benw.is/posts/compiling-rust-to-wasi. I wouldn't be too optimistic, that a huge project like Nevertheless, development tools, which are able to run in the browser or as platform-agnostic binary in various sandboxed environments (CI pipelines, etc.) are indeed very interesting. Especially for scientific notebook solutions and similar applications it makes a significant difference, if you don't have to trust external service provider, but also do not have to install any complicated local server setups to use this kind of research and demonstration software. jupyterLite has already solved this challenge. It's IMHO a very impressive step forward. |
Beta Was this translation helpful? Give feedback.
-
The Stackblitz editor introduced this year in beta its "Web Container" component, which is a closed source wasm component emulating node.js directly within the browser sandbox.
It is quite impressive and allows to run node.js applications such as servers directly within the browser, with numerous benefits in terms of speed and safety compared to a traditional local node.js application. It relies on
service worker
for all the node.js server parts.As Deno is built in Rust which is a language that can be compiled into wasm and as it closely follows browser implementations, how feasible would it be to run Deno as a wasm component into the browser ?
Native sockets are on the roadmap in chromium too, so it seems that browsers begin to have all the building blocks of a secure and immediatly available "WebOS" for many types of applications.
A Deno Web WASM Component would allow to have offline-first Deno applications directly into the browser with a nodejs compatibility layer too.
Beta Was this translation helpful? Give feedback.
All reactions