Using Clojure for iOS apps

Clojure is a dynamic programming language, specifically a dialect of Lisp, targeted at the Java Virtual Machine. In other words, you have a compiler that outputs java bytecode. No more need to write Java, if you want.

Now, we also have ClosureScript, which is, as you will guess, a compiler from Lisp to JavaScript.

Apart from allowing to build webapps, ClosureScript is very good news for all iOS (and Lisp) lovers, since it opens the possibility of making a JavaScript app for iOS using Lisp as a language.

You will need to compile CoreJavaScript and link your executable to it, first, but that is also feasible as discussed at PhobosLabs.

cocos2d and memory warnings

I have been suffering from sudden crashes in one app I am currently developing for the iPad using cocos2d. To make things worse, those crashes were intermittent, depending on some timing constraints.

iPhone or Android?

I am not really interested in the fight between iPhone’s and Android’s aficionados, I believe that they are two different platforms generating products with different specifications and targets. Anyway, I would like to share the following bit by Nick Farina (via Daring Fireball) on a difference in how iPhone and Android handle animations:

Adding more SDKs to your iPhone simulator

Great tip from here.

Cloud Lock-in