Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    107comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    108comments
  3. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    84comments
  4. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    65comments
  5. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    435comments
  6. San Francisco Onion Futures Company(onionfutures.com ↗)
    72comments
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    17comments
  8. Apple M6 Pro Achieves the Highest Single-Core CPU Score in Geekbench 7(geekbench.com ↗)
    50comments
  9. Cloudflare Quick Tunnels(cloudflare.com ↗)
    285comments
  10. SDCC – Small Device C Compiler(sourceforge.net ↗)
    18comments
  11. How to Write with an LLM(sockpuppet.org ↗)
    338comments
  12. Science Is Open Software(jepedersen.dk ↗)
    40comments
  13. Dear Customer, Fuck You(fuck-off.ai ↗)
    discuss
  14. Saving another 100TB of RAM(cloudflare.com ↗)
    81comments
  15. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    15comments
  16. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    32comments
  17. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    92comments
  18. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  19. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    2comments
  20. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    106comments
  21. OpenJev(openjev.com ↗)
    267comments
  22. Goroutine Leak Profiles(go.dev ↗)
    4comments
  23. Communication by means of modulated Johnson noise(pnas.org ↗)
    1comments
  24. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    89comments
  25. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    73comments
  26. Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step(github.com/awlevin ↗)
    55comments
  27. Veronese's Dogs(publicdomainreview.org ↗)
    1comments
  28. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    13comments
  29. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    72comments
  30. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    100comments

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.