frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

After 7 months, Glasswing overwelms maintainers with underwhelming findings

https://www.vulncheck.com/blog/anthropic-glasswing-november-update
195•panic•3h ago•78 comments

Scion is back and is going to sell a kei truck in America

https://www.theautopian.com/scion-is-back-and-its-going-to-sell-a-freaking-kei-truck-in-america/
321•NaOH•5h ago•238 comments

.name Grandfathered

https://neil.fraser.name/news/2026/11/10/
677•p4bl0•8h ago•156 comments

Smart home devices should work without the internet

https://docodethatmatters.com/home-automation-overnight-success/
697•skittleson•10h ago•252 comments

Six Math Essentials by Terence Tao

https://teorth.github.io/tao-web/six-math-essentials.html
120•digital55•4h ago•24 comments

Synaptics patent claims stop work on DisplayLink drivers

https://lwn.net/SubscriberLink/1102549/acbc92e00cee3a3f/
291•speckx•7h ago•161 comments

Starlink Mini 2

https://starlink.com/mini-2
228•robertjfclarke•7h ago•238 comments

Val Town is winding down

https://blog.val.town/winding-down
304•tosh•8h ago•81 comments

Hacking the meta ray-ban smartglasses

https://p0pcycle.com/2026/11/06/hacking-the-meta-ray-ban-smartglasses/
38•moooooky•3d ago•9 comments

Pinot Noir: inside the criminal gangs making fake wine

https://www.economist.com/interactive/2026/11/06/pinot-noir-inside-the-criminal-gangs-making-fake...
27•axiomdata316•2d ago•5 comments

AlphaProof Code

https://deepmind.google/blog/introducing-alphaproof-code/
577•ilreb•13h ago•177 comments

Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives

https://github.com/GoogleChrome/modern-web-guidance
258•paulirish•7h ago•75 comments

AMD's Zen 6 Family: Feeding the Beast

https://chipsandcheese.com/p/amds-zen-6-family-feeding-the-beast
182•pixelpoet•8h ago•69 comments

What objective is reasoning solving?

https://alexwang.ai/posts/reasoning-as-pathfinding/
100•gmays•6h ago•45 comments

The DRAM interface and the PHY (why a DDR3+ interface must be tuned at boot)

https://github.com/enjoy-digital/litedram/blob/master/doc/manual/03_dram_interface.md
12•peter_d_sherman•1h ago•0 comments

Research taste in history: the importance of learning Babylonian math

https://resobscura.substack.com/p/research-taste-in-history-the-importance
11•benbreen•5h ago•0 comments

Show HN: Aircad – Professional drafting and 3D modeling in the browser

https://aircad.com
11•peetle•10h ago•6 comments

$30M Raised to Redo the CPU

https://tendrils.co/blog/2026-11-10/30m-raised
23•shioyama•3h ago•9 comments

Process Explorer for macOS

https://github.com/microsoft/Procexp-Mac
136•ingve•1d ago•47 comments

Ergodic Literature

https://en.wikipedia.org/wiki/Ergodic_literature
8•aragonite•1d ago•1 comments

A comprehensive study of how fingerprintable users are

https://fingerprinting.study/
69•tomrittervg•6h ago•30 comments

Ableton Live 13

https://www.ableton.com/en/live/
273•phaser•12h ago•295 comments

Sherman Anti-Trust Act (1890)

https://www.archives.gov/milestone-documents/sherman-anti-trust-act
71•hashmap•4h ago•42 comments

Show HN: Valencia, Spain in Sim City/Isometric View

https://tinyvalencia.com/
191•leugim•10h ago•49 comments

Simon Winchester has died

https://www.nytimes.com/2026/11/04/obituaries/simon-winchester-dead.html
70•benbreen•2d ago•25 comments

AI usage generates a fragile codebase

https://evanxmerz.com/post/ai-usage-generates-a-fragile-codebase/
371•plun9•15h ago•402 comments

What's new in the .NET 11 runtime

https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-11/runtime
239•stevefan1999•13h ago•173 comments

AI is an information gateway. Audiences still don't want it making their news

https://www.niemanlab.org/2026/11/ai-is-becoming-an-information-gateway-audiences-still-dont-want...
4•rdmuser•1h ago•0 comments

Blender 5.3 released with Gaussian Splat support

https://www.blender.org/download/releases/5-3/
431•amlib•9h ago•65 comments

rVPN – stealth VPN with end-to-end encryption

https://rvpn.org/
59•michaelsbradley•3h ago•54 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?