Hacker News new | ask | show | jobs
by yoklov 3968 days ago
Looks extremely interesting. I'm skeptical of some of its claims (faster compilation when incremental compilation is removed sounds unlikely, for example), but nothing that worrisome.

Anybody have any experience? Is it still basically a toy language?

1 comments

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).

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 :-)
It's been a while since I tried precompiled headers, but the last time I tried it, the experience was unpleasant and error-prone.