frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Binance-hacker-1029 – $5.6B stolen from Binance

https://arkm.com/explorer/entity/21a94755-f604-45e5-9501-6542e23005e8
1221•Tiberium•10h ago•751 comments

We're releasing the weights of Mistral Large 4

https://mistral.ai/news/mistral-large-4-oss/
1405•kuberwastaken•18h ago•381 comments

Cuis: The Modern Smalltalk-80

https://cuis.st/
89•theanonymousone•3d ago•14 comments

Astroterm: A Planetarium for Your Terminal

https://github.com/da-luce/astroterm
108•nvmdbljstm•1d ago•9 comments

I'm so bad at billiards that I ended up in the hyperbolic plane [video]

https://www.youtube.com/watch?v=kL9BTbIGxLg
103•surprisetalk•1d ago•8 comments

Herdr has released native app

https://github.com/herdrdev/herdr-app
161•cherioo•7h ago•96 comments

We ran AI agent swarms in Minecraft and Mindustry

https://labs.ycombinator.com/projects/games/index.html
263•sandslash•10h ago•89 comments

Wasmer (YC S19) Is Hiring OS/Hypervisor Experts in Europe

https://www.workatastartup.com/jobs/98722
1•syrusakbary•1h ago

A tiny world model running games on a Raspberry Pi Pico 2 W

https://github.com/SheepSeb/tinyworldformer
194•airinei•11h ago•13 comments

H.264 Is Magic (2016)

https://sidbala.com/h-264-is-magic/
405•ea016•16h ago•148 comments

Show HN: I Turned DOOM into a Transformer

https://github.com/mottopanikeiku/doomformer
80•falperc•8h ago•23 comments

LLM Voice

https://martinfowler.com/bliki/LLM-Voice.html
451•ibobev•17h ago•244 comments

Python on My Wrist

https://tildeweb.nl/~michiel/python-on-my-wrist.html
36•roywashere•3d ago•4 comments

A Pig, the State, and War: Porco Rosso (Kurenai No Buta) (2014)

https://journal.animationstudies.org/article/id/66/
111•simonebrunozzi•9h ago•26 comments

Pico CSS is no longer maintained

https://github.com/picocss/pico/discussions/754
113•henrid•6h ago•43 comments

Launch HN: Simantic (YC F26) – Firmware Simulation for AI Agents

66•shong0504•16h ago•18 comments

Patrick Stewart has died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
2864•j4mie•12h ago•609 comments

An illustrated online book on Hewlett-Packard equipment

https://blog.adafruit.com/2026/10/27/an-illustrated-online-book-on-hewlett-packard-equipment/
13•sohkamyung•2d ago•3 comments

The Great American Rascal: Tom Sawyer at 150

https://claremontreviewofbooks.com/the-great-american-rascal/
66•beatstop•10h ago•34 comments

If IPv4 were land

https://iptrust.co/blog/if-ipv4-were-land
277•rokostik•19h ago•385 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
3•benbreen•2d ago•0 comments

Solving Postgres' Count Problem

https://www.paradedb.com/blog/opening-a-closed-tin-part-2
28•philippemnoel•2d ago•3 comments

Iterating Backwards in C

https://www.davidpriver.com/Iterating-backwards-in-C.html
97•cremno•3d ago•56 comments

Show HN: Auto Dismiss Mac OS "Allow <app> to find devices on local networks?"

https://github.com/johncassil/dontallow
129•johncassil•12h ago•97 comments

Sylphide OS: a general-purpose OS for microcontroller-based computers

https://projects.freehackers.org/sylphide-os/
64•iamnothere•11h ago•16 comments

Should a medical diagnosis reshape the past? (2025)

https://chengela.substack.com/p/should-a-medical-diagnosis-reshape
34•wyndham•10h ago•2 comments

What we know so far about Spain train crash

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
184•ZeljkoS•23h ago•356 comments

ElementaryUI – Swift, in the Browser

https://elementary.codes
96•frizlab•11h ago•22 comments

Historical Scientific Instruments

https://nealstephenson.substack.com/p/historical-scientific-instruments
33•peteforde•2d ago•1 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
112•memalign•16h ago•8 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?