frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Decade of Docker Containers

https://cacm.acm.org/research/a-decade-of-docker-containers/
148•zacwest•3h ago•88 comments

The Millisecond That Could Change Cancer Treatment

https://spectrum.ieee.org/flash-radiotherapy
134•marc__1•4h ago•40 comments

Dumping Lego NXT firmware off of an existing brick

https://arcanenibble.github.io/dumping-lego-nxt-firmware-off-of-an-existing-brick.html
30•theblazehen•1d ago•0 comments

Ki Editor - an editor that operates on the AST

https://ki-editor.org/
309•ravenical•9h ago•102 comments

macOS code injection for fun and no profit (2024)

https://mariozechner.at/posts/2024-07-20-macos-code-injection-fun/
21•jstrieb•3d ago•0 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
68•PaulHoule•3d ago•7 comments

Re-creating the complex cuisine of prehistoric Europeans

https://arstechnica.com/science/2026/03/recreating-the-complex-cuisine-of-prehistoric-europeans/
40•apollinaire•23h ago•9 comments

We're Training Students to Write Worse to Prove They're Not Robots

https://www.techdirt.com/2026/03/06/were-training-students-to-write-worse-to-prove-theyre-not-rob...
54•PretzelFisch•1h ago•23 comments

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
606•PaulHoule•20h ago•202 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
62•lardissone•5h ago•20 comments

The yoghurt delivery women combatting loneliness in Japan

https://www.bbc.com/travel/article/20260302-the-yoghurt-delivery-women-combatting-loneliness-in-j...
143•ranit•7h ago•101 comments

Self-Portrait by Ernst Mach (1886)

https://publicdomainreview.org/collection/self-portrait-by-ernst-mach-1886/
64•Hooke•1d ago•11 comments

SigNoz (YC W21, open source Datadog) Is Hiring across roles

https://signoz.io/careers
1•pranay01•3h ago

PC processors entered the Gigahertz era today in the year 2000 with AMD's Athlon

https://www.tomshardware.com/pc-components/cpus/pc-processors-entered-the-gigahertz-era-today-in-...
131•LorenDB•6h ago•103 comments

War Prediction Markets Are a National-Security Threat

https://www.theatlantic.com/technology/2026/03/polymarket-insider-trading-going-get-people-killed...
6•fortran77•13m ago•0 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
324•soypat•18h ago•203 comments

Filesystems Are Having a Moment

https://madalitso.me/notes/why-everyone-is-talking-about-filesystems/
124•malgamves•9h ago•66 comments

this css proves me human

https://will-keleher.com/posts/this-css-makes-me-human/
343•todsacerdoti•22h ago•107 comments

48x32, a 1536 LED Game Computer (2023)

https://jacquesmattheij.com/48x32-introduction/
59•duck•2d ago•12 comments

Helix: A post-modern text editor

https://helix-editor.com/
295•doener•20h ago•145 comments

Tinnitus Is Connected to Sleep

https://www.sciencealert.com/tinnitus-is-somehow-connected-to-a-crucial-bodily-function
127•bookofjoe•6h ago•152 comments

Bourdieu's theory of taste: a grumbling abrégé

https://dynomight.net/bourdieu/
18•sebg•2d ago•11 comments

Uploading Pirated Books via BitTorrent Qualifies as Fair Use, Meta Argues

https://torrentfreak.com/uploading-pirated-books-via-bittorrent-qualifies-as-fair-use-meta/
338•askl•11h ago•193 comments

Seurat Most Famous for Paris Park Painting Yet Half His Paintings Were Seascapes

https://www.smithsonianmag.com/smart-news/georges-seurat-is-most-famous-for-his-pointillist-paint...
19•bookofjoe•4d ago•7 comments

Galileo's handwritten notes found in ancient astronomy text

https://www.science.org/content/article/galileo-s-handwritten-notes-found-ancient-astronomy-text
200•tzury•2d ago•36 comments

Working and Communicating with Japanese Engineers

https://www.tokyodev.com/articles/working-and-communicating-with-japanese-engineers
117•zdw•4d ago•70 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
62•amaury_bouchard•11h ago•19 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

930•shannoncc•20h ago•797 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
397•dnw•19h ago•281 comments

The Banality of Surveillance

https://benn.substack.com/p/the-banality-of-surveillance
44•limbicsystem•3h ago•16 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•10mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•10mo 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•10mo 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•10mo 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•10mo 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•10mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•10mo 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•10mo 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•10mo 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•10mo 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•10mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•10mo ago
What are the biggest use cases of GPU accelerated sorting?