Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Jemalloc 5.4.0(github.com/jemalloc ↗)
    38comments
  2. The scourge of x86 emulation(fex-emu.com ↗)
    24comments
  3. Astra for Law(openai.com ↗)
    538comments
  4. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    128comments
  5. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    219comments
  6. Qwen 3.8 Omni Flash(qwen.ai ↗)
    78comments
  7. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    167comments
  8. When the fractional part of a float fixes your shader(crocidb.com ↗)
    1comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    34comments
  10. Wax motor(wikipedia.org ↗)
    70comments
  11. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    230comments
  12. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    151comments
  13. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    9comments
  14. Replacing Pull Requests with Delta(zed.dev ↗)
    2comments
  15. How to Write with an LLM(sockpuppet.org ↗)
    96comments
  16. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  17. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    23comments
  18. Why Does the Universe Expand?(cosmicave.org ↗)
    51comments
  19. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    56comments
  20. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    23comments
  21. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    41comments
  22. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    discuss
  23. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    368comments
  24. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    105comments
  25. CrowdSec Source Code Leak(crowdsec.net ↗)
    48comments
  26. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    10comments
  27. The most important product decision is what you don't build(liamnugent.me ↗)
    38comments
  28. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    10comments
  29. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    39comments
  30. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    35comments

Porting rr to x86-64

119 pointsby 12y agoblog.mozilla.org
9 comments
12y agoHN ↗

Wow, rr's a pretty slick tool. Definitely filed away for future use. Anyone with use experience care to chime in about it?

rr also reminds me of when, ages ago, I first ran into the ocaml debugger's ability to step forward and step backward. To borrow the modern cliché: mind blown.

12y agoHN ↗

I haven't used rr, but I have used GDB's built in record and replay ability.

GDB's was quite useful, but painfully slow; I had to do a good amount of bisecting down to a small enough input to reproduce the issue without having to wait ages to execute before it was usable. Once I did that, though, it let me find the issue a lot sooner than I would have been able to otherwise.

rr promises to be substantially faster the GDB's record and replay; if so, I imagine it will be quite useful, though it is only once or twice a year that I actually have to debug a problem that these kinds of tools are relevant for.

12y agoHN ↗

rr uses/enhances gdb, so I guess you mean faster than gdb alone?

(It wasn't clear to me until I followed a few links - I hadn't heard of rr.)

12y agoHN ↗

Yes, I meant faster than gdb's native record and replay feature.

The nice thing about rr is that you can still use it with gdb, so you have the full power of gdb along with close to native speed record and reply. Once the x86-64 support is ready, it'll probably be a common tool for me.

12y agoHN ↗

undodb gdb (a commercial product) works a lot faster than gdb (which is so slow it's unusable). We used it with success to debug programs as big as pypy

12y agoHN ↗

Looks very promising. Did a quick set up but unfortunately some counters couldn't be initialized on my VM.

12y agoHN ↗

This seems like an incredibly useful tool, I can't believe I haven't heard about it before.

Nevertheless, does anyone know if there's something like this for programs compiled to the JVM? I've never used gdb to debug JVM code, but I expect that it will not work well.