frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Bayer's 'Feed a Bee' campaign was used to fight bee protections

https://www.grilled.media/feed-a-bee/
188•randycupertino•1h ago•57 comments

Cloudflare will be fully post-quantum in 2027

https://blog.cloudflare.com/project-quantum-leap/
409•jupenur•3h ago•205 comments

I wish we’d stop talking about how we’re going to cure cancer

https://www.science.org/content/blog-post/stop-it-just-stop-it
942•surprisetalk•3h ago•494 comments

Transferring Human Thoughts into Qwen

https://ruxytrace.com/research/thought-transfer/
83•pioborgelt•3h ago•29 comments

NSA advises immediate transition to post-quantum cryptography

https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-a...
2577•intunderflow•1d ago•1225 comments

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

https://playground.archlang.uk/
60•chanmeng•2d ago•20 comments

Anatomy of an AI Kill Chain

https://ai-killchain.airwars.org
411•tastyface•8h ago•306 comments

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs

https://github.com/giovantenne/nixorium
17•zener79•2h ago•13 comments

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios

https://github.com/welcome-to-the-sunny-side/misa77/tree/main
168•nonadhocproblem•8h ago•53 comments

Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth

https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html
941•cpach•18h ago•209 comments

Show HN: Simulating a 1975 dungeon board game to fix its class balance

https://github.com/someben/dungeon-bang
71•someben•2d ago•18 comments

What to Make of the NSA Advisory

https://words.filippo.io/nsa-advisory/
1071•jvdheyden•20h ago•309 comments

Taxing Animal Burps

https://opinion.inquirer.net/178735/taxing-animal-burps
10•1970-01-01•21h ago•4 comments

Workers' share of economic pie has slid to less than 50%

https://www.wsj.com/economy/jobs/american-workers-gross-domestic-income-73176236
238•ceejayoz•2h ago•193 comments

Sift: The Lisp formatter I kept trying to write (+lint and LSP)

https://jointhefreeworld.org/blog/articles/lisps/sift-the-lisp-formatter-i-kept-trying-to-write/
7•jjba23•19h ago•3 comments

The end of freelance web development

https://marcarea.com/weblog/2026/11/04/ai-and-me
591•vishnugupta•22h ago•489 comments

Tiny UV light chip could help shrink quantum computers

https://www.sciencedaily.com/releases/2026/11/261126063333.htm
35•gmays•2d ago•13 comments

Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

https://github.com/hyscaler/HyScribe
76•Sid_Lmao•3h ago•58 comments

Nvidia partners with SpaceX to launch datacenters into space

https://www.nextplatform.com/compute/2026/12/02/nvidia-partners-with-spacex-to-launch-datacenters...
537•jonbaer•1d ago•1538 comments

HTML esoterica – en-GB vs. en_GB

https://www.htmhell.dev/adventcalendar/2026/1/
123•edent•2d ago•35 comments

Mamdani: You can't just park anywhere you want because you want a slice

https://nyc.streetsblog.org/2026/12/02/wednesdays-headlines-you-cannot-double-park-to-get-pizza-e...
22•firasd•23m ago•4 comments

The E-ink Computing Challenge

https://riddle.press/the-e-ink-computing-challenge/
240•wilabroard•2d ago•128 comments

All Software Sucks

https://harmful.cat-v.org/software/
100•archargelod•3h ago•95 comments

Jiga (YC W21) Is Hiring Staff Product Manager to Make Manufacturing Great Again

https://jiga.io/about-us/
1•grmmph•9h ago

Agent harnesses need their eBPF

https://ut-infraai.github.io/2026/12/01/agent-harnesses-need-their-ebpf/
232•ronyw7•12h ago•61 comments

Bickering Buildings: A Dialogue Between the Churches of Athens in 1854

https://publicdomainreview.org/essay/bickering-buildings/
5•diodorus•2d ago•0 comments

Creating Logic Using Waves: Photonic Gates [video]

https://www.youtube.com/watch?v=ln0zZcQXv38
31•surprisetalk•3d ago•2 comments

Adobe nukes lifetime Acrobat Pro 2020 licenses

https://community.adobe.com/questions-9/adobe-acrobat-pro-2020-perpetual-license-won-t-active-sin...
26•JamesHist•42m ago•11 comments

Why the NSA Wants You to Hurry

https://unmitigatedrisk.com/2026/12/why-the-nsa-wants-you-to-hurry/
173•hasheddan•15h ago•93 comments

After a year of tinkering, my factory is finally running smoothly

https://twitter.com/Steve_Yegge/status/2127977854944288923
290•flimp•18h ago•362 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?