Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    132comments
  2. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    593comments
  3. Making portable my unportable transputer C compiler(nanochess.org)
    3comments
  4. Feds Target AI Critics as "Foreign Agents"(kenklippenstein.com)
    176comments
  5. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    15comments
  6. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    113comments
  7. Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest(github.com/nestrilabs)
    20comments
  8. Ideas on modernizing the open-source desktop(lwn.net)
    11comments
  9. The "Windows XP Box" (2003)(mini-itx.com)
    16comments
  10. Meta VR Glasses(meta.com)
    288comments
  11. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    95comments
  12. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    51comments
  13. Why 'What's Opera, Doc?' looks like that(animationobsessive.substack.com)
    1comments
  14. Six-year-old breaks women's world Rubik's Cube record [video](youtube.com)
    2comments
  15. Lambda MicroEgg(philipzucker.com)
    discuss
  16. Making Tailscale Faster(tailscale.com)
    46comments
  17. Italian parliament votes for return to nuclear energy(apnews.com)
    434comments
  18. The mystery animal on an ancient god's head(signoregalilei.com)
    25comments
  19. Data liberation: Apache Kafka's native cluster mirroring(redhat.com)
    discuss
  20. Contrastive Language Models(contrastive-lm.notion.site)
    2comments
  21. Australia says OpenAI agent hacked into government website(channelnewsasia.com)
    60comments
  22. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    64comments
  23. Solving for faster SHA-1 collision detection(sam.dev)
    3comments
  24. FLAWED's Flaws and What This Means for Industry Research(suhacker.ai)
    4comments
  25. Tokens too cheap to meter(jyn.dev)
    190comments
  26. Show HN: An open-source manufacturing ERP/MES/QMS(carbon.ms)
    11comments
  27. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    7comments
  28. Gemini 3.8 text-to-speech(blog.google)
    128comments
  29. The Curious Power of Punctuation(newyorker.com)
    12comments
  30. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    52comments

Making portable my unportable transputer C compiler

23 pointsby 2d agonanochess.org
3 comments
1h agoHN ↗

It's always a delight to read about your projects, Oscar. Every program is a jewel.

56m agoHN ↗

how does a debug file output 8GB+? Is it running for minutes/hours? Or is it in a format that uses a lot of rich text? I would assume a text file in hex or unicode wouldn't use very much.. Is there a way to create intervals of log files so they have a cap on the size?

33m agoHN ↗

It is a simple debugger log in the transputer emulator (enabled by compilation option) which outputs each instruction executed so far, around 70 bytes per line displaying the 3 registers, the stack pointer, the instruction pointer, and the disassembled instruction.

The emulated C compiler processed a whole file ccvars.c before getting stuck in ccinter.c (this is the 5gb mark, approximately 78 millions of instructions executed). I stopped the process as soon as I saw it was stuck, but the emulator is fast, and I got extra 3 gb in the log. All this happened in less than two minutes.