frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenSSH adds support for composite ML-DSA 87 / ECDSA p384

https://github.com/openssh/openssh-portable/commit/fc6f265302adcbf88c5b4273e9cc9f4e5f81ab94
262•weeha•7h ago•62 comments

How Hot Are Mitochondria?

https://matthewleighton.substack.com/p/how-hot-are-mitochondria
30•mleighton•4d ago•3 comments

Intel confirms Hyper-Threading flaw in several CPUs

https://tldrdailynews.com/news/technology/technology/intel-confirms-unfixable-hyper-threading-fla...
168•lucamark•5h ago•79 comments

MAI Transcribe 2.5: The new frontier of speech recognition

https://microsoft.ai/news/mai-transcribe-2-5/
289•gmays•9h ago•90 comments

Joint statement from Anthropic and OpenAI on recent advances in cryptography

https://www.anthropic.com/news/joint-statement-cryptography
1156•aghuang•20h ago•762 comments

Minisign 2 Is Here

https://00f.net/2026/12/04/minisign2/
114•chmaynard•6h ago•14 comments

Snakes can cartwheel, hilarious new slow-motion footage shows

https://www.sciencefocus.com/news/snakes-cartwheel-footage
208•ColinWright•4d ago•42 comments

Evidence for the Tomb of Alexander the Great at Alexandria's Shallalat Gardens

https://www.academia.edu/182065274/The_Sema_of_Alexandria_Archaeological_Architectural_and_Topogr...
74•tsaki•4d ago•4 comments

Gaia unveils two-billion-star map of our galaxy and beyond

https://www.esa.int/articles/about-us/directorates/science/gaia/gaia-unveils-two-billion-star-map...
222•rexbee•11h ago•89 comments

The bitter lesson for agent memory

https://hatchery.build/blog/the-bitter-lesson-for-agent-memory
394•tosh•13h ago•130 comments

The Busy Beaver Frontier (2020) [pdf]

https://www.scottaaronson.com/papers/bb.pdf
14•srcreigh•1d ago•2 comments

OpenBridge, a modern standard for industrial UIs

https://www.openbridge.no
361•starkparker•16h ago•83 comments

Stanford Lecture: Dr. Don Knuth – Claude and the Art of Computer Programming

https://www.youtube.com/watch?v=-1AajkwngqM
124•froh•2d ago•27 comments

The need for at least a third mobile OS option

https://blog.ovalerio.net/archives/3359
330•brazukadev•18h ago•274 comments

I gave Claude a $100 drone and some instructions

https://oleksgorpynich.com/blog/claude-drone
238•oleksg•14h ago•93 comments

Open Music Theory

https://viva.pressbooks.pub/openmusictheory/
197•gregsadetsky•11h ago•42 comments

Handling dates and times in SQL queries with PostgreSQL

https://www.mon-code.net/post/186/handling-dates-and-times-in-sql-queries-with-postgresql
12•metfan•3d ago•6 comments

Mistral Vibe: The coding agent for chonky codebases

https://mistral.ai/products/vibe/
437•doener•21h ago•152 comments

Linux 7.3 on a stock 4 MB Macintosh Plus

https://github.com/ActionRetro/nugget-linux
156•hochmartinez•12h ago•42 comments

WordPress Plugin WP Rocket CVE-2026-125812: Exploits in the Wild, Dissected

https://noc.org/articles/wp-rocket-vulnerability-exploit-cve-2026-125812
31•sucuri2•7h ago•18 comments

Yes, P-256 is probably cooked

https://www.int08h.com/post/how-cooked-are-your-keys/
357•int08h•19h ago•194 comments

Two-Photon Mesoscope

https://github.com/benkrasnow/Two_photon_mesoscope
71•tobr•4d ago•9 comments

Unlimited SVG Works: Projection of Visual Worlds into SVG-Anything

https://github.com/baidu/Unlimited-SVG/
96•tingletech•4d ago•10 comments

Plato's Key-a rotation and a global scale let an LLM use other's representations

https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
85•tomrod•11h ago•24 comments

DKIM was introduced at a unlucky time; or, happy 20 years of CVE-2008-0166

https://dreamstation.systems/personal/dkimdebian.html
223•robinpie•18h ago•37 comments

Delete the Paper, Beat the Authors: Introducing FrontierCS 2 (Benchmark)

https://bair.berkeley.edu/blog/2026/12/03/fcs2/
14•charlie42•4h ago•9 comments

Claude Coke: Would Al agents buy cocaine from the dark web?

https://ghollbeck.github.io/claude-coke-blog/
98•flawn•13h ago•64 comments

They should be dead: how snow insects survive freezing temps

https://www.quantamagazine.org/they-should-be-dead-how-snow-insects-survive-freezing-temps-20261204/
34•titusblair•1d ago•4 comments

Owls in Towels

https://owlsintowels.org/
543•jjgreen•1d ago•51 comments

Cryptography rumors are getting more specific

https://www.johndcook.com/blog/2026/12/05/dlp-attack/
228•christophetd•16h ago•148 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?