frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I paid people to try and follow my README

https://shkspr.mobi/blog/2026/10/i-paid-people-to-try-and-follow-my-readme/
113•edent•2h ago•70 comments

Don't Put Tilde In Your Path

https://disconnect3d.pl//2026/10/02/dont-put-tilde-in-your-path/
47•arusekk•1h ago•19 comments

Sudden drop in Cloudflare bot traffic after strike on Yandex datacenter

https://radar.cloudflare.com/bots/as13238?dateRange=7d
382•walrus01•3h ago•140 comments

LineageOS 24.0

https://lineageos.org/Changelog-32/
221•timschumi•7h ago•68 comments

Valen's Memory Safety: A New Kind of Borrow Checking

https://verdagon.dev/blog/valen-group-borrowing
23•verdagon•2h ago•9 comments

How HN: Go-dev-auth zero-dependency authentication library for Go

https://github.com/go-dev-auth/go-dev-auth
6•BisratMelak•1h ago•2 comments

Nitter: Update Oct 10th seeking funding and legal help

https://nitter.net
205•ForHackernews•3h ago•78 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
3•Anon84•51m ago•0 comments

What driving across Europe costs in tolls, vignettes, bridges and fuel

https://copilot.travel/tolls/europe-2026
38•heikkikalliokos•2h ago•38 comments

Weave (YC W25) is hiring ML, AI, product, & design engineers

https://jobs.ashbyhq.com/weave-os
1•adchurch•2h ago

2D Vehicles

https://patkerr.co.uk/2d-vehicles/
532•Michelangelo11•4d ago•107 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
380•softwaredoug•15h ago•85 comments

IRCv3

https://ircv3.net/
154•basilikum•3h ago•144 comments

A city-building game in which the city would prefer you didn't

https://housing.over.pizza/
416•JumpCrisscross•17h ago•139 comments

Bot traffic plunged to near 0 following the strike on its Vladimir data center

https://bsky.app/profile/perevaa.bsky.social/post/3mxlm6w2wcs26
33•PLenz•1h ago•4 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
493•oskarth•1d ago•72 comments

Rat's Register Allocator

https://hexrat.cc/pages/blog/2026_10_07
29•mpweiher•1d ago•2 comments

How big is a Git commit?

https://ratfactor.com/cards/git-commit-size
58•theanonymousone•2d ago•23 comments

PSPi 6 – Raspberry Pi in a PSP

https://github.com/othermod/PSPi-Version-6
114•therepanic•13h ago•10 comments

Retrofitting language models to operate over bytes

https://www.nature.com/articles/s41586-026-11111-4
82•theanonymousone•3d ago•13 comments

Compression and Concatenation on the Web

https://theconsensus.dev/p/2026/10/04/compression-and-concatenation-on-the-web.html?focus=1
8•eatonphil•23h ago•2 comments

When Ldaxr Doesn't Work: Exclusive Accesses and Cacheability on AArch64

https://joelsiks.com/posts/aarch64-exclusive-access-cacheability/
14•joelsiks•1d ago•2 comments

Plumbers, chains, and famous painters: The history of the pipe operator in R

http://adolfoalvarez.cl/blog/2021-09-16-plumbers-chains-and-famous-painters-the-history-of-the-pi...
6•sinnsro•2d ago•0 comments

Nix wrote half of my debugger

https://fzakaria.com/2026/10/07/nix-wrote-half-of-my-debugger
216•ingve•2d ago•52 comments

Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes

https://hangul.ink/blog/hangul-day
67•jbaudanza•2d ago•12 comments

Five months treating bugs like patients and coding agents like a medical team

https://www.cockroachlabs.com/blog/experiment-running-hospital-code/
166•rafiss•1d ago•71 comments

Talorys – A self-hosted personal AI agent on Cloudflare's free tier

https://github.com/rociiu/talorys
304•rociiu•1d ago•141 comments

Knuth reward check

https://www.thomas-huehn.com/knuth-reward-check/
207•Curiositry•22h ago•75 comments

3rd Yandex Cloud Data Center Was Hit

https://status.yandex.cloud/en/incidents/2136
324•defly•6h ago•398 comments

Mxc: Microsoft Execution Containers version 1.0.0

https://blogs.windows.com/windowsdeveloper/2026/10/07/microsoft-execution-containers-policy-drive...
206•smokel•2d ago•58 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?