Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Personally I think they were forced to do it from the games industry, just like it happened with Windows Phone 7, which only allowed pure .NET applications.

However the Android team, which is composed by quite a few ex-Sun Java team members, seems to not share the same love for C++ as Microsoft or the even their own Google clang team do.

While I appreciate the safety we get from Java as the Android main language, Symbian, iOS and WP all managed to have native sandboxes.

> I think it's misrepresentative to try to characterize this as 'just for games'...

I don't think so, because although we are able to use the NDK for coding apps, that is clearly not what the Android team wants to allow us to do, given the list of official APIs, which are all to game development related, even POSIX is only partially supported.

Now in Android N there are changes in place to prevent linking to platform libraries written in C or C++ like libpng and Skia.

It is ironic that we are forced to use JNI to make calls into those platform libraries via their Java bindings.

Also I don't believe that if Jetbrains hadn't decided CLion would be a worthy product, the Android team would have spent any effort to improve the life of NDK developers stranded with their decision to drop Eclipse CDT without any alternative.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: