• nous@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    10 days ago

    Can when the specific situations are reached in very micro benchmark situations. But overall on aggregate you find even JIT languages don’t strictly outperform pre compiled languages for general workflows when looking at languages of a similar class. When you compare them to compiled languages like C/C++/rust/zip (aka ones without a GC or much of a runtime at all) then JIT languages fall behind like all other GCed languages.

    • GetOffMyLan@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      10 days ago

      Most of the time yeah. But it depends as you can write c# with very little GC use if you avoid allocations.

      Ahead of time compiling also gets things much closer. But then you lose runtime optimization.