frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Yet another way to invoke functions without parentheses

https://blog.ikaes.de/yet-another-way-to-invoke-functions-without-parentheses/
36•aragonite•2d ago•9 comments

Meta’s new commercial terms will allow the scraping of news sites: experts

https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-site...
319•0in•11h ago•114 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
360•johnnyApplePRNG•3d ago•122 comments

Muse Spark Open

https://research.meta.ai/blog/muse-spark-open
828•bigwheels•17h ago•415 comments

The Economic Complexity of the Western Roman Empire

https://www.michelecoscia.com/?p=2613
27•mikk14•2d ago•7 comments

Two-Stack Sliding-Window Aggregation

https://orlp.net/blog/two-stack-sliding-window-aggregation/
35•surprisetalk•2d ago•1 comments

The insider trading you're allowed to do

https://coached.com/essays/the-insider-trading-youre-allowed-to-do/
51•rohanm93•3h ago•31 comments

RPKI now protects 70% of internet routes

https://ipinfo.io/blog/rpki-protects-70-internet-routes
168•emot•10h ago•57 comments

Neural networks are clean

https://already-clean.goodfire.com/
705•themgt•18h ago•266 comments

The Folders Programming Language

https://danieltemkin.com/esolangs/folders
85•gurst•5h ago•11 comments

What I self-host

https://viceconsole.fyi/blog/2026/10/10/what-i-self-host/
509•BrunoBernardino•14h ago•322 comments

Wayland desktop for Linux with skeuomorphic design

https://github.com/fyzugx/DEsk
621•FinalDestiny•21h ago•248 comments

New Withings Users Must Pay $99/Year for Apple Health Syncing

https://support.withings.com/hc/en-us/community/posts/51887047154577-Unacceptable-Apple-Health-Sy...
307•johnbehnke•15h ago•200 comments

Apple routed a graphite pipe through the iPhone Duo's hinge to dissipate heat

https://www.pcmag.com/news/apple-routed-a-graphite-pipe-through-the-iphone-duos-hinge
146•giuliomagnifico•3d ago•105 comments

Jev meets the Trolley Problem

https://zachlandes.com/trolley-problem/
478•zlandes86•18h ago•202 comments

BIPM decides to stop adding leap seconds to UTC

https://www.bipm.org/en/cgpm-2026/resolution-5
193•gliffie•18h ago•92 comments

Any window from your Mac, on your iPhone and iPad

https://github.com/Saffsanity/sill
165•chanana•9h ago•37 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
356•speckx•15h ago•163 comments

Japanese people still aren't having sex. And nobody knows why

https://www.sciencefocus.com/news/japanese-people-sex-inactivity-inexperience
13•baranul•1h ago•16 comments

Celebrating 70 Years of Fortran

https://fortran-lang.org/news/2026/09-15-Fortran-birthday/
282•rbanffy•20h ago•118 comments

'500-hour' Order of the Sinking Star is as complex and exhausting as it sounds

https://www.polygon.com/order-of-the-sinking-star-impressions/
149•cvoss•2d ago•103 comments

Thank You, Deno

https://www.vlt.io/blog/competition-keeps-javascript-moving
92•jcbhmr•10h ago•19 comments

New York City's iconic horse-drawn carriages expected to take their last trot

https://www.cnn.com/2026/10/13/us/nyc-horse-carriage-ban
45•1659447091•2d ago•48 comments

Krea 3 – An image model built for editing at scale

https://www.krea.ai/krea-3
314•dvrp•18h ago•100 comments

Comparing Chromium Development at Google and Igalia

https://lwn.net/Articles/1094721/
54•signa11•9h ago•16 comments

Why I Wrote PGP (1991, revised 1999)

https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
164•GaryBluto•2d ago•60 comments

Major ICQ security hole (1998)

https://opennet.ru/base/maillist/169.txt.html
95•sysoleg•3d ago•53 comments

Libreboot 26.10 "Ominous Olive" released with UEFI, Chromebook support

https://libreboot.org/news/libreboot2610.html
290•iamnothere•22h ago•181 comments

Delta’s Biscoff cookies were supposed to be temporary

https://www.seriouseats.com/biscoff-history-12168161
226•mhb•2d ago•173 comments

Using AI to reverse engineer hardware

https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/
202•ErenayDev•20h ago•181 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?