3 ms·
If something absolutely necessitates using C++, why not use C++? (I'm genuinely asking.)
by retroencabulato 12y ago
If something absolutely necessitates using C++, why not use C++? (I'm genuinely asking.)
- mkesper 12y agoBecause BUGS. http://doc.rust-lang.org/nightly/intro.html#safety-%3Cem%3Eand%3C/em%3E-speed http://doc.rust-lang.org/nightly/intro.html#safety-%3Cem%3Ea...
- shurcooL 12y agoBecause writing and compiling code/projects in it is very painful. Header files, custom makefiles, etc.
- frankzinger 12y agoPardon me, but 'custom makefiles' have absolutely nothing to do with C++. There are IDEs with C++ support. Also, while working with headerless languages may be easier, calling working with headers 'very painful' is hyperbole.
- Tyr42 12y agoIrregardless of IDEs, I'd still need to learn how to use cmake and other systems to build and use libraries. It's a large pain compared to `pip install ...`.
- frankzinger 12y ago...need to learn how to use cmake and other systems to build and use libraries. On OSes for which this is true you'd be forced to compile python yourself as well, because it's also just a dependency (of pip, for one!) written in a compiled language. Edit: My point is: usually it's as easy as 'yum install', but on the rare occasion you will need to compile, I admit. However, that could happen with pip too; don't tell me its repos are always completely up to date. And in those cases it won't be quite as simple as 'pip install'.
- shurcooL 12y agoI was referring to "development using C++", which encompasses the language, compilers, build tools, code editors, ecosystem, basically everything that is involved when you're doing work and distributing result binaries. There are IDEs that have their proprietary project formats that are incompatible. Having header files makes refactoring by hand much more difficult than necessary, yet refactoring tools for C++ are mostly not possible. Finally, https://gist.github.com/shurcooL/86949a392dcdac1f94cf https://gist.github.com/shurcooL/86949a392dcdac1f94cf.