frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Muse Spark Open

https://research.meta.ai/blog/muse-spark-open
682•bigwheels•10h ago•368 comments

RPKI now protects 70% of internet routes

https://ipinfo.io/blog/rpki-protects-70-internet-routes
78•emot•3h ago•23 comments

Any window from your Mac, on your iPhone and iPad

https://github.com/Saffsanity/sill
58•chanana•2h ago•9 comments

Business accounts will consent to Meta scraping their websites Starting Oct. 30

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

Neural networks are clean

https://already-clean.goodfire.com/
559•themgt•12h ago•214 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
77•giuliomagnifico•2d ago•46 comments

What I self-host

https://viceconsole.fyi/blog/2026/10/10/what-i-self-host/
339•BrunoBernardino•7h ago•224 comments

Wayland desktop for Linux with skeuomorphic design

https://github.com/fyzugx/DEsk
548•FinalDestiny•14h ago•215 comments

Non-Determinism Doesn't Matter

https://sklar.rocks/non-determinism-doesnt-matter/
23•sklarsa•1d ago•20 comments

BIPM decides to stop adding leap seconds to UTC

https://www.bipm.org/en/cgpm-2026/resolution-5
106•gliffie•12h ago•51 comments

AdFection: Targeted ads turned into a pipeline for zero-click mercenary spyware

https://citizenlab.ca/research/how-discover-tech-turned-targeted-ads-into-a-pipeline-for-spyware/
412•jcomp•17h ago•576 comments

Jev meets the Trolley Problem

https://zachlandes.com/trolley-problem/
355•zlandes86•11h ago•161 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
271•speckx•8h ago•128 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...
195•johnbehnke•8h ago•150 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/
21•cvoss•2d ago•6 comments

Krea 3 – An image model built for editing at scale

https://www.krea.ai/krea-3
275•dvrp•12h ago•86 comments

Celebrating 70 Years of Fortran

https://fortran-lang.org/news/2026/09-15-Fortran-birthday/
238•rbanffy•13h ago•103 comments

BeBox is a Haiku application that emulates Be Inc.'s BeBox

https://github.com/johnrash/bebox
35•rguiscard•4h ago•9 comments

4 Years of Ludicon

https://www.ludicon.com/castano/blog/2026/10/4-years-of-ludicon/
4•ibobev•2d ago•0 comments

Comparing Chromium Development at Google and Igalia

https://lwn.net/Articles/1094721/
14•signa11•2h ago•0 comments

Why I Wrote PGP (1991, revised 1999)

https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
126•GaryBluto•1d ago•49 comments

Thank You, Deno

https://www.vlt.io/blog/competition-keeps-javascript-moving
33•jcbhmr•3h ago•3 comments

Delta’s Biscoff cookies were supposed to be temporary

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

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

https://libreboot.org/news/libreboot2610.html
260•iamnothere•15h ago•164 comments

Major ICQ security hole (1998)

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

E Ink Kaleido 4

https://www.eink.com/news/detail/EInk-Launches-Latest-Version-of-Color-ePaper-Platform-E-Ink-Kale...
147•Perroboc•9h ago•84 comments

The engineering that allows articulated buses to bend

https://www.theautopian.com/you-wont-believe-the-incredible-engineering-that-allows-articulated-b...
89•CharlesW•1d ago•40 comments

Using AI to reverse engineer hardware

https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/
142•ErenayDev•13h ago•122 comments

Show HN: Unfenced – Land for sale that borders public land

https://unfenced.land/
279•otherwatersflow•16h ago•187 comments

Aidlc: Adaptive workflow steering rules for AI coding agents

https://github.com/awslabs/aidlc-workflows
20•pramodbiligiri•20h ago•18 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?