frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Africa's solar revolution is vast and speedy

https://www.economist.com/middle-east-and-africa/2026/11/12/africas-solar-revolution-is-vast-and-...
58•andsoitis•58m ago•7 comments

Jensen Huang resigns

https://apnews.com/article/nvidia-megaspeed-china-singapore-huang-5403f152a601cf82ce939f1d24fffa0f
3084•lldb•13h ago•2892 comments

Rust 1.100

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
476•mbStavola•8h ago•206 comments

Nvidia employees petition to bring back Jensen Huang

https://www.wired.com/story/nvidia-employees-petition-for-jensen-huangs-return/
108•lavendermon•1h ago•69 comments

Gemini 4 Hydrogen and Orchestrator

https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/
333•jonbaer•8h ago•82 comments

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
372•simpsoka•10h ago•146 comments

Dwarf planet candidate appears which takes roughly 280 years to orbit our sun

https://www.smithsonianmag.com/smart-news/astronomers-found-a-mysterious-object-orbiting-far-beyo...
220•cybermango•8h ago•102 comments

Foundation Models framework

https://developer.apple.com/foundation-models-framework/
148•kermatt•6h ago•18 comments

Edge0-145B: Frontier AI Capabilities on Your Own Computer

https://edge0.ai/blog/introducing-edge0-145b-frontier-ai-capabilities-on-your-own-computer
86•sroussey•4h ago•19 comments

Service degradation on Microsoft 365

https://status.cloud.microsoft/
578•dkpk•9h ago•534 comments

Former Nvidia CEO Huang had a relationship with a second employee, sources say

https://www.reuters.com/technology/former-nvidia-ceo-huang-had-relationship-with-second-employee-...
125•jbredeche•7h ago•166 comments

Turning a 22-year-old Postgres type-confusion primitive into RCE

https://mehmetince.net/part-3-6-how-i-ended-up-turning-a-22-year-old-postgresql-type-confusion-pr...
153•ozirus•9h ago•24 comments

I'm making LLMs work on small and old devices

https://github.com/hyperionaidev/smolmaxxing/
289•mrashad74•12h ago•99 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
247•klaussilveira•13h ago•85 comments

Relax: JIT compiler for Rust to reduce build times

https://makepad.github.io/relax/
129•adamnemecek•1d ago•53 comments

Sift: LSP, Lint, Format Lisp, Scheme and Emacs Lisp

https://github.com/jjba23/sift
23•jjba23•1d ago•1 comments

Adapting CPython for Yk

https://tratt.net/laurie/blog/2026/adapting_cpython_for_yk.html
54•frostbyte7•14h ago•2 comments

AI is turning Apple's app review process into a nightmare for synth developers

https://synthanatomy.com/2026/11/ai-is-turning-apples-app-review-process-into-a-nightmare-for-dev...
116•anigbrowl•6h ago•113 comments

Talking Zen 6 with Mike Clark at AMD In-Depth

https://chipsandcheese.com/p/talking-zen-6-with-mike-clark-at
199•dverlaeckt80•13h ago•2 comments

Gemini 4 Hydrogen

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-hydr...
479•dvaplima•9h ago•302 comments

Anthropic IPO

https://ipo.anthropic.com/us/
844•josephljohnston•15h ago•821 comments

Announcement: Conductor Is Back

https://twitter.com/charlieholtz/status/2120973052024598620
17•jahala•6h ago•12 comments

Chinese frontier AI models carry the fingerprint of export-controlled GPUs

https://unemploymentlabs.com/checkpoint-forensics
193•firloop•5h ago•54 comments

Before Pixels: Speed-Minder

https://unsung.aresluna.org/before-pixels-speed-minder/
20•surprisetalk•1d ago•0 comments

Show HN: Kapso – Iterative learning from enterprise data

39•alirezamshi•9h ago•10 comments

Our software engineering interviews are changing a little

https://blog.janestreet.com/software-engineering-interviews-are-changing-a-little/
180•maitland•13h ago•189 comments

NYC Council passes ban on 'surveillance pricing'

https://gothamist.com/news/nyc-council-passes-ban-on-surveillance-pricing-that-relies-on-personal...
20•jonbaer•1h ago•5 comments

Adding RSA Support to swift-nio-ssh

https://lograker.app/blog/swift-nio-ssh-rsa-support
6•moonlighter•3h ago•2 comments

Show HN: AgentRun – open-source, Self-improving Managed Agents

https://github.com/Parcha-ai/agentrun/blob/main/README.md
82•miguelrios•9h ago•19 comments

Safety in Algae Home Experiments

https://chillphysicsenjoyer.substack.com/p/algae-safety-in-home-experiments
30•surprisetalk•2d ago•3 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?