News for hackers. Stuff that matters.
Re:Why did we wait so long for the bicycle? by indenturedsmile on Monday July 15, 2019 @07:44PM (#20446326)
I don't have a source, and maybe I'm misremembering, but I think compilers (for software) and CPU production tooling (for hardware) both bootstrap off their own performance.

A better compiler can compile itself more efficiently, same for CPU/chip layout systems.

Re:Why did we wait so long for the bicycle? by erklik on Monday July 15, 2019 @11:44PM (#20447308)
> compilers

Absolutely. Otherwise, all compilers would be written in Assmebly. Most compilers used today are written in C and the compiler for C (GCC) is written in C itself.

The C language was also written by Ken Thomson, because he was unhappy with the BCPL language, so the compiler for C was originally written in B. So on and So forth.

More Recently, the initial compiler for Rust was written in OCaml but is now written in Rust itself.

Re:Why did we wait so long for the bicycle? by umanwizard on Tuesday July 16, 2019 @06:38AM (#20448894)
Slight nit: GCC has been written in C++ (not C) for several years now.
Re:Why did we wait so long for the bicycle? by richev on Monday July 15, 2019 @07:57PM (#20446394)
The original version of the C# compiler was written in C and C++, but today's version is indeed itself written in C#!

https://stackoverflow.com/questions/27513234/in-which-langua...

Re:Why did we wait so long for the bicycle? by hermitdev on Tuesday July 16, 2019 @12:11AM (#20447400)
Often, the first bootstrapped is the bare minimum to get basic functionality available, to then build upon what features you can support.

Its been a while, and I think it was gcc 7.x timeframe, and IIRC, you had to have at a min, gcc 4.x available to bootstrap, and it took something like 3 separate bootstrap iterations to get the final compilers was like 4-6 hours if memory serves.

Re:Why did we wait so long for the bicycle? by tomstuart on Monday July 15, 2019 @07:49PM (#20446354)
You’re exactly right about this. Of course compilers which compile themselves come with their own risks! https://dl.acm.org/citation.cfm?id=358210
Re:Why did we wait so long for the bicycle? by dllthomas on Tuesday July 16, 2019 @09:25AM (#20449779)
Risks which can be ameliorated: https://dwheeler.com/trusting-trust
Re:Why did we wait so long for the bicycle? by Vi0 on Tuesday July 16, 2019 @01:58PM (#20452353)
This is accurate, but compiler runtime efficiency and compiler effectiveness at producing efficient programs are inherently orthogonal.

There is certainly a major milestone in each new language though, when it becomes feature complete enough to write its own compiler.