4 ms·
The advantage is that you can access C++ code from just about every language. Therefore, you can use the same framework to write PHP, Python, Java, or .Net cod
by j_baker 17y ago
The advantage is that you can access C++ code from just about every language. Therefore, you can use the same framework to write PHP, Python, Java, or .Net code.
- ilyak 17y agoNo you can't. You can access C code from just about every language; but you need to put hundreds of man-hours into bindings before you can access actual C++ classes; and you just can't use templates and stuff.
- yangyang 17y agoWell there are things like SWIG and Boost Python that can make your life considerably easier. But you are right, it's much more work than C.
- j_baker 17y agoThen again it's also more trouble to write code in C than it is in C++.
- iterationx 17y agoSWIG is a hassle.