• snowe@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Why in the world would you rewrite it when you could take an hour and get it compiling with graalvm and it would be just as fast as c++?

    • Xgamer4@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Tbf he’s also suggesting that Ruby is the most dev friendly language he could use, so I’m already a bit skeptical lol

      • snowe@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It’s pretty easy to use. If you are using a lot of reflection you might have trouble, but if you’re using a standard large framework like spring, quarkus, or micronaut you’ll be fine. Quarkus makes it dead simple honestly. We deploy all of our Kotlin lambdas on AWS using Graal. It’s faster than node and much easier to write safe code.

      • snowe@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I don’t know why you would think that. GraalVM can compile tiny tiny packages, and you can easily remove features from the JVM if you don’t need them. It’s a terrible myth that JVM means massive binaries.