frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Muse – Meta’s personal AI agent

https://ai.meta.com/muse/
320•yks•6h ago•315 comments

Large language models develop novel social biases through adaptive exploration

https://openreview.net/challenge?redirect=%2Fforum%3Fid%3Dpc7fqaOcAH
93•paimapi•4h ago•48 comments

How to build a printer

https://nishantjosh.dev/blogs/how-to-build-a-fking-printer/
142•cat-whisperer•4h ago•33 comments

Navier-Stokes – Tristan Buckmaster [pdf]

https://cims.nyu.edu/~tristanb/statement.pdf
1270•procedurecall•20h ago•552 comments

AlphaGenome Atlas: a high-resolution map of human DNA

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/alphagenome-atlas/
495•utiiiD•11h ago•115 comments

DaVinci Resolve 21.1

https://www.blackmagicdesign.com/media/release/20260908-03
354•tosh•12h ago•157 comments

On the Navier–Stokes Millennium Prize Problem

https://openai.com/index/navier-stokes-solution/
1127•tedsanders•8h ago•973 comments

The Microeconomics of Artificial Intelligence (2025)

https://direct.mit.edu/books/oa-monograph/6067/The-Microeconomics-of-Artificial-Intelligence
31•neehao•2d ago•9 comments

Benchmarking Qwen3.8 27B quantizations: 4-bit holds up, 1-bit collapses

https://quesma.com/blog/qwen38-27b-quantizations-benchmarked/
217•stared•11h ago•107 comments

Tao: Open math problems being non-renewably mined by AI

https://mathstodon.xyz/@tao/117237320796901560
150•_alternator_•5h ago•95 comments

27.5KB language-agnostic WebGPU syntax highlighter

https://gpu-lexer.vercel.app/
7•bpierre•48m ago•0 comments

I-have-ADHD: A skill to stop coding agents from burying the answer

https://github.com/ayghri/i-have-adhd
324•domhudson•11h ago•256 comments

Kimi K3 (2.8T) at 1 token/s on a MacBook Pro, streamed from four SSDs

https://github.com/argonautlabsai/deltafin
211•Argonautlabs•5h ago•112 comments

Getting phpBB 1.4.4 working in Docker

https://www.thran.uk/writ/devlog/2026/09/phpbb-144-in-docker.html
25•HeckFeck•1d ago•8 comments

A Topological Picture Book, Rendered

https://e-infinity.space/picture-book/
54•mathgenius•3h ago•7 comments

Ask HN: 3.5 inch diskette read errors, would a period correct drive do better?

11•rietta•1d ago•11 comments

Animation in Bevy: The Big Picture

https://glocq.com/en/blog/20260827/
46•ibobev•5h ago•3 comments

Show HN: LLM Attention Visualization

https://ishamf.dev/p/llm-attention-visualizer/
131•ifz•9h ago•22 comments

Mercury 2.5

https://www.inceptionlabs.ai/blog/introducing-mercury-2-5
124•Topfi•5h ago•16 comments

Implementation of GCC's Nested Functions (vs. C++ Lambdas)

https://uecker.codeberg.page/2026-09-05.html
58•uecker•3d ago•9 comments

Replacing a Rust Enum with a 64-Bit Word Made My Interpreter 17% Faster

https://pointersgonewild.com/2026-08-25-replacing-a-rust-enum-with-a-64-bit-word/
87•metrofun•3d ago•40 comments

An Accidental Blackboard

https://martinfowler.com/articles/exploring-gen-ai/an-accidental-blackboard.html
3•saikatsg•3d ago•0 comments

The Helicopter with Radioactive Blades

https://hackaday.com/2026/09/07/the-helicopter-with-radioactive-blades/
148•zdw•1d ago•46 comments

Tracing np.add, all the way down

https://blog.veitheller.de/numpy.html
38•luu•4d ago•2 comments

We built our house for LAN parties (2024)

https://lanparty.house/
420•fittingopposite•3d ago•308 comments

Show HN: Copperhead – Cursor for circuit boards

https://copperhead.sh/
208•animeshchouhan•12h ago•82 comments

Reverse Engineering an ASIC

https://kjartanvandriel.github.io/asic/
34•burekqueen•1d ago•4 comments

US to ban Canadian dairy, alcohol, motor vehicle imports on September 29

https://www.reuters.com/business/us-ban-canadian-dairy-alcohol-motor-vehicle-imports-september-29...
17•JumpCrisscross•49m ago•7 comments

Codex silently begs agents to make arbitrary web requests

https://spader.zone/wtf/
6•dboon•1h ago•0 comments

The 92-Year-Old Mathematician and the Teenage Apprentice

https://www.nytimes.com/2026/09/06/science/92-year-old-mathematician-apprentice.html
143•robinhouston•2d ago•11 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?