Someone should invent a mobile platform where you can just write apps in natively compiled C/C++/ObjC.
You know, kind of like the old Palm, WebOS, or iPhone platforms.
You know, kind of like the old Palm, WebOS, or iPhone platforms.
You could of course have an Android runtime on the Librem...
I know the comment put Objective-C right next to C and C++, but it doesn't belong there. All platforms should have (at least) C interfaces, not requiring C++ or even Objective-C.
The point is that it shouldn't be a pain to use these interfaces from C, concepts from ObjC/Java/C++ shouldn't leak into them.
That's why C interfaces are the reasonable choice, you can interface with them conveniently from pretty much any language and if you want a more idiomatic "pointless layer of indirection", you can build it.