frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AMD Specific Patches for Llama.cpp

https://devnull.land/amd-specific-llama-cpp
175•julianlam•3h ago•46 comments

CTO of 'RansomwareHelp' Indicted for Wire Fraud

https://krebsonsecurity.com/2026/11/cto-of-ransomwarehelp-indicted-for-wire-fraud/
113•Bender•2h ago•48 comments

YouTube Ad Punisher – Auto-reloads YouTube pages when an ad plays

https://github.com/antonpictures/youtube-punisher
104•iantongeorge•3h ago•155 comments

OpenAI may be in cost control mode

https://micjm.com/blog/openai-is-in-cost-control-mode/
74•seizethecheese•13h ago•49 comments

Rvoip 0.5 the complete VoIP stack in Rust

https://github.com/eisenzopf/rvoip
9•zerosegfaults•1h ago•1 comments

The USA as a Civilizations-esque map

https://karpathy.ai/usaciv/
30•ComputerGuru•47m ago•13 comments

Intel One Mono font (2023)

https://github.com/intel/intel-one-mono
400•saikatsg•10h ago•226 comments

Show HN: Three Linux VMs in a browser tab, each running a different browser

https://michidk.github.io/sidebyside/
82•michidk•5h ago•22 comments

Curiosity Is No Solo Act

https://thereader.mitpress.mit.edu/curiosity-is-no-solo-act/
103•Petiver•1d ago•22 comments

George Whitesides, 1939-2026

https://www.science.org/content/blog-post/george-whitesides-1939-2026
18•dverlaeckt80•2h ago•3 comments

The New York Times warns photographers not to update Photoshop over AI features

https://www.theverge.com/ai-artificial-intelligence/1041227/the-new-york-times-warns-photographer...
629•rmason•23h ago•496 comments

Show HN: SimDrop – Running iOS simulators in the macOS Finder sidebar

https://github.com/rxliuli/sim-drop
22•rxliuli•3h ago•5 comments

NormalScript: A perfectly normal scripting language

https://psychoscript.com/
31•hn-aarvin•16h ago•7 comments

Nextcloud Office Desktop app

https://nextcloud.com/blog/euro-office-comes-to-your-desktop-with-the-nextcloud-office-desktop-app/
366•e12e•8h ago•182 comments

Show HN: Olumino, a Markdown notes and spaced repetition app

https://olumino.app
19•Wiyseful•17h ago•9 comments

Tell HN: Happy Thanksgiving

501•ericmay•6h ago•127 comments

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years

https://fosscomics.com/posts/17.%20Lions%27%20Commentary%20on%20Unix/
247•joonehur•15h ago•51 comments

Show HN: Fuck_data_brokers.py

https://github.com/gary23w/f-ck_data_brokers
14•gary23w•2h ago•3 comments

Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email

https://techstackups.com/articles/google-workspace-ai-agents-mcp/
132•ritzaco•10h ago•149 comments

Discovery of curse ritual in trash dump surprises Egyptologist

https://phys.org/news/2026-11-discovery-curse-ritual-trash-dump.html
79•PaulHoule•2d ago•47 comments

NP_R ≠ PAR_R

https://github.com/samueleverett01/bss-permanent-separations
121•sameverett•3h ago•138 comments

Head of Software Engineering – NOX Metals

1•zane_heng•8h ago

Moat: OpenRouter replacement

https://commandcode.ai/moat
214•amanverasia•14h ago•124 comments

Much shorter version of GRH Lean verification from Anthropic

https://github.com/lsernau/grh-lean
534•nb-t•22h ago•338 comments

Holy shit holy shit holy shit holy shit: The magnitude of what’s now happening

https://scottaaronson.blog/?p=10379
1929•Kotlopou•1d ago•1766 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
167•hecmmm•15h ago•54 comments

Collection of preserved UI style guides

https://aresluna.org/ui-style-guides/
377•sohkamyung•20h ago•83 comments

Minipg: PostgreSQL as a Single Executable

https://progrium.github.io/minipg/
274•rguiscard•17h ago•43 comments

An Introduction to Uncertainty in Machine Learning

https://chrhenning.com/blog/2026/introduction-to-uncertainty/
3•chrhenning•1h ago•0 comments

45°C inlets just killed the chiller. Most people haven't noticed yet

https://www.theregister.com/hpc/2026/11/26/45c-inlets-just-killed-the-chiller-most-people-havent-...
231•magoghm•6h ago•116 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?