Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. When did Google get so weird? (sancho.bearblog.dev)
    14comments
  2. Ember-1 (fireworks.ai)
    115comments
  3. Alan Kay's answer to "Did the ENIAC have a BIOS"? (quora.com)
    10comments
  4. The state of SIMD in Rust in 2026 (shnatsel.github.io)
    5comments
  5. Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi (loficities.com)
    20comments
  6. In an $80 motel room, a discovery to shed light on the origins of life (nytimes.com)
    66comments
  7. Oral history of John Chowning, inventor of FM synthesis [video] (youtube.com)
    3comments
  8. Imp is a full port of DSPy to the BEAM (github.com/deepfates)
    4comments
  9. Don't couple your Go code to GitHub (iain.rocks)
    24comments
  10. Writing Efficient C++ Code (2013) (asawicki.info)
    62comments
  11. Replacing the old battery on rechargeable bike lights (jvns.ca)
    56comments
  12. Show HN: TinyAIArena watch AI agents battle it out (tinyaiarena.com)
    36comments
  13. What I did at Recurse Center (thill.me)
    1comments
  14. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    6comments
  15. The Normalization of Inexplicable Failures (ihatethefuture.com)
    79comments
  16. Fragment of oldest known peace treaty found in Turkey (livescience.com)
    5comments
  17. John Coltrane Centenary's – Impulse Records Release the Legendary Tiberi Tapes (jazzwise.com)
    6comments
  18. On caring for user data: NeoVim caused Vim undo files to be deleted (aresluna.org)
    273comments
  19. Flip Fluid on Flip Dots (mitxela.com)
    22comments
  20. Kicki: A DECsystem1060 – Interim Computer Museum (icm.museum)
    2comments
  21. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    44comments
  22. Allegations of US interference in Quebec election (globalnews.ca)
    2comments
  23. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    21comments
  24. Wiki Deep dive into Standard diving dress (wikipedia.org)
    —discuss
  25. Faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    7comments
  26. Show HN: Building a Markdown editor for Mac, iOS and web (markdown.beauty)
    37comments
  27. Improving site performance by shipping more CSS (github.blog)
    59comments
  28. Go Concurrency Distilled (antonz.org)
    159comments
  29. PostmarketOS is rebranding as Nura (nura.eco)
    25comments
  30. C's Flexible Integer Sizes Were Not a Design Mistake (pikuma.com)
    94comments

The state of SIMD in Rust in 2026

34 pointsby 2d agoshnatsel.github.io
5 comments
32m agoHN ↗

Hot take: there is no portable SIMD.

You can either have performance (=write manual ASM for each platform), or portability, but not both.

What so-called "portable SIMD" libraries give you is "portable auto-vectorization". "Portable performance" is a global property of the algorithm. Relying on auto-vectorization will result in e.g. sub-optimal register spills in practice. The microbenchmarks will look great, though. ;)

21m agoHN ↗

there is no portable SIMD

Except in languages with a JIT compiler

11m agoHN ↗

Starts to get a bit philosophical on what constitutes "portable" but JIT compilers would emit an opcode based off of whatever the frontend/IR is saying to do surely?

19m agoHN ↗

What about numpy, numba, and torch.compile?

15m agoHN ↗

Getting 2x or 4x performance in your inner loops using a reasonable SIMD library is infinitely better than theoretically getting 8x performance with hand-coded nonportable intrinsics, because the latter is never going to happen in most programs, so the actual point of comparison is scalar code, or autovectorized code at best.