frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
338•ColinWright•7h ago•114 comments

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1723•LorenDB•20h ago•613 comments

Turn Dependabot off

https://words.filippo.io/dependabot/
534•todsacerdoti•17h ago•153 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
702•toomuchtodo•19h ago•313 comments

Andrej Karpathy talks about "Claws"

https://simonwillison.net/2026/Feb/21/claws/
164•helloplanets•4h ago•245 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
1236•npilk•20h ago•674 comments

Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI

https://github.com/ggml-org/llama.cpp/discussions/19759
762•lairv•1d ago•198 comments

Wikipedia deprecates Archive.today, starts removing archive links

https://arstechnica.com/tech-policy/2026/02/wikipedia-bans-archive-today-after-site-executed-ddos...
490•nobody9999•19h ago•291 comments

CERN rebuilt the original browser from 1989 (2019)

https://worldwideweb.cern.ch
203•tylerdane•15h ago•71 comments

Padlet (YC W13) Is Hiring in San Francisco and Singapore

https://padlet.jobs
1•coffeebite•2h ago

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
25•ibobev•3d ago•5 comments

Coccinelle: The Linux kernel's source-to-source transformation tool

https://github.com/coccinelle/coccinelle
34•anon111332142•6h ago•10 comments

AI uBlock Blacklist

https://github.com/alvi-se/ai-ublock-blacklist
38•rdmuser•6h ago•12 comments

Lean 4: How the theorem prover works and why it's the new competitive edge in AI

https://venturebeat.com/ai/lean4-how-the-theorem-prover-works-and-why-its-the-new-competitive-edg...
64•tesserato•4d ago•30 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
154•cratermoon•13h ago•57 comments

Every company building your AI assistant is now an ad company

https://juno-labs.com/blogs/every-company-building-your-ai-assistant-is-an-ad-company
225•ajuhasz•19h ago•111 comments

JWasm: Masm Compatible Assembler

https://github.com/Baron-von-Riedesel/JWasm
4•doener•4d ago•0 comments

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
30•letmutex•4d ago•27 comments

Index, Count, Offset, Size

https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
110•ingve•3d ago•51 comments

Blue light filters don't work – controlling total luminance is a better bet

https://www.neuroai.science/p/blue-light-filters-dont-work
186•pminimax•20h ago•189 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
23•T-A•5h ago•33 comments

Choose Your Fictions Well (2010)

http://henryjenkins.org/blog/2010/04/choose_your_ficitons_well.html
8•1970-01-01•3d ago•1 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
111•gfortaine•13h ago•53 comments

When etcd crashes, check your disks first

https://nubificus.co.uk/blog/etcd/
19•_ananos_•7h ago•9 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
764•sidnarsipur•1d ago•420 comments

OpenScan

https://openscan.eu/pages/scan-gallery
183•joebig•17h ago•16 comments

The bare minimum for syncing Git repos

https://alexwlchan.net/2026/bare-git/
13•speckx•3d ago•8 comments

Instant AI Response

https://chatjimmy.ai/
9•hochmartinez•4h ago•4 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
87•irasigman•17h ago•44 comments

Acme Weather

https://acmeweather.com/blog/introducing-acme-weather
94•cryptoz•7h ago•67 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

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

Comments

ashvardanian•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•9mo ago
What are the biggest use cases of GPU accelerated sorting?