frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I can't stop thinking about Papua New Guinea

https://notnottalmud.substack.com/p/why-i-cant-stop-thinking-about-papua
185•networked•3h ago•53 comments

iOS 27, iPadOS 27, and macOS 27

https://www.apple.com/newsroom/2026/09/major-updates-for-apples-software-platforms-are-now-availa...
609•throw0101d•16h ago•687 comments

OpenArm: An open-source 7DOF humanoid arm

https://github.com/enactic/OpenArm
94•Lwrless•1d ago•19 comments

Linux from Scratch

https://www.linuxfromscratch.org/
186•sippingabonedry•5h ago•59 comments

4,400-Year-Old Tomb of Egyptian Judge Found at Saqqara with Colors on Walls

https://arkeonews.net/4400-year-old-tomb-of-an-egyptian-judge-found-at-saqqara-with-colors-still-...
139•arunbahl•2d ago•40 comments

Pion, an agent designed to run any company autonomously

https://andonlabs.com/blog/why-we-built-pion
410•lukaspetersson•16h ago•513 comments

Charts built for Chat

https://dbtcharts.com/blog/charts-built-for-chat/
232•thingsilearned•12h ago•71 comments

XCancel service is suspended until further notice

https://xcancel.com/#
642•gaganyaan•1d ago•941 comments

Alternatives to MinIO for single-node local S3

https://rmoff.net/2026/01/14/alternatives-to-minio-for-single-node-local-s3/
8•rmoff•1h ago•9 comments

Lingo.dev (YC F24) is hiring a senior content engineer (Remote, worldwide)

https://lingo.dev/en/careers/ff88132a-cb79-4d35-a6a0-a6230de7a013
1•maxpr•3h ago

Show HN: Redis City – Explore how Redis works in an interactive 3D model

https://poltora.dev/redis
94•poltora•2d ago•16 comments

Dropping eBPF CPU Cost by About 90% with Memoization (Not AI Gen)

https://nathannaveen.dev/posts/dropping-ebpf-cpu-cost-by-90/
118•nathannaveen•19h ago•27 comments

OpenAI bots knew about the RubyGems caching vulnerability

https://tenderlovemaking.com/2026/09/11/what-a-time-to-be-alive/
465•gregnavis•21h ago•372 comments

Glyph Immersive

https://glyph.kateander.com/
6•ikers•3d ago•1 comments

A beginning for mathematics

https://www.daniellitt.com/blog/2026/9/13/a-beginning-for-mathematics/
226•robinhouston•18h ago•122 comments

Distributed Systems Classics (2017)

https://nvartolomei.com/dist-sys-classics/
308•grep_it•18h ago•66 comments

Compressing a flag to 11 bits

https://read.vantezzen.io/miniflags
147•bennett_dev•2d ago•59 comments

The k-server conjecture is true

https://arxiv.org/abs/2609.15979
8•iamsyr•2h ago•0 comments

High-performance garbage collection for C++

https://v8.dev/blog/high-performance-cpp-gc
42•motownphilly•22h ago•5 comments

Forgotten Woodlands

https://storymaps.arcgis.com/stories/9b790daf22ba4e87836f467abb1c7e49
64•NaOH•3d ago•22 comments

US confirms for first time it has deployed space weapons

https://www.bbc.com/news/articles/ck790xg41ygro
43•harporoeder•6h ago•17 comments

Ubuntu 26.10 completes transition to Rust-based coreutils

https://www.omgubuntu.co.uk/2026/09/ubuntu-2610-rust-coreutils-complete
190•theanonymousone•20h ago•197 comments

Show HN: Macros with a Behringer FCB1010 MIDI Pedalboard in macOS

https://github.com/JamesRyanATX/fcbnerd
74•fretlessjazz•11h ago•18 comments

Principles for Fast Tokio Applications

https://dial9-rs.github.io/blog/principles-for-fast-tokio-applications/
215•carllerche•18h ago•52 comments

Ask HN: What are you working on? (September 2026)

337•david927•1d ago•1031 comments

People who can't picture anything are rewriting the science of imagination

https://dailyneuron.com/aphantasia-mental-imagery-brain-network/
172•giuliomagnifico•20h ago•244 comments

Synthesizing Loop-Free Programs with Rust and Z3 (2020)

https://fitzgen.com/2020/01/13/synthesizing-loop-free-programs.html
15•karelpeeters•3d ago•0 comments

Steam Frame starts at $1059

https://store.steampowered.com/hardware/steamframe
677•bsimpson•16h ago•514 comments

Backprop Alternative: Augmented Lagrangian Predictive Coding

https://pub.sakana.ai/pc-alm/
97•guld•16h ago•34 comments

How my e-reader lost its stripes

https://www.serpentine.com/posts/2026/x3-stripes/
212•simonmic•17h ago•40 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?