frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

NSA advises immediate transition to post-quantum cryptography

https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-a...
1694•intunderflow•11h ago•883 comments

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

https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html
514•cpach•5h ago•123 comments

What to Make of the NSA Advisory

https://words.filippo.io/nsa-advisory/
606•jvdheyden•7h ago•183 comments

The end of freelance web development

https://marcarea.com/weblog/2026/11/04/ai-and-me
384•vishnugupta•9h ago•347 comments

The E-ink Computing Challenge

https://riddle.press/the-e-ink-computing-challenge/
28•wilabroard•2d ago•6 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...
338•jonbaer•11h ago•997 comments

The Michigan Left is a clever highway fix for cutting left-turn crashes

https://www.jalopnik.com/2329199/highway-michigan-left-turn-crashes-median-u-turn/
157•NaOH•1d ago•196 comments

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

https://twitter.com/Steve_Yegge/status/2127977854944288923
98•flimp•5h ago•169 comments

Amber Eye: a Slay the Spire engine approaching top-level play

https://8e9f.github.io/amber_eye/
188•gcmeplz•8h ago•91 comments

Zig gets improved float parser/formatter

https://codeberg.org/ziglang/zig/pulls/37793
178•Retro_Dev•8h ago•46 comments

Laravel Go

https://github.com/laravel/go
167•adrianthedev•8h ago•129 comments

Ask HN: Who is hiring? (December 2026)

176•whoishiring•1d ago•209 comments

Show HN: Open-source guitar practice studio with stem extraction and NAM rigs

https://guitarist.tools
84•mgechev•6h ago•33 comments

Anthropic and OpenAI should release their secret internal models

https://www.dwarkesh.com/p/no-internal-external-gap
570•jekude•6h ago•376 comments

B.C. home suspected of hosting North Korean 'laptop farm' raided by RCMP

https://www.cbc.ca/news/canada/north-korea-remote-workers-home-raid-9.7432396
154•cf100clunk•10h ago•157 comments

Meta Announces IRL App

https://irl.meta.com/
108•brianhama•8h ago•113 comments

Kagi Us-East4 Outage

https://status.kagi.com/cmx6g51q90c2t1bp7gdhw9x95
96•natebc•8h ago•26 comments

Subminute CI

https://engineering.moab.com/posts/subminute-ci/
135•tamentis•9h ago•53 comments

AI adoption is an org design problem

https://cottageindustry.ai/p/ai-adoption-is-an-org-design-problem
132•kevinmannix•8h ago•107 comments

GameMaker adopts Godot's AI policy, hoping to establish consistency

https://gamemaker.io/en/blog/gamemaker-ai-contributions
207•ivorius•12h ago•214 comments

Truss: A programming language optimized for agent-written software

https://github.com/finiteloop/truss
102•sram1337•8h ago•76 comments

Ask HN: Who wants to be hired? (December 2026)

89•whoishiring•1d ago•460 comments

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU

https://pryzmera.com/
122•RedMindZ•11h ago•53 comments

JOP – Java Optimized Processor

https://www.jopdesign.com/
23•gjvc•2d ago•9 comments

OpenSSH Post-Quantum Cryptography

https://www.openssh.org/pq.html
190•pmontra•7h ago•19 comments

Finding faster quantum algorithms with agents and formal verification

https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/
107•rbanffy•10h ago•20 comments

NPM crossed 1T monthly downloads in September

https://jonchurch.com/npm-global-trend/
68•jonchurch_•8h ago•43 comments

Getting to Go: The Journey of Go's Garbage Collector (2018)

https://go.dev/blog/ismmkeynote
50•valyala•2d ago•4 comments

Show HN: Toy controlled English to Golang code

https://stated-lang.github.io/
9•artpar•2d ago•2 comments

Don't Trust People Who Talk Like This

https://www.honest-broker.com/p/dont-trust-people-who-talk-like-this
932•baud147258•14h ago•414 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?