Let’s reinvent java bytecode but… different

  • onlinepersona@programming.devOP
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    No hate, just a stupid meme. WASM has the possibility of replacing JS in the browser, however it had to reinvent the JVM 🤷 As long as it gets rid of the JS dominance in browsers, I’m all for it.

    Anti Commercial AI thingy

    CC BY-NC-SA 4.0

    • reflectedodds@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      8 months ago

      It probably won’t get rid of js’s dominance, but it’ll give people options. I already see some front end python and rust frameworks thanks to wasm. But for some reason I really don’t like the idea of writing html / css in my rust. But I don’t like the idea of html / css in my rust.

      • onlinepersona@programming.devOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        I really don’t like the idea of writing html / css in my rust

        Yeah, I’m not sure if there are very good alternatives to that. Everything I’ve seen tends to go in that direction: markup language + stylesheet language. But HTML and CSS for sure aren’t the best.

        There’s HAML and Pug, which I did enjoy writing much more than HTML.

        Anti Commercial AI thingy

        CC BY-NC-SA 4.0

        • reflectedodds@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          8 months ago

          I like flutter’s design where you do your markup and styling as code, and then it gets rendered via opengl. So you get that native performance without having to deal with the whole browser stack.

          I don’t like how almost all software these days is just web apps masquerading as native apps, but they’re just so damn easy to write compared to anything else.

          • onlinepersona@programming.devOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            I don’t like how almost all software these days is just web apps masquerading as native apps, but they’re just so damn easy to write compared to anything else.

            Yeah, we definitely need better UI frameworks with a clean and easy approach. So far, I’ve been enjoying Slint, but that’s also because I refuse to touch HTML/CSS/JS.

            Anti Commercial AI thingy

            CC BY-NC-SA 4.0