frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

John Deere owners will get the right to repair equipment under FTC settlement

https://apnews.com/article/john-deere-right-to-repair-agriculture-equipment-cb7514ffedb95c130a976...
867•djoldman•11h ago•165 comments

Spider venom kills varroa mites without harming honeybees

https://connectsci.au/news/news-parent/9703/Spider-venom-kills-varroa-mites-without-harming
132•Jedd•5h ago•61 comments

Why developers are ditching GitHub for Codeberg and self-hosting alternatives

https://www.howtogeek.com/why-developers-are-ditching-github-for-codeberg-and-self-hosting-altern...
124•Gedxx•2h ago•79 comments

Meta reuses old RAM in new servers with custom bridge chip

https://www.networkworld.com/article/4192827/meta-reuses-old-ram-in-new-servers-with-custom-bridg...
38•ihsw•5d ago•5 comments

I Built the Only 2026 WWII Jeep

https://www.theautopian.com/i-bet-my-company-on-an-impossible-jeep-build-then-a-miracle-happened/
47•martey•2d ago•10 comments

Cargo-nextest: 3x faster than cargo test, per-test isolation, first-class CI

https://nexte.st/
109•nateb2022•3d ago•30 comments

How Donkey Kong Toppled Atari

https://dfarq.homeip.net/how-donkey-kong-toppled-atari/
25•giuliomagnifico•5h ago•7 comments

Benchmarking coding agents on Databricks' multi-million line codebase

https://www.databricks.com/blog/benchmarking-coding-agents-databricks-multi-million-line-codebase
91•tanelpoder•13h ago•35 comments

In-browser programmable robot simulator

https://bittlex-sim.petoi.com/
16•lijay•5d ago•0 comments

Separating signal from noise in coding evaluations

https://openai.com/index/separating-signal-from-noise-coding-evaluations/
218•sk4rekr0w•13h ago•80 comments

Cloudflare Drop

https://www.cloudflare.com/drop/
442•coloneltcb•15h ago•241 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/P646Yw6-founding-account-executive
1•OBrien_1107•3h ago

Grok 4.5

https://x.ai/news/grok-4-5
649•BoumTAC•16h ago•993 comments

Rewriting Bun in Rust

https://bun.com/blog/bun-in-rust
614•afturner•12h ago•344 comments

Show HN: Microsoft releases Flint, a visualization language for AI agents

https://microsoft.github.io/flint-chart/#/
287•chenglong-hn•16h ago•110 comments

Unicode's transliteration rules are Turing-complete

https://seriot.ch/computation/uts35/
106•beefburger•1d ago•29 comments

Show HN: Yamanote.fun – A complete soundscape for Tokyo's Yamanote line

https://www.yamanote.fun/
179•madebymagnolia•1d ago•38 comments

Turning a pile of documents into a searchable useable knowledge base

https://github.com/linuxrebel/DocuBrowser
145•linuxrebe1•14h ago•34 comments

3D Airplane tracker on Mercator map

https://github.com/jamalrfordii-arch/Vanguard-Map
19•Lawyer24•4d ago•3 comments

Patching MechCommander's "left arm bug" for fun and profit

https://mhloppy.com/2026/05/mechcommander-weapons-left-arm-bug-fix/
71•Narann•3d ago•20 comments

The Field Equation, living shader geometry folded into a breathing object

https://sand-morph.up.railway.app/the-field-equation
3•echohive42•1w ago•1 comments

Remote Attestation

https://www.liamcvw.com/p/remote-attestation
99•lcvw•10h ago•87 comments

Chatto is now open source

https://www.hmans.dev/blog/chatto-is-open-source
981•speckx•19h ago•269 comments

Apache Shiro security framework releases 3.0.0

https://shiro.apache.org/blog/2026/06/apache-shiro-300-released.html
35•lprimak•2d ago•5 comments

Decoding the obfuscated bash script on a Uniqlo t-shirt

https://tris.sherliker.net/blog/obfuscated-self-evaluating-bash-script-by-cdn-akamai-being-suppli...
1383•speerer•1d ago•218 comments

New Sweden: the US's long-lost 'secret' colony

https://www.bbc.com/travel/article/20260629-new-sweden-the-uss-long-lost-secret-colony
120•bookofjoe•15h ago•45 comments

TypeScript 7

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
630•DanRosenwasser•18h ago•244 comments

GPT‑Live

https://openai.com/index/introducing-gpt-live/
710•logickkk1•17h ago•467 comments

MIRA: Multiplayer Interactive World Models Trained on Rocket League

https://mira-wm.com/
80•ethanlipson•10h ago•14 comments

FAANG Simulator

https://www.abeyk.com/escape-the-rat-race/
426•nerdbiscuits•14h ago•167 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?