4 ms·
Could F# be ported to JVM?
by mycall 7y ago
Could F# be ported to JVM?
- juststeve 7y agoJVM has already got clojure, scala and kotlin.
- pjmlp 7y agoNot until JVM supports value types, low level pointer manipulation and reiffed generics.
- zelly 7y ago2 out of 3 of those are coming in Valhalla. You don't need pointers.
- pjmlp 7y agoIf you want to support F# without performance degradation emulating features, I am not so certain.
- adgasf 7y agoIn addition to that, the .NET runtime supports tail calls but the JVM does not, IIRC.
- pjmlp 7y agoYes, JVM still has it under "some day it would be nice". Actually this is one of the bytecodes that .NET Native doesn't handle, if I am not mistaken.
- phillipcarter 7y agoYes, but it wouldn't be F#. F# is so deeply tied to .NET semantics that you'd have a very different language, even if the syntax looked the same.