frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Elixir v1.20: Now a gradually typed language

https://elixir-lang.org/blog/2026/06/03/elixir-v1-20-0-released/
506•cloud8421•5h ago•177 comments

Gemma 4 12B: A unified, encoder-free multimodal model

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/
658•rvz•8h ago•285 comments

I was recently diagnosed with anti-NMDA receptor encephalitis

https://burntsushi.net/encephalitis/
474•Tomte•10h ago•135 comments

The Ü Programming Language

https://github.com/Panzerschrek/U-00DC-Sprache/
16•deterministic•51m ago•5 comments

The ways we contain Claude across products

https://www.anthropic.com/engineering/how-we-contain-claude
6•jbredeche•23m ago•0 comments

Artificial intelligence is not conscious – Ted Chiang

https://www.theatlantic.com/philosophy/2026/06/no-artificial-intelligence-is-not-conscious/687378/
190•lordleft•6h ago•349 comments

DaVinci Resolve 21

https://www.blackmagicdesign.com/products/davinciresolve/whatsnew
381•pentagrama•10h ago•179 comments

Uber's $1,500/month AI limit is a useful signal for AI tool pricing

https://simonwillison.net/2026/Jun/3/uber-caps-usage/
351•pdyc•12h ago•450 comments

Meteor Explodes over Massachusetts

https://www.nbcboston.com/news/local/meteor-explodes-over-massachusetts-what-we-know-and-where-it...
33•1970-01-01•2d ago•10 comments

Ableton Extensions SDK

https://www.ableton.com/en/live/extensions/
59•bennett_dev•4h ago•26 comments

Pwnd Blaster: Hacking your PC using your speaker without ever touching it

https://blog.nns.ee/2026/06/03/katana-badusb/
641•xx_ns•13h ago•101 comments

Journey to JPEG XL: open-source experiments shaped the future of image coding

https://opensource.googleblog.com/2026/06/journey-to-jpeg-xl-how-open-source-experiments-shaped-t...
25•ledoge•2h ago•14 comments

Gooey: A GPU-accelerated UI framework for Zig

https://github.com/duanebester/gooey
131•ksec•7h ago•43 comments

Launch HN: Hyper (YC P26) – Company brain to power agentic development

49•shalinshah•7h ago•54 comments

A Post-Quantum Future for Let's Encrypt

https://letsencrypt.org/2026/06/03/pq-certs
214•SGran•9h ago•120 comments

A Man Who Reads Books for a Living (One Every Two Days)

https://lithub.com/the-man-who-reads-books-for-a-living-one-every-two-days/
68•gmays•4h ago•46 comments

A Mathematician's Lament – Paul Lockhart (2002) [pdf]

https://worrydream.com/refs/Lockhart_2002_-_A_Mathematician%27s_Lament.pdf
25•xeonmc•3h ago•1 comments

ESP32-S31

https://www.espressif.com/en/products/socs/esp32-s31
243•volemo•8h ago•139 comments

Self-hosted dev sandboxes with preview URLs (Docker, Go, no K8s)

https://github.com/tastyeffectco/sandboxes
41•tastyeffectco•5h ago•9 comments

Patching my guitar amp's firmware

https://mforney.org/blog/2026-05-28-patching-my-guitar-amps-firmware.html
24•birdculture•3d ago•1 comments

Stop Killing Games

https://jxself.org/stop-killing-games.shtml
182•amcclure•2d ago•173 comments

Skyvern (YC S23) Is Hiring Open-Source Loving DevRel Engineers

https://www.ycombinator.com/companies/skyvern/jobs/1qRTlVx-founding-developer-marketing-open-sour...
1•suchintan•7h ago

Angular v22

https://blog.angular.dev/announcing-angular-v22-c52bb83a4664
102•Klaster_1•7h ago•49 comments

Embryos shape their limbs: a key discovery of "genetic brakes"

https://nouvelles.umontreal.ca/en/article/2026/06/02/how-embryos-shape-their-limbs-a-key-discover...
47•gmays•7h ago•2 comments

Brume is a 24-voice multi-timbral desktop synth for the CM5

