3 ms·
Yes, but Linux (hence Android) doesn't have that problem, because its interface is system call not libc.
by sanxiyn 2y ago
Yes, but Linux (hence Android) doesn't have that problem, because its interface is system call not libc.
- tiffanyh 2y agoBut don't syscalls require C/C++ data structures & type definitions. So while not technically "requiring" C/C++, if your language cannot map exactly to C/C++ data structs & type definitions - it won't work.
- nineteen999 2y agoYes.That's a problem for the contenders, Linux/UNIX kernel are written in C. Unless we want to add language-specific syscall interfaces for every compiled language out there. Alternative is to, y'know, write a kernel in your language of choice and choose your own syscall specification suiting that language, and gain mass adoption. Easy!
- saagarjha 2y agoThe practical interface for Android is Binder, which has an interface that can be made amendable to a richer language.