3 ms·
coz c++ itself is architecture dependent. and even lots of c++ code are architecture dependent. c++ has much longer history than js or java. It runs on bare me
by midita 10y ago
coz c++ itself is architecture dependent. and even lots of c++ code are architecture dependent.
c++ has much longer history than js or java. It runs on bare metal machine for all kind of purpose. So it is much harder to write universal useful libs.
- djsumdog 10y agoTotally. When you consider linking and binary compatibility, C/C++ does well with the Linux package management world that's grown up around it. Package management is somewhat less useful modern code that tends to self contain things (Java/Groovy/Scala) or where you want to pin dependencies for stability and create unique environments for them (Python's virtual env, Ruby's RVM, or .. and this is kinda a stretch, but Docker containers).
- coldtea 10y ago>coz c++ itself is architecture dependent. and even lots of c++ code are architecture dependent. For one, there are tons of universal useful libs for C/C++. Second, not all architectures matter equally. Beyond amd64 and ARM, few give a damn.