從 conan.io Twitter 中看到轉傳一篇文章: Why I don’t spend time with Modern C++ anymore ,是 Henrique Bucher 所寫的文章,內容提到:
對於作者提到工業界的需求,在這個觀點上,可能 modern C++ 也許不是那麼重要,但是,在其他的觀點上,比如說,寫像是 Boost library 的觀點上,或許 modern C++ 解決了許多問題?另外, C++ 的資源也相當豐富,像 Awesome Modern C++,是考量的原因之一。
- Why is it a problem really? generates extremely hard-to-optimize graphs that C++ compilers have trouble with.
- Compilation time: It is not rare to see Modern C++ applications taking 10 minutes to compile. With traditional C++, this number is counted in low seconds for a simple change.
- Maintainability: you want simplicity. You need simplicity.
- The Real Reason: But the real motivation why I do not spend much time with Modern C++ anymore, despite being pretty good at it at some point, is just that there is much more being developed in the industry that needs my attention.
- Conclusion: One has to learn C/C++ but cannot find the language in itself be sufficient.
對於作者提到工業界的需求,在這個觀點上,可能 modern C++ 也許不是那麼重要,但是,在其他的觀點上,比如說,寫像是 Boost library 的觀點上,或許 modern C++ 解決了許多問題?另外, C++ 的資源也相當豐富,像 Awesome Modern C++,是考量的原因之一。
留言
張貼留言