r/cpp • • Jan 28 '19

C++ Modules Might Be Dead-on-Arrival

https://vector-of-bool.github.io/2019/01/27/modules-doa.html
280 Upvotes

240 comments sorted by

View all comments

Show parent comments

25

u/[deleted] Jan 28 '19

most of the work in a modern compiler is code generation

[citation-needed] :)

5

u/Ameisen vemips, avr, rendering, systems Jan 28 '19

Most of the work CL does is sending the code to /u/BillyONeal and /u/STL, and waiting for them to compile it manually. Their response times and determinism are impressive. Not sure what, exactly, internal compiler errors indicate, though - did my code hospitalize them?

Not sure how Clang emulates this.

Citation: me. :)

6

u/STL MSVC STL Dev Jan 29 '19

Sometimes Billy is playing poker while I'm playing Magic. That's where fatal error C1001s come from :-)

-2

u/TheTerroristAlWaleed Jan 29 '19

Speaking of Bills, why does Billy Gates co-own the top floors of the mandalay bay hotel with the Islamic terrorist Al Waleed Bin Talal? The Las Vegas massacre was pretty fatal.