News for hackers. Stuff that matters.
Re:Apple's Module proposal to replace headers for C-based la... by pjmlp on Tuesday November 27, 2012 @04:18AM (#4836351)
> Definitely seems like Go has led the way here. Not that there wasn't a lot of pain before, but Go's lightning compilation seems to be an impetus for the "let's finally do this" change.

Except that this is pure marketing. Languages with modules were already compiling as fast as Go does, back in the 80's.

Modula-2, Turbo Pascal, just to name two of many.

Re:Apple's Module proposal to replace headers for C-based la... by wladimir on Wednesday November 28, 2012 @05:20AM (#4841824)
Yes, the idea of using modules is nothing new. It's old-school and well-proven. Many people have argued about adding pascal-like module support to C at some point or another at the coffee machine. But having enough (political) momentum to actually change C(++), and overcome extreme inertia and calcification is new. LLVM is the greatest thing to happen to compilers in a long time, it really opened up compiler development like GCC somehow never did (see http://www.drdobbs.com/architecture-and-design/the-design-of... for a likely explanation). And having a giant like Apple behind it helps, of course.
Re:Apple's Module proposal to replace headers for C-based la... by pjmlp on Wednesday November 28, 2012 @05:26AM (#4841835)
Oh yes, I am all for having modules in C and C++.

I was just calling the attention that some Go devotees seem to think their compile times are something new.