frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

93% of paint splatters are valid Perl programs (2019)

https://www.mcmillen.dev/sigbovik/
198•zenincognito•4h ago•27 comments

Tim Peters has died

https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028
908•ayhanfuat•19h ago•96 comments

AWS emulator

https://github.com/aws/aws-emulator
708•super_linear•8h ago•220 comments

Lock Your GitHub Actions

https://hugovk.dev/blog/2026/lock-github-actions/
153•gslin•4h ago•27 comments

United Airlines bans AI agents from booking flights on behalf of travelers

https://www.cbsnews.com/news/united-airlines-bans-ai-agents-booking-flights/
421•herpderperator•5h ago•406 comments

A false smoke alarm almost drowned Jane Street's only NYC datacenter

https://michael.bacarella.com/2026/11/10/false-smoke-alarm-jane-street-datacenter/
427•mbac32768•10h ago•220 comments

Gemini Decisions API

https://blog.google/innovation-and-ai/technology/developers-tools/gemini-decisions-api/
293•iamdelirium•8h ago•93 comments

Did Life Begin in an RNA World?

https://www.quantamagazine.org/did-life-begin-in-an-rna-world-20261109/
12•acossta•2d ago•1 comments

A general purpose Apple Silicon layer for x86-64 PCs

https://github.com/tylertms/Stela
65•iceboundrock•3h ago•24 comments

Emacs in the Age of Magic

https://commandlinesystems.com/magic.txt
156•ggcr•6h ago•55 comments

The Utah Teapot

https://graphics.cs.utah.edu/teapot/
90•cobbal•7h ago•20 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
193•bolau•7h ago•77 comments

How to make a CNC plasma cutter with high-frequency start

https://incoherency.co.uk/blog/stories/cnc-plasma-cutter.html
14•edward•3d ago•4 comments

Faster Retrieval for Better, More Efficient RAG

https://machinelearning.apple.com/research/faster-retrieval
168•zerop•10h ago•29 comments

Jensen Huang said to have had relationship with executive who reports to him

https://www.nytimes.com/2026/11/11/technology/jensen-huang-nvidia-affair.html
266•louiereederson•4h ago•271 comments

My AI agents found an unmapped Maya site?

https://pietromiotti.com/latest/maya-site
936•eyvindn•14h ago•339 comments

Hyper-Realistic Sand with WebGL2

https://av.github.io/safe-sand/
322•everlier•13h ago•65 comments

Huawei releases MACaQ, its internal quantizer for local inference

https://github.com/huawei-csl/MACaQ
63•thefox96•6h ago•21 comments

Show HN: Yogurt – Free, private, open-source alternative to Granola

https://github.com/FrigadeHQ/yogurt
183•brownrout•11h ago•81 comments

Critical RCE Vulnerability in Apache HTTP Server

https://www.wiz.io/blog/cve-2026-119618-rce-apache-http-server-vulnerability
6•soheilpro•50m ago•1 comments

Flying on Green: Why Farmers Are Turning to Drones for Cover Crop Seeding

https://www.agweb.com/news/machinery/flying-green-why-farmers-are-turning-drones-cover-crop-seeding
51•rmason•2d ago•25 comments

Nvidia is preparing to oust Jensen Huang

https://www.wsj.com/business/nvidia-is-preparing-to-oust-nvidia-ceo-jensen-huang-30f421ad
585•jbredeche•4h ago•827 comments

A Brief History of Sierra Online (2017)

https://retrofreakreviews.com/2017/01/30/sierra-retrospective/
28•freshtake•2d ago•5 comments

Launch HN: Pomerado (YC F26) – Turn any website into an MCP for agents

50•alanjm23•9h ago•40 comments

Can a Linear Program Do Weight-Space Programming?

https://nathan.rs/posts/weight-space-lp/
248•emschwartz•14h ago•37 comments

Atuin Threads: All your agent sessions on every machine

https://blog.atuin.sh/threads-agent-sessions/
191•linsomniac•12h ago•74 comments

Using voltage glitching to unleash the A100 in my mining card

https://blog.kate.land/posts/using-voltage-glitching-to-unlock-the-a100/
269•lae•16h ago•108 comments

Optimizing Reference Deletions in Git

https://nayak.im/posts/optimizing-reference-deletion/
28•nayak•3d ago•1 comments

The Apple Support Community will permanently close on November 20, 2026

https://discussions.apple.com/welcome
133•tech234a•23h ago•215 comments

Making the Iron Giant Live

https://animationobsessive.substack.com/p/making-the-iron-giant-live
13•vinhnx•2d ago•1 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?