6 ms·
Because C++ is one of the most complex languages in the world, hence a pain to interop with. C FFIs, on the other hand, are ubiquitous.
by LessDmesg 7y ago
Because C++ is one of the most complex languages in the world, hence a pain to interop with. C FFIs, on the other hand, are ubiquitous.
- izacus 7y agoThe idea (and one that worked well in several projects I've worked on) is that you use C++ as main language of the library and make outside bindings C. It does require some discipline, but C++ has many portable constructs that make life significantly easier when writing business logic.