Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    111comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    31comments
  3. Tin: full-text search for Postgres(planetscale.com ↗)
    19comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    420comments
  5. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    176comments
  6. What Zig felt like, coming from Rust(besok.github.io ↗)
    85comments
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    47comments
  8. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    7comments
  9. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    26comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    533comments
  11. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    12comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    105comments
  13. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    125comments
  14. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    185comments
  15. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    discuss
  16. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    29comments
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    300comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    360comments
  19. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    23comments
  20. Communication by means of modulated Johnson noise(pnas.org ↗)
    17comments
  21. Saving another 100TB of RAM(cloudflare.com ↗)
    89comments
  22. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  23. Science Is Open Software(jepedersen.dk ↗)
    47comments
  24. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    8comments
  25. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  26. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    122comments
  28. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    7comments
  29. OpenJev(openjev.com ↗)
    278comments
  30. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    119comments

The Full-Source Bootstrap: Building from source all the way down

64 pointsby 3y agoguix.gnu.org
5 comments
3y agoHN ↗

I'm new at this. Why is C++ an obstacle to bootstrapping?

3y agoHN ↗

It's the circular dependencies.

GCC 4.8 or higher needs GCC 4.7 or higher to build - so do you come up with a way of bootstrapping GCC from itself without an existing C++ compiler (for example, Perl is self-hosting, but the bootstrap is done with 'miniperl' that can be built with C alone), or do you start with GCC 4.7 that you can bootstrap and go from there?

The glibc problem is more interesting because it's an indirect dependency. glibc needs python to build itself, but python needs glibc.

The point the article makes is that solving these problems is non-obvious and solutions come with tradeoffs.

3y agoHN ↗

...glibc needs python to build itself, but python needs glibc.

Surely there must be a glibc which predates the Python dependency. Why can they not build the prior glibc version and use successive releases to iteratively build up the platform?

Not technically satisfying, plus probably some turtles-all-the-way-down situation where there was a pre-Python dependency which is equally hairy, but conceptually, I do not understand the limitation.

Too late for the mountains of existing software, but I know Zig took some effort to address the bootstrap problem by relying upon a WASM seed.

3y agoHN ↗

You can and some projects do this, it's just not "obviously" better than having a limited version of the glibc build that can build python before bootstrapping itself.

3y agoHN ↗

This is such an incredible achievement. Disappointing that it didn't get more attention in the comments here.