4 ms·
Most performant CL implementations require the ability compile to executable code at run-time. iOS disallows executing from the heap for security purposes, so
by aidenn0 9y ago
Most performant CL implementations require the ability compile to executable code at run-time. iOS disallows executing from the heap for security purposes, so porting those implementations is a non-starter.
Others have said this already, but mocl is a (large) subset of common lisp that requires all code for which performance matters to be AOT compiled. It's better than nothing, but it lacks the level of dynamicism that lispers have come to expect.
- jolux 9y agoI don't know much about Common Lisp, all I know is that some people still think Apple only allows apps written in directly supported languages, which hasn't been the policy in years.
- rvense 9y agoThat's not the issue here. They're talking about running the compiler itself on the device. Apple won't let you do that.
- lispm 9y ago> Most performant CL implementations require the ability compile to executable code at run-time. Not really. Most performant CL implementations make sure that at runtime nothing needs an actual compiler, unless the application actually needs it. For example the LispWorks on iOS implementation supports the whole Common Lisp, minus the runtime compiler. It's still possible to use the interpreter, though - AFAIK.
- aidenn0 9y agoLW has always been better at AOTing everything than cmucl derivatives. CCL is somewhat in the middle of the two. That being said, how did I miss LW introducing a version that supports iOS? That's huge!
- lispm 9y ago> LW introducing a version that supports iOS? That's huge! That's a delivery compiler with a relatively complete LispWorks runtime, minus the runtime compiler. It's a bit expensive. It lacks any GUI and is supposed to be used inside an Xcode iOS application. There is also one for Android... They are working on the 64bit ARM version. The 32bit ARM version is out for some time. LispWorks for Mobile: http://www.lispworks.com/products/lw4mr.html http://www.lispworks.com/products/lw4mr.html
- aidenn0 9y agoOuch! $1k per annum is more than I can justify for hobby programming. If I were actually making money in the mobile space it would be tempting though.