frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Matrix Multiplication is Θ(n^2.25) [pdf]

https://github.com/openai/math/blob/main/preprints/The-matrix-multiplication-exponent-is-nine-fou...
557•E-Reverance•7h ago•275 comments

Button Sounds – collection of professionally-recorded button clicks and presses

https://buttons.joshwcomeau.com/
299•gaurang_tandon•5h ago•31 comments

Models Can Communicate via Inference Servers Despite Being Sandboxed

https://www.lesswrong.com/posts/7wzWuLP3HhyBLmKfo/models-can-communicate-via-inference-servers-de...
198•gmays•5h ago•75 comments

Show HN: Old Nvidia and ATI tech demos, running again in the browser

https://gpu-demo-gallery.pages.dev/
84•arkits•4h ago•18 comments

Ternary Bonsai 2.5 27B

https://prismml.com/news/bonsai-2-5-27b
437•b0m•12h ago•137 comments

PenGPT: A Generative Transformer for Handwriting and Sketches

https://greydanus.github.io/2026/11/12/pengpt/
221•smusamashah•7h ago•39 comments

Taking over US Treasury subdomains for $3 each

https://www.intruder.io/research/taking-over-us-treasury-subdomains-for-3-each
65•negura•4h ago•10 comments

Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native

https://rida.dev/blog/bypassing-ios-safari-60-fps-limit
141•vinhnx•5h ago•52 comments

The algebra of dependent types (2025)

https://dotat.at/@/2025-05-28-types.html
15•todsacerdoti•1d ago•1 comments

Marginalia Search, Money, C++, Rust, AI, Stuff

https://www.marginalia.nu/log/a_141_marginalia_update/
91•Curiositry•4h ago•35 comments

GPT-6 models demonstrate intrinsic protein-design capabilities

https://openai.com/index/gpt-6-models-demonstrate-intrinsic-protein-design-capabilities/
251•acossta•11h ago•76 comments

Top open problems in mathematics ranked by LLM-assessed importance

https://www.proofatlas.ai/open-problems/
46•ijidak•5h ago•12 comments

Launch HN: Versine (YC F26) – MCP to send and receive money

84•harshithl1777•11h ago•67 comments

When in Doubt, Flail About

https://www.seangoedecke.com/when-in-doubt-flail-about/
23•zdw•1d ago•3 comments

The Shapes of Rivers

https://dominicroye.github.io/shapes-of-rivers/
49•joexov•20h ago•5 comments

The Spray Bottle

https://mechanical-pencil.com/products/spray-bottle
465•vinhnx•2d ago•107 comments

Macrohistory in Six Facts

https://basilhalperin.com/essays/macrohistory.html
59•tptacek•5h ago•24 comments

A faster algorithm for extracting hexadecimal digits of π

https://www.stylewarning.com/posts/faster-digit-extraction/
33•vinhnx•5h ago•0 comments

Serving Qwen via AWS Lambdas for fun and 80x negative profit

https://noahbuilt.it/writing/qwen-on-5600-lambdas
60•octember•5h ago•10 comments

Active intrusion campaign against Check Point security management servers

https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign
282•louiereederson•16h ago•140 comments

Lua for data representation (2025)

https://citrons.xyz/journal/2025-07-23
49•vinhnx•5h ago•16 comments

New rewritable antimony selenide display shows an image for months without power

https://tmos.org.au/news/new-rewritable-displays-can-show-an-image-for-months-without-power/
31•giuliomagnifico•21h ago•17 comments

I've been drinking wine in my kitchen

https://scottaaronson.blog/?p=10362
167•nill0•5h ago•143 comments

An Italian folding bicycle design that fits into a suitcase

https://www.core77.com/posts/145766/An-Italian-Folding-Bicycle-Design-that-Fits-Into-a-Suitcase
171•surprisetalk•1d ago•117 comments

Gödel Enigma

https://www.helsinki.fi/en/researchgroups/godel-enigma/research/project-description
122•benbreen•1d ago•40 comments

Ask HN: Anthropic is accusing my company of distilling. How can I prove I'm not?

261•weli•15h ago•196 comments

Gemini refused to give me the lyrics to Twinkle Twinkle Little Star

https://www.comentr.com/technology/01M88DWQ0R4NCMYR17AFEWRG1F
160•hoodied•4h ago•104 comments

GTA 6 Running on Windows

https://twitter.com/raul_bs3/status/2125213756238291075
376•andrem•19h ago•460 comments

Swift Death of Statelessness

https://bexx.io/post/swift-death-of-statelessness/
6•bexxmodd•2h ago•0 comments

Here in the World: Letters of Albert Camus, 1944–1959

https://literaryreview.co.uk/here-in-the-world
51•lermontov•7h ago•7 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?