frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA

https://global.fujitsu/en-global/pr/news/2026/09/14-02
197•my123•1d ago•63 comments

One Year of Sponsored Servo Development

https://servo.org/blog/2026/09/15/one-year-of-sponsorship/
255•AshleysBrain•7h ago•111 comments

Nvidia announces native GPU programming in Rust

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
858•nonmaskable•1d ago•341 comments

CCC invites all model citizens to 40C3

https://events.ccc.de/en/2026/09/12/40c3-model-citizens/
170•antonly•7h ago•45 comments

My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it

https://jakeasmith.com/blog/http-build-url/
243•jakeasmith•1d ago•61 comments

I had Gemini train its own replacement for $9

https://www.petervijeh.com/projects/reddit-ner
78•p-s-v•2h ago•29 comments

Keys Not Included: recovering the signing keys for US driver's license barcodes

https://ryan.science/blog/keys-not-included
238•Ryan5453•12h ago•102 comments

GLM Built Its Own Inference Infrastructure

https://z.ai/blog/glm-built-its-inference-infrastructure
216•whiteros_e•7h ago•168 comments

The Relation Between Mathematics and Physics by Paul Dirac (1939)

https://www.damtp.cam.ac.uk/events/strings02/dirac/speach.html
121•rramadass•3d ago•33 comments

Better Vector Search for Long Documents: Chunking Inside Manticore Search

https://manticoresearch.com/blog/auto-chunking/
57•GloriaVinogrado•5h ago•10 comments

Xiaomi Mimo 2.6 live post-training dashboard

https://mimo.xiaomi.com/rl/
506•krackers•19h ago•141 comments

Lucasart's Afterlife

https://togameforlife.wordpress.com/2023/12/09/on-lucasarts-afterlife/
73•Bondi_Blue•1d ago•32 comments

Online Z3 Guide

https://microsoft.github.io/z3guide/
46•Bluestein•2d ago•12 comments

Show HN: Share your AI Setup, Learn from others

https://mysetup.ai/
26•steveybrown•2h ago•11 comments

Cloudflare/Security-Audit-Skill

https://github.com/cloudflare/security-audit-skill
149•donk8r•10h ago•30 comments

I Don't Like LLMs

https://martinfowler.com/articles/2026-dont-like-llms.html
83•TangerineDream•1h ago•84 comments

Show HN: I built a new version of my fun spatial 3D online meeting app

https://flat.social
66•pawelwentpawel•2h ago•41 comments

Mastering Layout Engines in Graphviz: Dot vs. Neato vs. Twopi vs. Circo

https://guides.visual-paradigm.com/mastering-graphviz-layout-engines-dot-neato-twopi-circo/
3•vismit2000•2d ago•0 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
2234•arnemunthekaas•2d ago•246 comments

Comparison of Malloc() Algorithms

https://egbert.net/blog/articles/comparison-of-arena-architecture-in-malloc.html
110•egberts1•1d ago•29 comments

Backups Aren't Simple

https://filipovski.net/2026/09/16/backups-arent-simple.html
307•afilipovski•19h ago•186 comments

Breaking the 1.58-bit Barrier for Ternary LLMs

https://arxiv.org/abs/2609.16338
227•matt_d•18h ago•36 comments

Developing provably correct Rust code with Verus

https://www.amazon.science/blog/developing-provably-correct-rust-code-with-verus
141•Betelbuddy•2d ago•37 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://harnesstax.github.io/
193•matt_d•17h ago•73 comments

Iran school bombing: grounds to believe US was behind atrocity, UN finds

https://www.theguardian.com/world/2026/sep/17/iran-school-bombing-un-mission-us-military-behind-a...
193•hebelehubele•4h ago•118 comments

Neovim have a ~$800k Bitcoin donation sitting untouched since 2023

275•jakemanger•4h ago•205 comments

The engineering behind the US Strategic Petroleum Reserve

https://johnjwang.com/post/2026/09/15/engineering-behind-us-strategic-petroleum-reserve
249•johnjwang•1d ago•99 comments

Training a 4B model to produce 81% faster query plans than Postgres

https://rohanbansal.com/qorl
643•polyphilz•20h ago•129 comments

Performance Improvements in .NET 11

https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
327•soheilpro•2d ago•100 comments

OpenSpec – A lightweight and configurable AI spec framework

https://openspec.dev/
173•etoxin•16h ago•87 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?