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...
1068•intunderflow•4h ago•665 comments

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

https://8e9f.github.io/amber_eye/
80•gcmeplz•1h ago•30 comments

The end of freelance web development

https://marcarea.com/weblog/2026/11/04/ai-and-me
170•vishnugupta•2h ago•141 comments

Truss: A programming language optimized for agent-written software

https://github.com/finiteloop/truss
44•sram1337•1h ago•18 comments

Zig gets improved float parser/formatter

https://codeberg.org/ziglang/zig/pulls/37793
67•Retro_Dev•1h ago•7 comments

Apple honors Warren Buffett on their homepage

https://www.apple.com
97•joshfraser•3h ago•34 comments

Subminute CI

https://engineering.moab.com/posts/subminute-ci/
93•tamentis•2h ago•30 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...
138•jonbaer•4h ago•412 comments

Ask HN: Who is hiring? (December 2026)

107•whoishiring•1d ago•173 comments

What to Make of the NSA Advisory

https://words.filippo.io/nsa-advisory/
28•jvdheyden•59m ago•6 comments

AI Adoption Is an Org Design Problem

https://cottageindustry.ai/p/ai-adoption-is-an-org-design-problem
34•kevinmannix•2h ago•15 comments

CellGemma – Model built to help accelerate discovery of new cancer therapies

https://deepmind.google/models/gemma/cellgemma/
534•estebandalelr•11h ago•108 comments

Getting to Go: The Journey of Go's Garbage Collector

https://go.dev/blog/ismmkeynote
11•valyala•2d ago•1 comments

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

45•whoishiring•1d ago•381 comments

Finding faster quantum algorithms with agents and formal verification

https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/
67•rbanffy•4h ago•14 comments

NPM crossed 1T monthly downloads in September

https://jonchurch.com/npm-global-trend/
23•jonchurch_•1h ago•6 comments

Show HN: Pryzmera – Fast PDF viewer, over 1200x faster rendering than Acrobat

https://pryzmera.com/
35•RedMindZ•4h ago•13 comments

John V. Blankenbaker, the maker of the Kenbak-1 computer, has died

https://www.kenbak.com/johnblankenbaker
23•linker3000•1d ago•6 comments

A Counterexample to the Invariant Subspace Problem on ℓ²

https://www.alphaxiv.org/abs/2612.invariant-subspace-problem-counterexample
12•linolevan•1h ago•0 comments

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

https://praveenperera.com/blog/tla-model-checking-4600x-faster-on-a-gpu/
65•praveenperera•4h ago•6 comments

Fortnite is now available on Linux through Proton

https://twitter.com/FortniteStatus/status/2128130519758234032
100•tosh•2h ago•46 comments

Don't Trust People Who Talk Like This

https://www.honest-broker.com/p/dont-trust-people-who-talk-like-this
770•baud147258•7h ago•364 comments

Autostep (YC P26) Is Hiring – AI/Software Engineering Contractor

https://jobs.dover.com/autostep/6464a6d6-7483-4496-83c3-4e373e7b9244
1•adawg4•8h ago

Ford Recalls over 700k Cars After Two Deaths from Carbon Monoxide Poisoning

https://www.wsj.com/business/autos/ford-recall-carbon-monoxide-poisoning-6ae4f2b8
107•bookofjoe•2h ago•140 comments

How I Made a RISC-V CPU in Minecraft

https://www.pureengineering.com/projects/verilog-to-redstone-chip-compiler/
15•sashiono•2h ago•2 comments

Kagi Us-East4 Outage

https://status.kagi.com/cmx6g51q90c2t1bp7gdhw9x95
65•natebc•2h ago•13 comments

OverTheWire War Games

https://overthewire.org/wargames/
17•fosco•2h ago•2 comments

Gemini 4 Live and Gemini 4 Live Translate

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-live-gemini-4-li...
95•meetpateltech•3h ago•16 comments

Lawmakers describe 'willful blindness' by Nvidia's Huang about national security

https://www.npr.org/2026/12/01/nx-s1-6059384/congress-nvidia-jensen-huang-hearings
114•blinding-streak•3h ago•81 comments

AI 'prepping' for the medium term

https://anil.recoil.org/notes/ai-prepping
133•nerdypepper•4h ago•155 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?