frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Nobel Peace Prize for 2026 to Navanethem "NAVI" Pillay

https://www.nobelprize.org/prizes/peace/2026/press-release/
49•Anon84•50m ago•19 comments

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

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

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
787•gmays•18h ago•157 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
52•nreece•5h ago•16 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...
722•ck2•1d ago•444 comments

Keyboard differences between Windows and Macs

https://unsung.aresluna.org/deeper-dive-keyboard-differences-between-windows-and-macs/
167•sohkamyung•7h ago•147 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
669•soheilpro•2d ago•131 comments

Yes, and

https://htmx.org/essays/yes-and/
466•Michelangelo11•1d ago•152 comments

Theranos.world

https://www.theranos.world/
461•kbyatnal•17h ago•158 comments

The value of not getting to the point (2015)

https://ken.arneson.name/2015/11/the-value-of-not-getting-to-the-point/
174•NaOH•15h ago•59 comments

OTel-Native by Design – Building Products That Export to Any Observability Stack

https://opentelemetry.io/blog/2026/otel-native-by-design/
47•dhruv_ahuja•4h ago•9 comments

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

245•mariocesar•2d ago•393 comments

OpenAI, the Partition Principle, and Mathematics

https://karagila.org/2026/openai-pp/
128•md224•11h ago•189 comments

ETH-68: Ethernet Audio Interface for Linux

https://naturalsystems.io/eth68
166•chabad360•1d ago•92 comments

AI-ready biological data: $1.8B global commitment

https://biohub.org/news/virtual-biology-initiative-expansion/
127•ray__•14h ago•18 comments

OpenAI fires three safety researchers for "mishandling research information"

https://techcrunch.com/2026/10/08/fired-openai-safety-researchers-dispute-misconduct-claims-warn-...
26•trakkstar•1h ago•9 comments

Show HN: Quake ported to safe Rust, playable in browser

https://quake-srp.pages.dev/
170•ilreb•5h ago•135 comments

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
307•speckx•21h ago•164 comments

DuckDB Ducklake

https://github.com/duckdb/ducklake
187•saikatsg•1d ago•23 comments

A Terminal Protocol for Program Status (OSC 7501)

https://mitchellh.com/writing/program-status-osc7501
157•mfiguiere•2d ago•47 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
174•scottbez1•18h ago•30 comments

OpenAI withdraws three mathematical results

https://twitter.com/danintheory/status/2108065033070789090
323•sashank_1509•1d ago•577 comments

What should we tell our students?

https://terrytao.wordpress.com/2026/10/08/what-should-we-tell-our-students/
120•sajid•8h ago•147 comments

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

https://openrouter.ai/stepfun/step-5-preview
129•AnneWodell•18h ago•31 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
312•bookofjoe•14h ago•202 comments

I think I found a planet nobody knew existed. I used Claude Code to find it

https://www.reddit.com/r/ClaudeAI/s/mbe5IY2LF9
196•pyduan•1d ago•81 comments

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

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

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

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

Bevy 0.20

https://bevy.org/news/bevy-0-20/
180•Philpax•12h ago•37 comments

Orkut.com

https://orkut.com/
194•andreynering•20h ago•144 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?