5 ms·
"There are talks from Google who invested heavily into modules using clang and got gains, but as far as I understand they fixed those issues only for themselves
by jimbokun 10y ago
"There are talks from Google who invested heavily into modules using clang and got gains, but as far as I understand they fixed those issues only for themselves"
I thought Google fixed the C++ compile time problem by inventing Go?
- krona 10y agoInventing a new programming language is hardly sufficient if your existing codebase is 10M lines of c++ :).
- deleted 10y ago[deleted]
- haberman 10y agoIf we're talking about Google, I think the number is at least one order of magnitude larger. A year ago Google estimated it at 2 billion lines, though that appears to include all languages (not just C++): https://www.wired.com/2015/09/google-2-billion-lines-codeand-one-place/ https://www.wired.com/2015/09/google-2-billion-lines-codeand...
- lmm 10y agoIf the new language has good interop with C++ then it can be.
- vvanders 10y agoLast I looked at Go is was missing pinning and few other things that are necessary for interacting with native code.
- usefulcat 10y agoIt doesn't help at all as soon as you need to do anything that requires compiling those 10M lines of legacy code (think bug fixes, for example).
- ori_b 10y agoGood interop with C++ means parsing and instantiating templates. This means you have a C++ compiler.
- user5994461 10y agoNo language has good interop with C++.
- OlaOst 10y agoThe D language, while not 100% C++ compatible, takes a pragmatic approach to C++ interop (https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html)
- the_why_of_y 10y agoNot even C++ has good interop with C++, given how underspecified it is. Is that library built with MinGW or with Visual Studio?
- agentgt 10y agoNo they invented their own build system and tools (Bazel). Although some of the tools are open source the true distributed compile scaling stuff I think is still not.
- paulddraper 10y agoNo, they invented Blaze (general purpose caching build tool, open-sourced as Bazel). Go is hardly a replacement for C++. Garbage collection, no templates, no const, etc.