frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Carnegie Mellon is putting computer science courses on YouTube for free

https://www.cs.cmu.edu/learn/
1248•pcompeau•10h ago•178 comments

Windows 11 Is Collecting Data on Which Coding Agents and Developer Tools You Use

https://xusheng.dev/posts/windows-coding-agent-telemetry/
496•cwaffles•8h ago•334 comments

BugMeNot has closed

https://www.bugmenot.com/
473•lode•9h ago•218 comments

Optimizely compromised, served malware on Zoom, GitLab

https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
269•kristjansson•8h ago•115 comments

The Fossils That Haunted Lovecraft

https://paleonerdish.wordpress.com/2026/10/30/halloween-special-xiv-the-fossils-that-haunted-love...
14•BigTTYGothGF•1d ago•2 comments

If an App Asks for Full Disk Access or System and App Protection Override

https://support.apple.com/en-us/149699
85•jshier•4h ago•50 comments

OpenCode Browse

https://opencode.ai/product/browse
214•mfiguiere•9h ago•111 comments

Why 3dfx 1 cards had such a washed out color output?

https://twitter.com/id_aa_carmack/status/2122478083319992513
89•mfiguiere•7h ago•12 comments

Running coding agents without handing them my credentials

https://blog.antonio.cx/running-agents-with-lend
94•antoniomika•5h ago•51 comments

Test/verification technique effectiveness with Astra

https://danluu.com/astra-testing/
21•luu•23h ago•5 comments

Chemistry is Actually Geometry

https://chillphysicsenjoyer.substack.com/p/chemistry-is-actually-geometry
195•sebg•10h ago•100 comments

Frame – 31.5" color ePaper display

https://trmnl.com/blog/introducing-frame
378•geerlingguy•14h ago•268 comments

Jiff 1.0: A datetime library for Rust

https://burntsushi.net/jiff/
359•burntsushi•14h ago•80 comments

Mem Is Shutting Down

https://get.mem.ai/blog/mem-is-shutting-down
43•qainsights•5h ago•56 comments

Comcast's "fiber-powered Wi-Fi" is cable, AT&T says in false advertising case

https://arstechnica.com/tech-policy/2026/11/comcast-falsely-advertises-cable-internet-as-fiber-po...
118•jaredwiener•10h ago•106 comments

What is w2rt6byl5nf1opmc-a.com?

https://jack.cab/blog/siterate
323•dverlaeckt80•17h ago•142 comments

Formal Verification Is Not Verifiable

https://alperenkeles.com/posts/formal-verification-is-not-verifiable/
104•zdw•2d ago•36 comments

Stop Filming in Log?

https://digitalfilms.wordpress.com/2026/11/15/stop-filming-in-log/
65•dabinat•1d ago•72 comments

Grazing sheep in fields with solar arrays

https://news.cornell.edu/stories/2026/10/sheep-grazing-solar-fields-offers-farmers-economic-ecolo...
257•PaulHoule•13h ago•246 comments

Why did modems have speakers? (2019)

https://retrocomputing.stackexchange.com/questions/11765
44•Skyfall106•1d ago•25 comments

Launch HN: Axonnic (YC F26) – Sleeves that track fingers and estimate force

37•arshpatankar•10h ago•19 comments

Do Repeat Yourself

https://arcentry.com/blog/do-repeat-yourself/
74•max_sendfeld•19h ago•23 comments

How to Break into Security, Ptacek Edition (2012)

https://krebsonsecurity.com/2012/06/how-to-break-into-security-ptacek-edition/
100•ronfriedhaber•8h ago•24 comments

Microsoft blames monster email outage on software defect introduced in July fix

https://www.theregister.com/saas/2026/11/16/microsoft-blames-monster-email-outage-on-software-def...
293•Bender•17h ago•203 comments

Technical issue at JPMorgan Chase triggers online banking delays for US banks

https://apnews.com/article/bank-outage-chase-wells-fargo-truist-50fee2693c22f597fa6ca51a97ef2cda
755•samk3nny•12h ago•630 comments

Spamhaus new email sender requirements in November

https://www.spamhaus.org/sender-guidelines/
96•computer23•9h ago•85 comments

Tokendoctor – the same Claude Code for up to 38% less

https://github.com/localixai/tokendoctor
20•rsaryev1997•4h ago•8 comments

Squircles

https://linebender.org/wiki/curves/squircle/
175•raphlinus•23h ago•46 comments

Rust changed me as a developer

https://blog.startifact.com/posts/how-rust-changed-me/
250•speckx•10h ago•152 comments

My Quest to push native Three.js quality match AAA Game Engines

https://ben3d.ca/blog/building-the-aaa-lighting-pipeline-in-threejs
132•bhouston•10h ago•53 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?