Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Hacking OpenAI(hacktron.ai ↗)
    97comments
  2. Jemalloc 5.4.0(github.com/jemalloc ↗)
    9comments
  3. The scourge of x86 emulation(fex-emu.com ↗)
    2comments
  4. Astra for Law(openai.com ↗)
    467comments
  5. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    116comments
  6. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    200comments
  7. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    20comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    150comments
  9. Qwen 3.8 Omni Flash(qwen.ai ↗)
    50comments
  10. Wax motor(wikipedia.org ↗)
    62comments
  11. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    216comments
  12. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    4comments
  13. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    3comments
  14. Waymo in Singapore(waymo.com ↗)
    83comments
  15. How to Write with an LLM(sockpuppet.org ↗)
    74comments
  16. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    17comments
  17. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    47comments
  18. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    8comments
  19. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    18comments
  20. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    35comments
  21. The most important product decision is what you don't build(liamnugent.me ↗)
    29comments
  22. CrowdSec Source Code Leak(crowdsec.net ↗)
    44comments
  23. How Uber Protects Against Retry Storms(uber.com ↗)
    33comments
  24. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    91comments
  25. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    342comments
  26. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    31comments
  27. Khipu (Quipu) Field Guide(khipufieldguide.com ↗)
    1comments
  28. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  29. Code Scans(devin.ai ↗)
    4comments
  30. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    38comments

Jemalloc 5.4.0

48 pointsby 3h agogithub.com
9 comments
1h agoHN ↗

Why is this on the HN front page? Is there something particularly noteworthy about this release?

1h agoHN ↗

They resumed development on jemalloc only recently, after years of no releases.

1h agoHN ↗

I just checked whether it's the first release after Jason Evans stepped down as maintainer, but it isn't. That was the previous release, 5.3.1

20m agoHN ↗

jemalloc is something you should be aware of if you do software for a living

18m agoHN ↗

Why? Writing a memory allocator is quite simple, and I'd argue that _everyone_ should write one from scratch for any kind of high performance application. It's also trivial to outperform general purpose allocators that have to satisfy countless constraints. I've written numerous special purpose mallocs that are a) both provably (formally) safer than the standard armada and b) significantly faster (>10x throughput).

12m agoHN ↗

Your experience writing memory allocators is irrelevant. The point is that jemalloc is widely used and that’s why it makes sense to be aware of it.

6m agoHN ↗

I'd happily see performance, latency and stability of your allocators in massively multithreaded, long-living programs with workloads where hundreds or thousands of parallel threads continuously create and destroy short-lived small and medium objects.

Writing allocators for domain-specific access patterns is easy. Writing a general-purpose high performing, stable allocator with bounded P99 latency is hard.

Give your friend, Dunning–Kruger, some better pills to keep him from speaking through you.