frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Get your Windows license refund

https://en.refund4freedom.org/
427•smartmic•4h ago•162 comments

Just the rumour of a bug is enough to find an exploit these days

https://anil.recoil.org/notes/rumour-is-the-exploit
91•avsm•2h ago•27 comments

GUIs should be fully keyboard-driven

https://ckardaris.com/blog/2026/08/28/keyboard-driven-guis.html
120•ckardaris•2h ago•82 comments

U.S. sanctions against the A/I Collective

https://www.inventati.org/
259•exiguus•5h ago•233 comments

Inception-style curved map for turn-by-turn directions

https://www.orbify.eu/demo/
261•smoser•5h ago•94 comments

Htmx 4.0.0

https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released
184•rmsaksida•4h ago•48 comments

GLM-5.3 is now open-weight

https://twitter.com/Zai_org/status/2093354097122455713
271•jeudesprits•2h ago•99 comments

Attimet (YC F24) Is Hiring Members of Technical Staff – Engineering and Research

https://www.ycombinator.com/companies/attimet/jobs/6btZFDg-member-of-technical-staff-engineering
1•kbanothu•1h ago

How Dactyl Works

https://dactyl.dev/blog/how-dactyl-works/
51•anorak27•2h ago•9 comments

Barrier lake continues to pose flood risk, China warns

https://kathmandupost.com/national/2026/08/28/barrier-lake-continues-to-pose-flood-risk-china-warns
31•r721•2h ago•4 comments

Verschlimmbesserung: The Word Your Software Updates Need

https://geekyschmidt.com/post/2026-08-25-verschlimmbesserung/
42•speckx•3h ago•11 comments

The Twelve-Factor App

https://12factor.net/
109•jxmorris12•19h ago•54 comments

State of the Map 2026

https://2026.stateofthemap.org/
85•lode•4h ago•33 comments

Global demand has spawned a worldwide boom in illegal sand mining (2015)

https://www.wired.com/2015/03/illegal-sand-mining/
19•EndXA•2d ago•2 comments

The conservationists helping to restore Africa’s wild dog populations

https://www.smithsonianmag.com/science-nature/africa-wild-dogs-most-hated-carnivores-continent-he...
35•speckx•3h ago•12 comments

Migrating to HTTPX2

https://github.com/openai/openai-python/blob/main/httpx2.md
158•tosh•6h ago•69 comments

Hilariously Fast Volume Computation with the Divergence Theorem (2018)

https://alyssarosenzweig.ca/blog/hilariously-fast-volume-computation-with-the-divergence-theorem....
204•luu•9h ago•51 comments

Secrets of the Atomic City

https://longreads.com/2026/08/06/radiation-paducah-atavist/
7•mooreds•45m ago•1 comments

An investigation into the state of corvid–human relations

https://www.audubon.org/magazine/are-crows-really-our-friends
71•speckx•5h ago•45 comments

“It works better in the app”

https://shkspr.mobi/blog/2026/08/it-works-better-in-the-app/
559•blenderob•5h ago•364 comments

Luanti removed from Google Play due to baseless AI copyright notice

https://blog.luanti.org/2026/08/27/luanti-dmca-tracer-ai/
291•miniBill•11h ago•87 comments

Don't use musl if you care about performance

https://blog.brokk.ai/dont-use-musl-if-you-care-about-performance/
35•jbellis•2h ago•21 comments

Smaller reactors bring nuclear power closer to fulfilling its promise

https://www.nature.com/articles/d41586-026-02506-4
59•sohkamyung•5h ago•83 comments

EasyEffects can massively improve laptop speaker sound quality

https://www.osnews.com/story/145883/easyeffects-should-be-part-of-every-linux-distribution-and-de...
17•birdculture•2h ago•7 comments

HTTPX2 – A next-generation HTTP client for Python

https://github.com/pydantic/httpx2
89•tosh•6h ago•29 comments

Debugging my new network, when 10 Gigabit Ethernet Runs at 300 Megabits

https://www.hanselman.com/blog/debugging-my-new-network-when-10-gigabit-ethernet-runs-at-300-mega...
21•speckx•3h ago•8 comments

“Weird” is a weird word

https://www.deadlanguagesociety.com/p/weird-is-a-weird-word
41•pseudolus•4h ago•17 comments

Judge rules Trump administration’s blacklisting of Anthropic was illegal

https://www.nytimes.com/2026/08/27/technology/anthropic-government-blacklisting-ruling.html
320•jbegley•15h ago•271 comments

Show HN: SubSmith – Turn your own videos into language-learning material

https://subsmith.app
57•IbrahimF96•7h ago•44 comments

Interactive Warhammer 40k Galaxy Map

https://cartographia40k.com/
114•gbxyz•9h ago•38 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?