https://brume.aftertone.co/
45•oceanwaves•5h ago•22 comments

Show HN: Mnemo – local-first AI memory layer for any LLM (Rust, SQLite,petgraph)

https://github.com/zaydmulani09/mnemo
22•zaydmulani•4h ago•13 comments

Mathematicians issue warning as AI rapidly gains ground

https://www.science.org/content/article/mathematicians-issue-warning-ai-rapidly-gains-ground
164•pseudolus•14h ago•214 comments

Every Byte Matters

https://fzakaria.com/2026/06/01/every-byte-matters
226•ingve•13h ago•111 comments

PlayStation Architecture

https://www.copetti.org/writings/consoles/playstation/
249•gregsadetsky•14h ago•48 comments

Meta workers can opt out of being tracked at work up to 30 min

https://www.bbc.com/news/articles/c93x0k194yno
681•reconnecting•12h ago•647 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•1y ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•1y ago
The article covers extremely important CUDA warp-level synchronization/exchange primitives, but it's not what is generally called SIMD in the CUDA land .

Most "CUDA SIMD" intrinsics are designed to process a 32-bit data pack containing 2x 16-bit or 4x 8-bit values (<https://docs.nvidia.com/cuda/cuda-math-api/cuda_math_api/gro...>). That significantly shrinks their applicability in most domains outside of video and string processing. I've had pretty high hopes for DPX on Hopper (<https://developer.nvidia.com/blog/boosting-dynamic-programmi...>) instructions and started integrating them in StringZilla last year, but the gains aren't huge.

winwang•1y ago
Oh wow, TIL, thanks. I usually call stuff like that SWAR, and every now-and-then I try to think of a way to (fruitfully) use it. The "SIMD" in this case was just an allusion to warp-wide functions looking like how one might use SIMD in CPU code, as opposed to typical SIMT CUDA.

Also, StringZilla looks amazing -- I just became your 1000th Github follower :)

ashvardanian•1y ago
Thanks, appreciate the gesture :)

Traditional SWAR on GPUs is a fascinating topic. I've begun assembling a set of synthetic benchmarks to compare DP4A vs. DPX (<https://github.com/ashvardanian/less_slow.cpp/pull/35>), but it feels incomplete without SWAR. My working hypothesis is that 64-bit SWAR on properly aligned data could be very useful in GPGPU, though FMA/MIN/MAX operations in that PR might not be the clearest showcase of its strengths. Do you have a better example or use case in mind?

winwang•1y ago
I don't -- unfortunately not too well-versed in this field! But I was a bit fascinated with SWAR after I randomly thought of how to prefix-sum with int multiplication, later finding out that it is indeed an old trick as I suspected (I'm definitely not on this thread btw): https://mastodon.social/@dougall/109913251096277108

As for 64-bit... well, I mostly avoid using high-end GPUs, but I was of the impression that i64 is just simulated. In fact, I was thinking of using the full warp as a "pipeline" to implement u32 division (mostly as a joke), almost like anti-SWAR. There was some old-ish paper detailing arithmetic latencies in GPUs and division was approximately more than 32x multiplication (...or I could be misremembering).

bobmcnamara•1y ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•1y ago
Interesting stuff. Not sure if I read this right that it‘s 16 und 32 bit values of integers that get sorted. If yes, I‘d love to see if the GPU implementation can beat a competitive Radix sort implementation on a CPU.
winwang•1y ago
It's 32 32-bit values which get sorted. I don't think a GPU sort would beat a CPU sort at this scale, even if you don't take kernel launch time into account. CPUs are simply too fast for (super-)small data, especially with AVX-512. But if we're talking about a larger amount of data, that would be a different story, i.e. as part of a normal gpu mergesort.
maeln•1y ago
It is also useful if your data already lives on the GPU memory. For example, when you need to z-sort a bunch of particles in a 3d renderer particle system.
exDM69•1y ago
A 32 way GPU sorting algorithm might be just what I need for sorting and deduplicating triangle id's in a visibility buffer renderer I am working on.

Thanks for sharing.

winwang•1y ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•1y ago
What are the biggest use cases of GPU accelerated sorting?