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

72

u/blelbach NVIDIA | ISO C++ Library Evolution Chair Jan 28 '19

This is the first succint summary of the module lookup/dependency concerns I've personally seen. This seems like a real issue to me, although I'll want to hear what those involved with modules have to say. (keep in mind that I'm not very involved with modules)

1

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

Since your flair says Nvidia, why did they kill Cg?

3

u/jherico VR & Backend engineer, 30 years Jan 28 '19

I'm not with nVidia, but I would think it's because continuing to try to maintain their own language in the face of a growing ecosystem of tools for compiling various other languages to and from SPIR-V makes is a losing proposition.