frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
343•PaulHoule•7h ago•104 comments

German police probe student poster slur (Lick my balls Merz) against Merz

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:260306-99-743434/
13•roflcopter69•13m ago•2 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
132•soypat•5h ago•65 comments

this css proves me human

https://will-keleher.com/posts/this-css-makes-me-human/
234•todsacerdoti•9h ago•82 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
169•dnw•6h ago•131 comments

Maybe there's a pattern here?

https://dynomight.net/pattern/
88•surprisetalk•2d ago•54 comments

Galileo's handwritten notes found in ancient astronomy text

https://www.science.org/content/article/galileo-s-handwritten-notes-found-ancient-astronomy-text
93•tzury•1d ago•18 comments

The Longing (1999)

https://www.cluetrain.com/book/longing.html
10•herbertl•3d ago•1 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
245•squidleon•17h ago•137 comments

Querying 3B Vectors

https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/
28•surprisetalk•3d ago•1 comments

Helix: A post-modern text editor

https://helix-editor.com/
79•doener•7h ago•22 comments

My application programmer instincts failed when debugging assembler

https://landedstar.com/blog/posts/how-my-application-programmer-instincts-failed-when-debugging-a...
4•lifefeed•1d ago•0 comments

Why New Zealand is seeing an exodus of over-30s

https://www.cnn.com/2026/03/06/world/new-zealand-australia-emigration-midlife-intl-hnk-dst
25•Tomte•1h ago•16 comments

Editing changes in patch format with Jujutsu

https://www.knifepoint.net/~kat/kb-jj-patchedit.html
12•cassepipe•2d ago•2 comments

C# strings silently kill your SQL Server indexes in Dapper

https://consultwithgriff.com/dapper-nvarchar-implicit-conversion-performance-trap
91•PretzelFisch•8h ago•61 comments

Modernizing swapping: virtual swap spaces

https://lwn.net/Articles/1059201/
14•voxadam•1d ago•3 comments

Tech employment now significantly worse than the 2008 or 2020 recessions

https://twitter.com/JosephPolitano/status/2029916364664611242
838•enraged_camel•13h ago•564 comments

CT Scans of Health Wearables

https://www.lumafield.com/scan-of-the-month/health-wearables
210•radeeyate•17h ago•43 comments

Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs

48•sam_palus•13h ago•70 comments

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

https://github.com/c0m4r/kula
39•c0m4r•7h ago•21 comments

What canceled my Go context?

https://rednafi.com/go/context-cancellation-cause/
36•mweibel•2d ago•21 comments

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

379•shannoncc•7h ago•251 comments

The shady world of IP leasing

https://acid.vegas/blog/the-shady-world-of-ip-leasing/
100•alibarber•10h ago•54 comments

Entomologists use a particle accelerator to image ants at scale

https://spectrum.ieee.org/3d-scanning-particle-accelerator-antscan
122•gmays•15h ago•22 comments

Show HN: 1v1 coding game that LLMs struggle with

https://yare.io
19•levmiseri•1d ago•5 comments

Hardening Firefox with Anthropic's Red Team

https://www.anthropic.com/news/mozilla-firefox-security
554•todsacerdoti•19h ago•153 comments

A Modular Robot Dashboard

https://github.com/transitiverobotics/transact
14•chfritz•1d ago•0 comments

Game about Data of America

https://americaindata.com/
17•fidicen•7h ago•3 comments

Ada 2022

https://www.adaic.org/ada-resources/standards/ada22/
128•tosh•11h ago•27 comments

A tool that removes censorship from open-weight LLMs

https://github.com/elder-plinius/OBLITERATUS
152•mvdwoord•17h ago•66 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?