4 ms·
Nice video demo. I spent some time using mocl last June and wrote about the experience (http://markwatson.com/blog/2013-06/interesting-product-mocl.html http:/
by mark_l_watson 13y ago
Nice video demo.
I spent some time using mocl last June and wrote about the experience (http://markwatson.com/blog/2013-06/interesting-product-mocl.html http://markwatson.com/blog/2013-06/interesting-product-mocl....) - very cool tool.
The sweet spot for mocl would be, I think, apps with relatively simple UIs, but with a lot of functionality that you wanted to implement in Common Lisp. My reason for this opinion is that mocl lets you create both Android and iOS (and now, I think, OS X) apps but the UI is specific to each platform. You would get the most benefit if most of the complexity in your project was non-UI code that could be reused across platforms.
- lispm 13y agoYou can write the UI in Java or Objective C. Two languages, tow APIs. You could also write much of the UI in Common Lisp. One language, two APIs. Since you can't reuse much code on the UI side, why not stay in CL as much as possible.
- orthecreedence 13y agoSomething I'm toying with the idea of doing is to write a common interface in HTML5 and having that in a webview, then using an evented architecture to communicate with a common lisp backend. This way your logic is native/portable and your UI is portable (although not as fast as native UI most likely). This saves the pain of having to do some more complicated logic in JS where there's a significant speed penalty (especially in older native browsers) with things like crypto, but still lets you have a common interface/logic. The only thing you'd have to write for each platform is the glue that sends events between the web view and lisp. I guess it'd be a bit like Phonegap on steroids if I can pull it off.
- biscarch 13y agoNice, I used your blog post while I was researching how to get everything up and running in January-ish. The project is definitely exciting and fun to play with. The on-device repl is showcased well in this video.