News for hackers. Stuff that matters.
Re:The V Programming Language 0.4 by agumonkey on Monday August 28, 2023 @08:38AM (#37293054)
I stopped looking long ago but to my limited understanding, when V says it does X in 1s, it means they delegated the job to gcc faster than others doing the whole work.

Either that or V author is up for a few ACM turing awards.

Re:The V Programming Language 0.4 by delian66 on Monday August 28, 2023 @10:14AM (#37294322)
The main claim, about V doing something in 1s, is about V compiling itself from source, on a modestly modern machine.

That is mainly because of how it is organized. tcc also compiles itself fast, because of how it works, and how it is organised.

That other compilers, like rustc, gcc or clang can not do it, because they have other priorities/tradeoffs, is their problem.

Re:The V Programming Language 0.4 by agumonkey on Monday August 28, 2023 @12:33PM (#37296734)
Each line is a different compiler building itself ?
Re:The V Programming Language 0.4 by delian66 on Tuesday August 29, 2023 @06:51AM (#37305798)
Sorry, I do not understand.

Each line of what?

Re:The V Programming Language 0.4 by agumonkey on Tuesday August 29, 2023 @12:01PM (#37309879)
In the benchmark listed on their website

are they comparing how long it takes for each platform P to compile v sources or P sources ?

Re:The V Programming Language 0.4 by delian66 on Tuesday August 29, 2023 @12:32PM (#37310336)
[delayed]
Re:The V Programming Language 0.4 by amedvednikov on Monday August 28, 2023 @10:18AM (#37294395)
You'd be surprised how much can be optimized even when using the same C compiler.

No header files hell for example.