> Do you really think you're going to be calling a C++ function through an FFI in 100 years?
I think I will be dead in 100 years.
> I'm not sure if there is any good way to solve this dilemma
The only solution is to write libraries. Take some problem you think is generic enough for a library and write code to solve it. I've already written in Arc a library to download files through HTTP and a simple XML parser. They're not complete, but they're something. Talking about libraries' shortage won't solve the problem. We have to write code.