Re:Java Was Strongly Influenced by Objective-C
by gilgoomesh on Wednesday December 26, 2012 @08:19PM
(#4971842)
Which is why Objective-C++ is so much fun to have available in your Mac/iOS programming toolbelt: it's the best and worst of two completely different C-derived object-oriented language lineages in one schizophrenic package.
[ Parent
| on HN ]
Re:Java Was Strongly Influenced by Objective-C
by cageface on Wednesday December 26, 2012 @09:57PM
(#4972132)
It's a terrible Frankenstein monster but it can be pretty useful. My most popular iOS app is a synthesizer with a UI in Obj-C and a DSP core in pure C++. Interfacing the two is pretty trivial thanks to Obj-C++.
I've been considering a port to Android but all the JNI boilerplate I'd have to write is putting me off.
Re:Java Was Strongly Influenced by Objective-C
by asveikau on Thursday December 27, 2012 @02:13AM
(#4972680)
I'll agree that JNI is inelegant, but having recently written a small amount of JNI glue with the NDK for a hobby/side project, I have to say, once you get going it won't be a big deal. If that's really the only barrier to an Android port, I say bite the bullet, sit down and do it.
Re:Java Was Strongly Influenced by Objective-C
by cageface on Thursday December 27, 2012 @01:10PM
(#4974326)
I need to do it anyway. I'm taking on more and more Android work and I know sooner or later I'm going to have to dig into the native layer. Thanks for the words of encouragement.
Re:Java Was Strongly Influenced by Objective-C
by scrumper on Thursday December 27, 2012 @10:01AM
(#4973491)
So's mine (and we both have Futura-heavy UI's. :]) I looked into an Android port and walked away very quickly: there's no Core Audio, not even a HAL. Most devices have unusably high audio latency, too. It's a nightmare.
Re:Java Was Strongly Influenced by Objective-C
by cageface on Thursday December 27, 2012 @01:08PM
(#4974316)
It's unfortunate really. Philosophically I'm much more aligned with Android and overall I prefer the Android API but music apps are my passion and Android is so far behind there it's not even funny.
Cool synth, by the way. I'd like to see more of these kinds of experimental instruments on the iPad.
Re:Java Was Strongly Influenced by Objective-C
by scrumper on Friday December 28, 2012 @11:33AM
(#4978241)
Thanks, likewise. Been meaning to try out some grain stuff, now I have an excuse.
Re:Java Was Strongly Influenced by Objective-C
by cageface on Friday December 28, 2012 @08:56PM
(#4980681)
Actually the app name is kind of misnomer. It started out as a grain synth but wound up as a straight subtractive but I was kind of committed to the name already. I should probably change the name actually.
Re:Java Was Strongly Influenced by Objective-C
by Moto7451 on Wednesday December 26, 2012 @08:54PM
(#4971942)
My personal best/favorite use of Objective C++ was using it for code reuse between an iOS app and a WPF Windows desktop app. I was building a horribly boring CRUD app that used google Maps (basically a work order management program) and doing something a little outside of the normal helped make the project fun.