frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Extra Big Ass Intelligence

https://www.extrabigassintelligence.com/
142•34679•3h ago•31 comments

Newgrounds.com – A community of games, music, and art

https://www.newgrounds.com/
167•azhenley•6h ago•46 comments

Court agrees with EFF: Utah's VPN law demands a technical impossibility

https://www.eff.org/deeplinks/2026/10/court-agrees-eff-utahs-vpn-law-demands-technical-impossibility
599•hn_acker•1d ago•260 comments

Make Tmux the OS

https://matduggan.com/what-does-my-dream-os-ui-look-like/
28•weaksauce•11h ago•12 comments

The Forgetful CPU (Linux on M4)

https://yuka.dev/blog-2026-10-02-linux-m4.html
186•signa11•16h ago•109 comments

Mike Tomlin spent 12 years building a Minecraft city

https://www.nytimes.com/athletic/7648198/2026/10/01/mike-tomlin-minecraft-nfl-coach/
417•CoryOndrejka•1d ago•102 comments

Cloudflare OHTTP gateway

https://blog.cloudflare.com/announcing-cloudflare-ohttp-gateway/
54•est•4h ago•11 comments

A 12-year sequence of telescope images of a star and four planets orbiting

https://bsky.app/profile/theplanetaryguy.com/post/3mwucf5ert22f
253•mariuz•20h ago•53 comments

Apple Pass Designer

https://developer.apple.com/pass-designer/
396•soheilpro•12h ago•242 comments

Barcodes are about to go extinct

https://thehustle.co/originals/why-barcodes-are-about-to-go-extinct
13•rmason•10h ago•12 comments

Loss of cell identity drives human aging: Two new papers

https://erictopol.substack.com/p/loss-of-cell-identity-drives-human
227•bookofjoe•1d ago•70 comments

From the creator of Redis; run LLM locally with ds4

https://dwarfstar.sh/
213•fibo•13h ago•56 comments

Muse Gadgets

https://gadgets.muse.ai
182•anant•11h ago•79 comments

With most information hidden, the game Stratego had stumped AI until now

https://arstechnica.com/science/2026/10/ai-finally-beat-the-best-stratego-player-in-history-and-d...
207•PaulHoule•17h ago•103 comments

FLUX 3 Image

https://bfl.ai/models/flux-3-image
318•minimaxir•1d ago•69 comments

Updates to Full Disk Access in macOS

https://developer.apple.com/news/?id=p6zjojqw
179•notfirstpost•11h ago•118 comments

Greg Kroah-Hartman – Security in the LLM Age [video]

https://www.youtube.com/watch?v=NnV_cWeoo5Q
225•usernomdeguerre•1d ago•62 comments

There's a new sea spider in town

https://nautil.us/theres-a-new-sea-spider-in-town-1285470
15•whiteblossom•13h ago•2 comments

Sites in ChatGPT

https://chatgpt.com/features/sites/
252•polvi•1d ago•244 comments

Show HN: Giving Opus 5.5 a simulated paint canvas

https://stillwet.art/
262•alstonite•1d ago•80 comments

Things that apparently cause cancer

https://www.breakthroughjournal.org/p/things-that-apparently-cause-cancer
171•timpera•6h ago•63 comments

The Legend of von Neumann (1973) [pdf]

https://gwern.net/doc/math/1973-halmos.pdf
273•suopspaces•17h ago•148 comments

An Update on Orion for Linux and Windows

https://blog.kagi.com/update-orion-linux-windows
16•pentagrama•2h ago•3 comments

OKI Develops 124-Layer PCB Technology

https://www.oki.com/global/press/2025/z25006e.html
25•luu•1d ago•13 comments

Nobody Is Listening on Port 8125

https://yeet.cx/blog/nobody-is-listening-on-8125
8•zasc•2d ago•2 comments

Billions of triangles redux

https://zeux.io/2026/09/30/billions-of-triangles-redux/
36•ibobev•2d ago•0 comments

Venice’s failed war against Constantinople led to the first bond market

https://bigthink.com/books/a-fabulous-debt/
103•RickJWagner•17h ago•32 comments

One month coding with GLM 5.3 Flash

https://wagtail.org/blog/one-month-on-glm-53-flash/
145•ThibWeb•15h ago•107 comments

The Nintendo 64 Partner-N64 Development Kit

https://www.behindthecode.ca/partner-n64pc-dev-kit/
21•paulgerhardt•12h ago•2 comments

Where Is the Planet

http://whereistheplanet.com
24•andsoitis•6h ago•3 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?