frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Kimi K3.1 Pro and K3.1 Pro Highspeed

https://www.kimi.ai/blog/kimi-k3-1-pro
792•Jowsey•11h ago•483 comments

Twelve years of distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
71•otoolep•3h ago•7 comments

Apple Music 404 Not Found

https://music.apple.com/this-url-doesnt-exist
657•frizlab•16h ago•210 comments

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
1308•sohkamyung•1d ago•227 comments

CVE Tracker

https://cve.0xosprey.com/
133•Group_B•7h ago•54 comments

Dessa: Conversation Model trained only on speech

https://block.xyz/dessa
298•dsr12•9h ago•113 comments

Today, we hacked what we'd set out to hack: the iPhone

https://blog.calif.io/p/iphone
791•pavel_lishin•12h ago•527 comments

Bringing uv and ty together

https://astral.sh/blog/uv-ty-integration
62•Ravencentric•3d ago•18 comments

One Man's Pan Am 747 Replica [video]

https://www.youtube.com/watch?v=vAFwHGGfPz4
7•Teever•6h ago•0 comments

The Real Kevin Bacon

https://pudding.cool/2026/10/kevin-bacon/
268•xnx•3d ago•75 comments

The Quake Fan who built the map editor everybody uses

https://funcarena.com/articles/the-quake-fan-who-built-the-map-editor-everybody-uses
25•klaussilveira•1d ago•1 comments

Canadians are running out of time to oppose Bill C-22

https://www.eff.org/deeplinks/2026/10/canadians-are-running-out-time-oppose-dangerous-c-22-survei...
366•hn_acker•1d ago•199 comments

C vs. C#: racing VLC's Gaussian blur

https://martinfinkel.com/blog/gaussian-blur-c-vs-csharp/
43•martz•2d ago•1 comments

Show HN: Corgi, a helpful {agent, terminal} multiplexer

https://corgi.computer/
56•eiopa•8h ago•13 comments

The past, present, and future share a show floor at Pinball Expo 2026

https://arstechnica.com/gaming/2026/10/the-past-present-and-future-share-a-show-floor-at-pinball-...
18•civicpivot•2d ago•3 comments

Air Purifiers as White Noise Machines

https://www.jefftk.com/p/air-purifiers-as-white-noise-machines
90•luu•11h ago•101 comments

UUIDv7: Timestamps aren’t time-ordered and other oddities

https://alexsci.com/blog/uuidv7-is-weird/
118•ibobev•11h ago•102 comments

Evolving Threat: http2shell is an RCE in Node, Python, and more

https://nitter.click/AikidoSecurity/status/2113759110625906950?__galadriel=lPmlGl9id4oAd5UeBwMhlY...
123•cowlevel•5h ago•68 comments

A Bicycle Journey Across Brazil to Find a Vanishing Savanna

https://e360.yale.edu/features/2026-film-contest-second-place-cerrado
36•throwaway2037•2d ago•9 comments

Alzheimer's breakthrough: 2 hrs of sleep restored without clearing brain plaques

https://www.sciencedaily.com/releases/2026/10/261018084421.htm
45•amichail•2h ago•12 comments

Rise of collagen-eating microbes may help explain gaps in the fossil record

https://www.cam.ac.uk/research/news/rise-of-collagen-eating-microbes-may-help-explain-gaps-in-the...
23•gmays•3d ago•0 comments

How is music possible

https://www.henrikkarlsson.xyz/p/music
95•rafaelc•12h ago•68 comments

Is this the new cyber normal?

https://drew.silcock.dev/blog/is-this-the-new-cyber-normal/
151•drewsberry•17h ago•167 comments

Rune 1.3: adds TypeScript, a Helix editor, Kitty graphics and OSC-7501

https://rune.build/blog/rune-1-3-release
42•ernestrc•8h ago•9 comments

Animations for System Builders

https://brooker.co.za/blog/2026/10/23/animations.html
49•KraftyOne•11h ago•3 comments

DNS: A Replacement for Finger

https://altchan.org/sh/42
33•Bender•9h ago•25 comments

A whirlwind tour of systemd-nspawn containers (2025)

https://quantum5.ca/2025/03/22/whirlwind-tour-of-systemd-nspawn-containers/
36•ibobev•8h ago•7 comments

Securing our frontier model training environment

https://openai.com/index/securing-our-frontier-model-training-environment/
92•pretext•8h ago•99 comments

Show HN: Impossible Machines: declaratively program the physical world

https://www.impossiblemachines.xyz
74•bhaprayan•1d ago•17 comments

No Source Code? No Problem

https://queue.acm.org/doi/10.1145/945131.945155
45•ibobev•8h ago•32 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?