DEV Community

Discussion on: Pitch me on C++

Collapse
 
rfog profile image
rf og

IMHO, that is not completely true, to not to say absolutely not true.

Collapse
 
codewander profile image
codewander

With electron, react-native, react, and node, a js library might have further reach.

Thread Thread
 
rfog profile image
rf og

And what is the relation of that with C++ being "able to write cross platform libraries that you can share almost everywhere...". Each version of each library will need its own different C++ code base, more if they use UI, that is completely different and incompatible between platforms.

Thread Thread
 
codewander profile image
codewander

I just remember that one company that I worked at had an engine that would compute locations for items, and they wanted to share that engine between desktop apps and mobile apps. There was no UI in the engine. So, they ended up implementing it in a subset of c++ to be able to use the same source code for the engine in those disparate locations. I wasn't directly involved.

I was wondering if they would use js today.