Objective C on the Teensy ?

Status
Not open for further replies.

craiglindley

Well-known member
Anyone programming the Teensy using Objective C? I've come to like Objective C after writing a bunch of iPhone apps.
 
I am not sure that can be done as the GCC compiler would need to understand objective C.
However, if you like xCode then you could try embedXcode as a replacement for the Arduino IDE.
 
GCC has had objective C and objective C++ front ends for some time now, though I don't know how well they work. Unfortunately, the arm toolchain in the Teensy release does not include the Objective C compiler.
 
The language syntax is one thing, but Objective C also requires a pretty substantial runtime which probably is not a good fit for Teensy. At any rate, it would have to be ported because as I understand, the existing runtimes all target a POSIX/BSD OS, not bare metal or Arduino. I wonder if it could even be squeezed into T3.1 if someone tried.

For the size of code that will fit on a Teensy, C++ is not bad at all.
 
Status
Not open for further replies.
Back
Top