Hacker News new | ask | show | jobs
by gpm 2612 days ago
I think it has less to do with OS then you think. It has more to do with compilers/programming languages.

On Windows and Android if I'm interfacing to a Rust/Python/Java (on Windows)/C++ (on Android) library I still do it by going through C.

1 comments

On Android you can do it via the NDK sure, but then again 90% of the OS is exposed via Java APIs, even a basic thing like opening a file requires Java, if you want to do it in a portable, certified Play Store way.

And on Windows, .NET MSIL or COM are much better ways to expose libraries.

Naturally one can still do it in an old fashion way.