Benad's Web Site

Google recently announced the release of the open-source project J2ObjC, which can translate Java source code to Objective-C for iOS. Interesting, but I wonder how useful it can be if your Java code doesn't have access to the breadth of the Java SDK.

The same can be said of many languages, including Perl, Python and C# (without .NET). Yes, that makes us programmers more integrators of various APIs that actual code writers, but still the higher level you get, the more wasteful it is to "reinvent the wheel" compared to simply reusing some free library.

This was one of Brooks' partly correct predictions in The Mythical Man-Month, which I reviewed in June. He predicted that there would be more and more availability of those 3rd-party libraries that would make software development easier. Where is was greatly wrong is that he predicted that this would lead to a (commercial) market of libraries, compared to the plethora of open-source libraries. Not even libraries whose use are restricted to open-source software (like GPL), but highly permissive licenses like BSD, Apache, MPL and even public domain. In a way, Brooks underestimated developers' ability to simply help each other out, from sharing code snippets on forums to large-scale open-source projects.

Speaking of open-source libraries, I wonder how well Lucene could be ported to Objective-C using J2ObjC...

Published on September 13, 2012 at 21:25 EDT

Older post: Playing with the Stack

Newer post: Sending Documents to the Kindle