#2244 LuaJIT / LLVM / Erlang Backend ?

crudbug Wed 26 Feb 2014

I like the clean syntax of Fantom, and IMHO it is one of the best alternatives on JVM. How about the LuaJIT / LLVM backend for it ? This can enable a Haxe kind of ecosystem around Fantom.

SlimerDude Wed 26 Feb 2014

There's a very old topic - Adding the LLVM compilation target - that talks about porting Fantom to LLVM. At the time moOm started something at fan-llvm.

I know LightDye is keen to get Fantom on mobile devices and pointed out this article - Open source Java iOS tools compared - that talks about putting a JVM on iOS.

In general, KevinKelly makes a good point in the topic Fan over LLVM question that we shouldn't try to port the Fantom VM onto different devices (cos well probably just do it badly!). Instead, we should look at utilising some of the current JVM ports such as Avian, which ttmrichter recently trailed - see Fantom on Avian?.

I guess KevinKellys thinking is, as Fantom runs on Java, Fantom should run on any platform / device that runs Java! As Java itself is (quite!) popular there are many efforts to get Java to run on many platforms. So surely the path of least resistance is to utilise these projects...?

Login or Signup to reply.