frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Homebrew 6.0.0

https://brew.sh/2026/06/11/homebrew-6.0.0/
713•mikemcquaid•7h ago•170 comments

MiMo Code is now released and open-source

https://mimo.xiaomi.com/mimocode
364•apeters•6h ago•198 comments

Petition to Withdraw Canada's Bill C-22

https://www.ourcommons.ca/petitions/en/Petition/Sign/e-7416
264•hmokiguess•5h ago•94 comments

The RCE that AMD wouldn't fix

https://mrbruh.com/amd2/
173•MrBruh•5h ago•65 comments

Emacs appearances in pop culture

https://ianyepan.github.io/posts/emacs-in-pop-culture/
182•ggcr•1d ago•29 comments

Shall we play a game? – LLMs use tactical nukes in 95% of simulations

https://www.kennethpayne.uk/p/shall-we-play-a-game
21•nick238•1h ago•8 comments

I stopped tracking my time. Now I can't focus

https://newsletter.masilotti.com/p/i-stopped-tracking-my-time-now-i
21•joemasilotti•1h ago•12 comments

Waymo Premier

https://waymo.com/blog/2026/06/waymo-premier/
119•boulos•5h ago•277 comments

Travel Locally, Where You Are

https://www.ssp.sh/brain/travel-where-you-are/
29•zazuke•1h ago•12 comments

Ear Training Practice Exercises

https://tonedear.com/
69•mattbit•3d ago•49 comments

Developer gets Half-Life running at 30 FPS on a Nokia N95

https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-f...
160•ljf•3d ago•43 comments

Software Is Made Between Commits

https://zed.dev/blog/introducing-deltadb
153•jeremy_k•4h ago•104 comments

macOS 27 Beta breaks the ability to boot Asahi Linux

https://www.phoronix.com/news/macOS-27-Beta-Breaks-Asahi
173•josephcsible•2d ago•74 comments

Lines of code got a better publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
323•RyeCombinator•8h ago•216 comments

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
661•vrganj•14h ago•302 comments

Open Reproduction of DeepSeek-R1

https://github.com/huggingface/open-r1
174•yogthos•8h ago•16 comments

The Dynamo and the Computer: The Modern Productivity Paradox (1989) [pdf]

https://www.almendron.com/tribuna/wp-content/uploads/2018/03/the-dynamo-and-the-computer-an-histo...
32•simonpure•1d ago•3 comments

Solar generates more energy in US than coal for first time

https://www.theguardian.com/us-news/2026/jun/11/solar-energy-us-coal
348•neilfrndes•5h ago•162 comments

Claude Fable 5: mid-tier results on coding tasks

https://www.endorlabs.com/learn/claude-fable-5-mythos-grade-hype
125•bugvader•5h ago•41 comments

Apple didn't revolutionize power supplies; new transistors did

https://www.righto.com/2012/02/apple-didnt-revolutionize-power.html
37•geerlingguy•3h ago•3 comments

Discovery of Cold War-era rare Eastern Bloc computers in a German hangar

https://computerhistory.org/stories/explorers-of-the-lost-computers/
74•andrewstuart•5d ago•17 comments

Building agents without harness engineering

https://rajitkhanna.com/agents/
20•rajit•3h ago•7 comments

Fully autonomous drones have killed human soldiers for the first time

https://www.newscientist.com/article/2529849-fully-autonomous-drones-have-killed-human-soldiers-f...
156•deadgopher•1d ago•121 comments

FPS.cob: A first person shooter in COBOL

https://github.com/icitry/FPS.cob
82•MBCook•6h ago•50 comments

Who Runs the Ransomware Group 'The Gentlemen?'

https://krebsonsecurity.com/2026/06/who-runs-the-ransomware-group-the-gentlemen/
27•Bender•1h ago•1 comments

Programming a GBA Game on an iPhone

https://blog.adamledoux.net/posts/2026-06-08-programming-a-gba-game-on-an-iphone.html
33•akkartik•1d ago•4 comments

Show HN: Claw Patrol, a security firewall for agents

https://github.com/denoland/clawpatrol
68•rough-sea•2d ago•24 comments

Doing nothing at work

https://www.seangoedecke.com/doing-nothing-at-work/
292•Sukram21•3d ago•96 comments

A new era for software testing

https://antirez.com/news/168
92•Chrisszz•4d ago•29 comments

Pozzo: A Fast Lucky Number Checker

https://github.com/Robert-Cunningham/pozzo
11•robertvc•3d ago•1 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?