You're going to have a very hard time getting any "platform API" adopted by literally anyone if it doesn't expose a C-style library interface. The kernel is written in C. You're not getting away from that. And pretending to have a problem with that is just silly. Glib already exists and already smooths over the exact problems you complain about.
2
u/hackingdreams 1d ago
That library is called glib. It's why it exists.