iberator 3 days ago

Why? I bet you never even wrote custom VM for your lang/architecture.

There are like dozen of implementations for JVM alone: sun, Oracle, gnu, IBM etc etc

  • ActorNightly 3 days ago

    Because the idea of classes is baked into JVM. So when writing inline code, with groovy, scala, kotlin, whatever else, the compiler has to basically insert fake classes into the jvm.

    This may seem trivial, but because its fundamentally "hacky" its not something that is ever going to be as easy to work with and expand.

    • neko-kai 3 days ago

      This is nonsense. And, not that there's anything wrong with classes, but compilers no longer need to 'insert fake classes' for anonymous functions since Java 8.

      • ActorNightly 3 days ago

        Pretty sure everything in the jvm has to be tied to a class structure by definition.

bachmeier 3 days ago

There's also scala.js and Scala Native, even if the JVM is the primary platform.