• Victor
    link
    fedilink
    English
    71 month ago

    Can I just say how beautiful that page is? Such a delight to read the text on it. The legibility. The simplicity. 😙👌

  • @vane@lemmy.world
    link
    fedilink
    English
    -21 month ago

    Because corporations doesn’t want web to be open, everyone can javascript, not everyone can read webassembly.

    • Dark Arc
      link
      fedilink
      English
      171 month ago

      The minifiers have long made JavaScript just as indecipherable

      • @vane@lemmy.world
        link
        fedilink
        English
        11 month ago

        You can’t place breakpoints inside wasi binaries. You can place breakpoints inside minified js code.

        • Dark Arc
          link
          fedilink
          English
          21 month ago

          I mean, maybe it’s not easy because they don’t provide debug information, but a sufficiently motivated person can debug a web assembly binary.

  • mesa
    link
    fedilink
    English
    31 month ago

    I thought python has kinda exploded lately…

    • @sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      1
      edit-2
      1 month ago

      I use it at work, and it’s finally getting an optimization pass.

      I wish I did Rust for work, but options are limited and I like my team. So I use it for hobbies until I have a reason to leave.

      • mesa
        link
        fedilink
        English
        2
        edit-2
        1 month ago

        Yeah I’ve been playing around with rust but most at work know py. And to be fair on my it has fantastic libraries.

  • Em Adespoton
    link
    fedilink
    English
    871 month ago

    JavaScript has its place as a lightweight runtime interpreter.

    Rust has its place as a secure and modern way to engineer and produce dependable software.

    • @commander@lemmings.world
      link
      fedilink
      English
      31 month ago

      I agree.

      I’m noticing this species has a problem with doing things the obviously correct way the first time.

      It’s as though we’d rather put 100x more effort for 10% of the results just to prove that we “can” do it.

    • @Bogasse@lemmy.ml
      link
      fedilink
      English
      11 month ago

      Well I see huge benefits in building the tools used by a community with the technology this community masters. IMO the Python’s stdlib sucks because it’s written in C which is a huge barrier to entry.

      • Balder
        link
        fedilink
        English
        21 month ago

        Not all of the stdlib is written in C. Some parts cannot be Python because it’s critical code that needs to be as fast as possible.

        Python is already slow for many use cases, if the standard lib was all built in Python it would be just too slow for much more use cases.

        • @Bogasse@lemmy.ml
          link
          fedilink
          English
          11 month ago

          I didn’t mean it’s a bad choice !

          But I think it’s a good example of the compromise that has to be made here : what’s the best fitting technology vs. how to ensure easy onboarding for future contributors.

    • @Thrashy@lemmy.world
      link
      fedilink
      English
      12
      edit-2
      1 month ago

      Look, I’m in no position to talk seeing as I once wrote a cron job in PHP, but the profusion of JavaScript in the late aughts and early teens for things that weren’t “make my website prettier!” feels very much like a bunch of “webmasters” dealing with the fact that the job market had shifted out from under them while they weren’t looking and rebranding as “developers” whose only tool was Hammer.js, and thinking all their problems could be recontextualized as Nail.js.

  • I Cast Fist
    link
    fedilink
    English
    381 month ago

    Can we please go back to making programs for the target OS and skip the browser dependency?

  • @Venator@lemmy.nz
    link
    fedilink
    English
    11
    edit-2
    1 month ago

    Can browsers run rust in the front end instead of javascript, or is it limited to build time and backend stuff?

    • @sushibowl@feddit.nl
      link
      fedilink
      English
      171 month ago

      Sort of, browsers can run rust code through webassembly. But i dont think this is a full replacement for JavaScript as of yet.

      • @sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        51 month ago

        Yeah, you need to have some JS to manipulate graphics, so the Rust web frameworks have a JS shim to do that and communicate with the WebAssembly Rust code as necessary. It works surprisingly well tho.

        • @sabin@lemmy.world
          link
          fedilink
          English
          21 month ago

          Wasm bindgen is an absolute nightmare of auto-generated function names. From a purely performance/functionality perspective it works but it’s hella ugly. I hope some alternative arrives at some point.