3 ms·
Simon Ochsenreither has been investing a fair amount of resources into Avian[1], an alternative JVM with support for tailcalls and various other useful toys. I
by octo_t 13y ago
Simon Ochsenreither has been investing a fair amount of resources into Avian[1], an alternative JVM with support for tailcalls and various other useful toys.
I think this is possibly where languages like Scala may lead, potentially forking a JVM and refitting it to their own needs.
[1] - https://github.com/ReadyTalk/avian/ https://github.com/ReadyTalk/avian/
- akurilin 13y agoInteresting, it'd be good to have community-drive alternative to the JVM, like some kind of a Postgres of VMs. Also tail calls are what people complain about with Clojure on the JVM, so this would address that problem.
- octo_t 13y agoWhen I'm done with my current project, my plan is to make the heap 64-bit on 64-bit machines (which was currently an issue last I checked).
- twic 13y agoBy "to the JVM", you mean "to the Oracle JDK". The implication that the Oracle JDK is the JVM equivalent of Oracle/DB2 is rather unfair. The Oracle JDK is really OpenJDK, which is, as the name suggests, open source. It is true that there is one behemoth corporation behind OpenJDK, but that still makes it the equivalent of Chrome or Eclipse, not Oracle or DB2.
- twic 13y agoAvian is a very impressive piece of work. I'm not sure i'll ever switch to it, but hopefully, its very existence will drive the OpenJDK to improve itself to compete (eg adding tail call optimisation). A bit like how Scala forced Java's hand in adding lambdas.