frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

RuBee

https://computer.rip/2025-11-22-RuBee.html
93•Sniffnoy•3h ago•6 comments

Fran Sans – font inspired by San Francisco light rail displays

https://emilysneddon.com/fran-sans-essay
782•ChrisArchitect•12h ago•103 comments

The Cloudflare outage was a good thing

https://gist.github.com/jbreckmckye/32587f2907e473dd06d68b0362fb0048
76•radeeyate•3h ago•46 comments

Ask HN: Hearing aid wearers, what's hot?

111•pugworthy•3h ago•42 comments

The Rust Performance Book (2020)

https://nnethercote.github.io/perf-book/
61•vinhnx•4d ago•5 comments

Disney Lost Roger Rabbit

https://pluralistic.net/2025/11/18/im-not-bad/
57•leephillips•5d ago•5 comments

We stopped roadmap work for a week and fixed 189 bugs

https://lalitm.com/fixits-are-good-for-the-soul/
116•signa11•3h ago•80 comments

Having Fun with Complex Numbers: A Real-Life Journey for Upper Elementary Studen

https://mathwonder.org/Having-Fun-with-Complex-Numbers/
17•smm16r•5d ago•6 comments

Native Secure Enclave backed SSH keys on macOS

https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb4acf
357•arianvanp•12h ago•150 comments

New magnetic component discovered in the Faraday effect after nearly 2 centuries

https://phys.org/news/2025-11-magnetic-component-faraday-effect-centuries.html
112•rbanffy•4d ago•29 comments

µcad: New open source programming language that can generate 2D sketches and 3D

https://microcad.xyz/
137•todsacerdoti•9h ago•38 comments

Japan's gamble to turn island of Hokkaido into global chip hub

https://www.bbc.com/news/articles/c8676qpxgnqo
22•1659447091•3h ago•10 comments

A free tool that stuns LLMs with thousands of invisible Unicode characters

https://gibberifier.com
29•wdpatti•3h ago•15 comments

Passing the Torch – My Last Root DNSSEC KSK Ceremony as Crypto Officer 4

https://technotes.seastrom.com/2025/11/23/passing-the-torch.html
36•greyface-•4h ago•6 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
277•o4c•13h ago•59 comments

A Unified Theory of Ego, Empathy, and Humility at Work

https://matthogg.fyi/a-unified-theory-of-ego-empathy-and-humility-at-work/
28•mrmatthogg•4h ago•0 comments

Racket v9.0

https://blog.racket-lang.org/2025/11/racket-v9-0.html
303•Fice•16h ago•102 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
73•t9nzin•7h ago•19 comments

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
67•mercat•7h ago•24 comments

Band of Holes

https://en.wikipedia.org/wiki/Band_of_Holes
18•user070223•4d ago•2 comments

Iowa City made its buses free. Traffic cleared, and so did the air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
312•bookofjoe•8h ago•356 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/fYP8QP8-growth-intern
1•ashlleymo•7h ago

Show HN: Gitlogue – A terminal tool that replays your Git commits with animation

https://github.com/unhappychoice/gitlogue
122•unhappychoice•5d ago•15 comments

A time-travelling door bug in Half Life 2

https://mastodon.gamedev.place/@TomF/115589875974658415
382•AshleysBrain•2d ago•52 comments

Particle Life

https://sandbox-science.com/particle-life
58•StromFLIX•8h ago•6 comments

Mount Proton Drive on Linux using rclone and systemd

https://github.com/dadtronics/protondrive-linux
121•cf100clunk•14h ago•47 comments

Terence Tao: At the Erdos problem website, AI assistance now becoming routine

https://mathstodon.xyz/@tao/115591487350860999
220•dwohnitmok•1d ago•39 comments

Sunsetting Supermaven

https://supermaven.com/blog/sunsetting-supermaven
41•vednig•7h ago•20 comments

An Economy of AI Agents

https://arxiv.org/abs/2509.01063
110•nerder92•1d ago•66 comments

Insurers retreat from AI cover as risk of multibillion-dollar claims mounts

https://www.ft.com/content/abfe9741-f438-4ed6-a673-075ec177dc62
30•gwintrob•2h ago•2 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•6mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•6mo ago
What are the biggest use cases of GPU accelerated sorting?