you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 3 years ago (3 children)

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++?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 8 points 3 years ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    I mean, I agree with them on that. It’s very dev friendly. You definitely shouldn’t be building large scale apps in it, but it’s more readable than almost every single language out there. But rewriting a whole app in a new language instead of just using the tools available to get the best of both worlds is just a bad idea.

  • source
  • parent
  • [–] 2 points 3 years ago (1 child)

    I've never tried Graal. Is it easy to use? Like, is it a dropin replacement for javac or what?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 years 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.

  • source
  • parent
  • [–] 0 points 3 years ago (1 child)

    And this is how people build the largest (in terms of the actual size of the binary on the disk) command line utilities in history.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 years 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.

  • source
  • parent