• dan@upvote.au
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 hours ago

    I’m hoping that more DOM and BOM APIs become accessible in WebAssembly without having to go through JavaScript. There’s a few frameworks that let you build web apps in other languages (like Blazor for C#) but they still need some JavaScript to interop with the browser, and going through a translation layer (WASM to JS to browser) adds some overhead.

    Even visual basic for the web would make sense

    This is exactly what I did for a few years before switching to JavaScript: VBScript. It was pretty common back in the early 2000s when Internet Explorer had 90%+ market share. The few remaining Netscape users would just get a page without scripts. There’s a lot of features missing in VBScript that exist in JavaScript though, even basic things like closures and first-class functions.