frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

LLMs as a Cognitive Virus

https://arxiv.org/abs/2609.03344
69•canjobear•1h ago•26 comments

The Real Luxuries In Life

https://feld.com/archives/2026/09/the-real-luxuries-in-life/
327•tosh•4h ago•139 comments

Private German rocket makes history, reaches orbit from European soil

https://www.space.com/space-exploration/launches-spacecraft/isar-aerospace-second-launch-norway-a...
134•bookmtn•1h ago•44 comments

Finite time blowup for an averaged three-dimensional Navier-Stokes equation (2014)

https://terrytao.wordpress.com/2014/02/04/finite-time-blowup-for-an-averaged-three-dimensional-na...
30•gmays•1h ago•12 comments

Learn Programming with OCaml

https://usr.lmf.cnrs.fr/lpo/
117•elvis70•5h ago•50 comments

The "$60 Gaming PC" – AMD BC-250 (2025)

https://devquasar.com/hardware/the-60-gaming-pc-amd-bc-250/
223•networked•8h ago•71 comments

Visualizing Rust's Vtables: How dyn Trait Works In Memory

https://sofiabelen.github.io/projects/visualizing-rusts-vtables-how-dyn-trait-works-in-memory/
91•torutofu•8h ago•9 comments

Balrogg: Demonically compacting (up to 15%) lossless Vorbis/Opus recompressor

https://github.com/iczelia/balrogg
35•palaiologos•2d ago•7 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
2044•moultano•1d ago•1494 comments

Isar Aerospace launch into orbit [video]

https://www.youtube.com/watch?v=Ss1DUqLjecc
48•stefan_•1h ago•9 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
725•negura•23h ago•417 comments

Nitter has more working instances than before the takedowns

https://codeberg.org/mv12star/shitter/wiki/Instances
576•Cider9986•21h ago•265 comments

Steffen's Polyhedron

https://www.gregegan.net/SCIENCE/Steffen/Steffen.html
40•pavel_lishin•2d ago•3 comments

Delidded Intel I9-14900KS CT Scan

https://www.lttlabs.com/articles/2026/09/02/delidded-intel-i9-14900ks
31•willx86•3d ago•0 comments

Terpstra Keyboard

http://terpstrakeyboard.com/
103•cl3misch•11h ago•48 comments

Formalizing Fermat's Last Theorem

https://www.anthropic.com/research/formalizing-fermats-last-theorem
732•jlebar•1d ago•473 comments

Stopping the Unstoppable: When an unstoppable force meets a dashpot snubber

https://practical.engineering/blog/2026/9/1/stopping-the-unstoppable
34•crescit_eundo•4d ago•3 comments

How Swiss tables work in Go built-in map

https://victoriametrics.com/blog/go-swiss-table-map/index.html
3•valyala•2d ago•0 comments

Wikimedia Foundation Workers Overwhelmingly Vote to Form Union with CWA

https://wikiworkersunited.org/announcements/2026-09-04-us-wikimedia-foundation-workers-overwhelmi...
231•robin_reala•5h ago•96 comments

Singapore subway (mrt) information display types

https://www.sgtrains.com/technology-infosys.html
36•gregorvand•3d ago•7 comments

A bizarre Commodore 64 peripheral, a mime, and some pretty bad ads

https://buttondown.com/suchbadtechads/archive/spartan-and-the-mime/
62•rfarley04•9h ago•4 comments

Statichost.eu – European static site hosting

https://www.statichost.eu/
428•p4bl0•1d ago•193 comments

Can AI design circuit boards yet?

https://eebench.org/blog/can-ai-design-circuit-boards-yet/
351•iopapa•1d ago•203 comments

.gitignore Everything by Default

https://packagemain.tech/p/gitignore-everything-by-default
127•der_gopher•8h ago•138 comments

A Million Falcons Went Missing. Here’s How They Were Found

https://www.nationalgeographic.com/animals/article/falcons-migration-angola-falcopolis
58•bryanrasmussen•3d ago•26 comments

AI handles incidents, engineers lose touch with their systems

https://www.sylvainkalache.com/blog/ai-handles-incidents-engineers-lose-touch-with-their-systems
349•sylvainkalache•13h ago•305 comments

Git hosting that never leaves Europe

https://pushin.eu
297•sevenseacat•15h ago•148 comments

Write Software in Latin (2025) [video]

https://www.youtube.com/watch?v=fGZpaqMha0o
34•akkartik•2d ago•16 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
379•stingrae•1d ago•117 comments

Ask HN: Resources to get good at soldering?

224•tosmatos•3d 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?