News for hackers. Stuff that matters.
Re:Kotlin is the hero Android needs by pjmlp on Friday May 19, 2017 @07:39AM (#14374620)
What?!

C++ might be a 2nd class citizen in SDK tooling, but it is supported since Android 1.5 and C++14 is fully supported.

How is that very recent?

EDIT: The NDK was actually released with v1.5 (2009), the v2.3 was when STL and exceptions support were added hence my error.

Re:Kotlin is the hero Android needs by _pmf_ on Friday May 19, 2017 @08:04AM (#14374774)
Maybe the OP meant using C++ without at least a Application dispatcher/container object written in Java. This has only been possible with the introduction of NativeActivity (which you don't need to derive from, but only refer to via the Manifest).
Re:Kotlin is the hero Android needs by pjmlp on Friday May 19, 2017 @08:07AM (#14374798)
The NativeActivity class was introduced in Android 2.3, released in December 2010, almost 7 years ago!
Re:Kotlin is the hero Android needs by krona on Friday May 19, 2017 @08:59AM (#14375125)
Historically the Android platform provided only a very minimal C++ runtime support library, with no RTTI or C++ exceptions.
Re:Kotlin is the hero Android needs by pjmlp on Friday May 19, 2017 @09:04AM (#14375173)
STL and exceptions are available since Android NDK Revision 5, released in December 2010, alongside Android 2.3.

https://developer.android.com/ndk/downloads/revision_history...

How can it be historically, when the features are available since almost 7 years?

Re:Kotlin is the hero Android needs by krona on Friday May 19, 2017 @09:47AM (#14375549)
Um, but the STLport in r5 wasn't compatible with exceptions or RTTI. It says so in CPLUSPLUS-SUPPORT.html
Re:Kotlin is the hero Android needs by pjmlp on Friday May 19, 2017 @09:49AM (#14375576)
There were other ones to choose from.