3 ms·
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 organ
by delian66 3y ago
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.
- agumonkey 3y agoEach line is a different compiler building itself ?
- delian66 3y agoSorry, I do not understand. Each line of what?
- agumonkey 3y agoIn the benchmark listed on their website are they comparing how long it takes for each platform P to compile v sources or P sources ?
- delian66 3y agoIf you mean the table under "For comparison, space and time required to build each compiler", I think, that it is about what each compiler took in time and disk space to compile itself, on the same hardware, so it is about P compiling P sources. V can not compile C or Go, Go can not compile C, and C compilers can not compile V or Go, so it can not be otherwise.