The Road to the WASM Component Model 1.0

(bytecodealliance.org)

39 points | by emschwartz 3 days ago ago

11 comments

  • simonw 2 hours ago

    I'm unreasonably excited about WASI. WASI is the thing which takes WebAssembly from a tool for running stuff in a browser to a tool that can run entire portable sandboxed applications on a computer - with controlled filesystem and network access.

    I don't ever want to run untrusted code from the internet outside of a sandbox ever again. If WASI lives up to its full potential I won't have to - we'll have a robust, cross-platform sandboxing solution for running real applications.

    • Panzerschrek 7 minutes ago

      > I don't ever want to run untrusted code from the internet outside of a sandbox ever again

      WASM is great, but I think it's a wrong approach for sandboxing problem. It's technically possible to sandbox native applications (compiled into target machine code) using OS-builtin mechanisms, but it's not done for compatibility reasons, because this is the way things were done last 50 years or so.

  • thefounder an hour ago

    It’s great we are past the “wasm is not replacing JavaScript” phase. Or “you don’t need DOM for wasm . That’s what JavaScript is for”

  • fyrn_ an hour ago

    Please please please bring it to the browser. I'm so done with the terrible ergonomics of everything at the was bounary having to pretend it's JavaScript

    • enos_feedler 39 minutes ago

      It works in the browser already: https://github.com/bytecodealliance/jco

      • jauntywundrkind 18 minutes ago

        It works in the browser already, by bundling another browser runtime engine into wasm. You need a whole fork of Mozilla's SpiderMonkey engine, compiled to wasm, running in whatever browser you have, to run wasm components today.

        I confess I was quite frustrated at first when browsers all said no to wasi / wasm components. But honestly, it was the right call. It's taken so long to make wasm components happen, to get them far enough along to start really consider implementing. I can accept that as just the reality of what it takes for a small team to do such amazing work. I am so thankful for the folks who have kept this going, kept advancing.

        But it's time now. I hope browsers can help get us set up for 1.0, and I hope they're moving quickly towards being ready to implement!

  • shevy-java an hour ago

    WASM first appeared in 2017.

    It still hasn't really reached a breakthrough.

    Billions use HTML+CSS+JavaScript. Who really uses WASM? There are of course users, but very, very few in absolute numbers. Many projects are not web-based really. For Autodesk Fusion, as one example for many, I have some mega-slow application that takes forever to work with in some cases on my laptop (it is not the fastest laptop, but I recently tested this on a faster desktop computer with 32GB RAM and it is still slow to no ends; using it all WASM based would be even slower I bet. That's not winning anyone over ...).

    • simonw 15 minutes ago

      According to https://chromestatus.com/metrics/feature/timeline/popularity... WebAssembly runs on about 6.11% of Chrome page loads, up from 3.37% in January 2024.

    • h4ch1 43 minutes ago

      I wrote an Unreal file parser in C# and use it in our in-house web based DAM. It was much more ergonomic and performant than writing it in Javascript.

    • esafak an hour ago

      WASM made Figma.

    • aatd86 an hour ago

      WASM is super useful for FFI in some env