The Abstract Wikipedia team is working toward a rewrite of our backend services in a different programming language, likely Rust. Node/JS has served us well, but we have run up against some [WebAssembly System Interface] limits that would be best dealt with by switching to a different ecosystem.

  • setVeryLoud(true);@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    3 months ago

    Node.js is really not a bad backend language, since it’s JIT, it’s actually faster than Python and Java in most cases.

    Rust will definitely have the advantage of being a compiled language though.

    Source: I write both Java and TS backend code, have done benchmarks.

    • Aatube@kbin.melroy.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Somehow, it feels horrifying to use something that high-level for the backend, especially when MediaWiki has so much PHP and the WMF has so many PHP programmers. Maybe my adolescent arse is getting old…

    • 4z01235@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      since it’s JIT, it’s actually faster than Python and Java in most cases.

      Java is JIT’d too, and Python can be depending on which runtime you deploy.