frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

REA Reverse – Engineer Anything

https://rea.tools/
280•modinfo•5h ago•91 comments

Cloudflare acquires Deno

https://deno.com/blog/cloudflare
1156•ilreb•17h ago•592 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
60•g-b-r•3h ago•19 comments

Triple-A Minesweeper

https://minesweeper.mikelacher.com/
842•robin_reala•14h ago•163 comments

Eye of Sauron: Long-Range Hidden Spy Camera Detection

https://www.usenix.org/conference/usenixsecurity24/presentation/zhang-qibo
92•ortusdux•2d ago•16 comments

Typesafe AI raises $870M at $7.5B

https://typesafe.ai/blog/series-ai
334•tosh•13h ago•240 comments

Show HN: Carrier-Explode: iPhone, Pixel and Galaxy carrier settings decoded

https://carrierexplode.com/
271•simplyalec•12h ago•35 comments

Can you use autoregressive diffusion to generate market data?

https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/
56•jsomers•15h ago•22 comments

How to head into VR without wearing a headset

https://www.kyushu-u.ac.jp/en/researches/view/414/
9•Betelbuddy•3d ago•0 comments

Compiling Rust to readable C with Eurydice

https://lwn.net/Articles/1055211/
55•peter_d_sherman•7h ago•6 comments

Pointing AI at archives found a forgotten meteorite, lost rhinos, and more

https://jessewaites.com/blog/post/i-pointed-ai-at-400-years-of-archives/
132•piratebroadcast•18h ago•71 comments

Show HN: A simple to-do app for iPhone, Mac, and your agent

https://ilia.page/writing/introducing-nagare
4•shmilia•1h ago•1 comments

Clinical trial of a prion disease drug candidate begins enrolling participants

https://www.broadinstitute.org/news/clinical-trial-prion-disease-drug-candidate-begins-enrolling-...
33•luu•6h ago•5 comments

Next.js 16.4

https://nextjs.org/blog/next-16-4
15•jhuleatt•4h ago•12 comments

YouTuber Says Cops Visited Him After He Built a Flock-Style Camera to Track Cops

https://gizmodo.com/youtuber-says-cops-paid-him-a-visit-after-he-built-flock-style-camera-to-trac...
518•gumby•9h ago•290 comments

Anthropic AI model submits false tip on unsolved Philly murder

https://www.nbcphiladelphia.com/news/local/anthropic-ai-model-submits-false-tip-on-unsolved-phill...
139•Zambyte•8h ago•106 comments

Show HN: Proton Drive for Linux

https://oss.lsantos.dev/proton-drive-linux-fs/
61•khaosdoctor•1d ago•21 comments

Scam American companies are using to manipulate ingredient lists

https://twitter.com/WallStreetApes/status/2108594998656807078
93•bilsbie•12h ago•100 comments

Communication Between the Compiler, the Build System, and Beyond

https://shrub.industries/words/problem.html
8•shrub900•3d ago•1 comments

What mathematicians should know about the Lean Theorem Prover: reliability & AI

https://terrytao.wordpress.com/2026/10/09/what-mathematicians-should-know-about-the-lean-theorem-...
82•matt_d•12h ago•17 comments

Our $445M Series D

https://oxide.computer/blog/our-445m-series-d
635•ahlCVA•17h ago•294 comments

The role of cat eye narrowing movements in cat–human communication (2020)

https://www.nature.com/articles/s41598-020-73426-0
66•bushwart•3d ago•24 comments

Show HN: The rarest tech books and docs you've probably never read

https://readrare.com/
109•miletus•12h ago•34 comments

'Wallace and Gromit,' 90% Alone

https://animationobsessive.substack.com/p/wallace-and-gromit-90-alone
192•vinhnx•16h ago•24 comments

Sorry, I'm in a meeting

https://iminafleeting.com/
853•splintersio•21h ago•246 comments

Put a price on breakthroughs

https://alexwang.ai/posts/put-a-price-on-breakthroughs/
12•ketothekingdom•3h ago•4 comments

Atari Falcon

https://atarimuseum.nl/atari-falcon/
38•debo_•7h ago•12 comments

100+ reactions to 100+ solutions

https://proofsandprompts.com/2026/10/08/100-reactions-to-100-solutions/
58•jacobedawson•18h ago•52 comments

Data Center Darling's $30B IPO Dream Crushed in 48 Hours

https://www.bloomberg.com/news/articles/2026-10-09/data-center-darling-s-30-billion-ipo-dream-cru...
20•mfiguiere•2h ago•7 comments

The Alchemical Transformations of the Mutus Liber (1677)

https://publicdomainreview.org/collection/mutus-liber/
7•benbreen•3d ago•0 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?