News for hackers. Stuff that matters.
Re:C2 Lang design (2014) [pdf] by aidenn0 on Thursday August 06, 2015 @03:02AM (#10014982)
The main site makes it look like the language is about a year old.

I have no doubt that they can make the parsing stage faster, as they won't be parsing the same headers over and over again. This is often a bottleneck in C++, but much less often in C. (I've seen 10+MB C++ files after preprocessing).

Re:C2 Lang design (2014) [pdf] by buserror on Thursday August 06, 2015 @03:38AM (#10015079)
If people used precompiled headers (which have been available for about 20 years) that problem wouldn't be there... However I'm not sure that the parsing is such a bottleneck these days; I think all the complex constructs are a lot more of a time sink (templates etc). That and linking! Takes an hour to link the webkit library with the regular linker :-)
Re:C2 Lang design (2014) [pdf] by aidenn0 on Thursday August 06, 2015 @12:46PM (#10017707)
It's been a while since I tried precompiled headers, but the last time I tried it, the experience was unpleasant and error-prone.