@rain >Where did that prebuilt binary come from?
I mean that's true no matter what isn't it? How do you get an assembler without already having one? How do you go from bare metal to an assembler without using a computer? I actually don't know how and it kind of bothers me.
There's the old joke about a magnetized needle and a steady hand but manually flipping bits on common mediums sounds impossible.
go back far enough and someone had to write the first compiler tool in assembly
@aeveltstra this is actually true in practice, guix builds rust by building 'mrustc' (written in C++) then building 16 increasing versions of the rust compiler until it reaches rust 1.35
@rain What comes to mind is that an initial compiler is made using a different toolset (like an initial rust compiler written in c). And once that initial compiler exists, it can be used to create a compiler that recreates itself.
#bootstrapping is about building a compiler using tools smaller than itself, as opposed to building a compiler using an already built version of itself.
The problem with the second is: Where did that prebuilt binary come from?
the bank is displaying a huge pride rainbow
@rain I dunno if this counts but https://minecraft.gamepedia.com/Tutorials/Redstone_computers
What are your favorite documents about #bootstrapping ?
GNU Mes 0.19 released! Featuring performance; Now bootstrapping
@gnutools GCC in ~30min. Started audit and verify thereof in
#nixos, support in Mes C Lib to build #gnubash and #gnutar.
If you asked me what the 4 best documents regarding bootstrapping are i'd say:
* Egg of the Phoenix (Blog post) - http://canonical.org/~kragen/eotf/
* The Cuniform Tablets of 2015 (Blue-sky academic research) - http://www.vpri.org/pdf/tr2015004_cuneiform.pdf
* Preventing The Collapse of Civilization (Video) - https://www.youtube.com/watch?v=pW-SOdj4Kkk
* Coding Machines (scifi story about trusting-trust attack) - https://www.teamten.com/lawrence/writings/coding-machines/
If you asked me what the 3 most important documents regarding #bootstapping are i'd say:
* Egg of the Phoenix - http://canonical.org/~kragen/eotf/
* The Cuniform Tablets of 2015 - http://www.vpri.org/pdf/tr2015004_cuneiform.pdf
* Preventing The Collapse of Civilization - https://www.youtube.com/watch?v=pW-SOdj4Kkk
I just posted a comment on the orange website at https://news.ycombinator.com/item?id=20275525 about #bootstrapping/#bootstrappable stuff. I hope it's not too unfair that I only called out OriansJ and rain1 by name in it. I'm interested in feedback, especially during the editing window, in case I said something dumb or missed a key point I should have, or just wrote sentences that are hard to read or understand, or said something true but ill-advised.
@sirgazil if you want machine extractable comments use strings inside function body and have define register that string as documentation in a table rather than trying to parse the source code. the reason for doing it this way is that it will work cleanly with macros.
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !