frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
615•gmays•11h ago•135 comments

Reducing undefined behavior in the C language

https://lwn.net/Articles/1095811/
42•signa11•2h ago•20 comments

Theranos.world

https://www.theranos.world/
343•kbyatnal•10h ago•126 comments

Keyboard differences between Windows and Macs

https://unsung.aresluna.org/deeper-dive-keyboard-differences-between-windows-and-macs/
26•sohkamyung•1h ago•19 comments

Man discovers his parents' coffee machine used 1TB of data in 10 days

https://www.dexerto.com/entertainment/man-discovers-his-parents-coffee-machine-used-1tb-of-data-i...
502•ck2•1d ago•320 comments

Bevy 0.20

https://bevy.org/news/bevy-0-20/
91•Philpax•5h ago•17 comments

I hired an illustrator to draw my house. Now it's my Home Assistant dashboard

https://antonfrolov.substack.com/p/i-hired-an-illustrator-to-draw-my
472•soheilpro•2d ago•82 comments

Yes, and

https://htmx.org/essays/yes-and/
256•Michelangelo11•18h ago•80 comments

Why isn't the industry freaking out about DeepSeek 4.1 Flash?

https://www.dgt.is/blog/2026-10-07-deepseek-freek-out/
496•jonotime•1d ago•418 comments

The value of not getting to the point (2015)

https://ken.arneson.name/2015/11/the-value-of-not-getting-to-the-point/
137•NaOH•9h ago•43 comments

AI-ready biological data: $1.8B global commitment

https://biohub.org/news/virtual-biology-initiative-expansion/
92•ray__•7h ago•13 comments

ADHD as a circadian rhythm disorder: evidence and implications for chronotherapy (2025)

https://www.frontiersin.org/journals/psychiatry/articles/10.3389/fpsyt.2025.1697900/full
216•bookofjoe•7h ago•141 comments

ETH-68: Ethernet Audio Interface for Linux

https://naturalsystems.io/eth68
111•chabad360•1d ago•65 comments

Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?

149•mariocesar•2d ago•242 comments

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
276•speckx•14h ago•153 comments

What should we tell our students?

https://terrytao.wordpress.com/2026/10/08/what-should-we-tell-our-students/
59•sajid•1h ago•53 comments

A 5.3M-year-old deep-sea whale necropolis in the Diamantina Zone

https://www.nature.com/articles/s41586-026-10546-z
108•bryanrasmussen•1d ago•6 comments

Step 5 Preview, a 1M-context MoE from StepFun, shows up on OpenRouter

https://openrouter.ai/stepfun/step-5-preview
115•AnneWodell•11h ago•26 comments

Show HN: Edi Life OS – self-hosted life dashboard with an MCP server for AI

https://github.com/edrisranjbar/lifeos
28•edris0077•4h ago•5 comments

DuckDB Ducklake

https://github.com/duckdb/ducklake
139•saikatsg•1d ago•18 comments

A Terminal Protocol for Program Status (OSC 7501)

https://mitchellh.com/writing/program-status-osc7501
121•mfiguiere•2d ago•39 comments

Show HN: Making a flexible "neon" t-shirt with LED filaments

http://scottbezek.blogspot.com/2026/10/making-flexible-neon-t-shirt-with-leds.html
130•scottbez1•11h ago•24 comments

Show HN: Jevman – AI decision models play Pac-Man

https://opper.ai/jevman-benchmark/
45•felix089•11h ago•6 comments

Orkut.com

https://orkut.com/
160•andreynering•14h ago•120 comments

Archaeologists Are Reconstructing the 'Invisible' Technologies of the Stone Age

https://www.smithsonianmag.com/science-nature/archaeologists-are-reconstructing-the-invisible-tec...
117•Hooke•1d ago•51 comments

The Slow Formation of Durable Software

https://newsletter.dancohen.org/archive/the-slow-formation-of-durable-software/
272•benbreen•2d ago•112 comments

US man given prison sentence for bot-farming music streams

https://thequietus.com/news/us-man-given-prison-sentence-for-bot-farming-music-streams/
141•cdrnsf•1d ago•224 comments

Scaling and benchmarking a critical message bus using a new indexing strategy

https://blog.janestreet.com/scaling-and-benchmarking-a-critical-message-bus/
26•eatonphil•10h ago•0 comments

The dawn of the age of the exoskeleton

https://theconversation.com/the-dawn-of-the-age-of-the-exoskeleton-281804
68•speckx•1d ago•38 comments

OpenAI withdraws three mathematical results

https://twitter.com/danintheory/status/2108065033070789090
257•sashank_1509•21h ago•550 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?