frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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

https://scottaaronson.blog/?p=10379
1179•Kotlopou•10h ago•1017 comments

1Password Security Incident

https://1password.com/blog/update-on-nov-2026-security-incident
1285•lxhrstn•12h ago•542 comments

Much shorter version of GRH Lean verification from Anthropic

https://github.com/lsernau/grh-lean
364•nb-t•7h ago•182 comments

The Great Automatic Grammatizator (By Roald Dahl), 1954 [pdf]

https://gwern.net/doc/fiction/science-fiction/1953-dahl-thegreatautomaticgrammatizator.pdf
34•Michelangelo11•3d ago•3 comments

Tell HN: Lots of Ask HNs again

175•dang•4h ago•73 comments

What VP ≠ VNP Means (In 3 Minutes)

https://www.friedgil.com/vpvnp
47•vinhnx•1d ago•1 comments

Collection of preserved UI style guides

https://aresluna.org/ui-style-guides/
65•sohkamyung•4h ago•5 comments

GPT-6.2 Astra is the first model to beat Googlers' code golf records

https://bjin.github.io/go-codegolf-benchmark/#leaderboard
317•bjin•3d ago•89 comments

Slow Ubuntu security response times

https://www.openwall.com/lists/oss-security/2026/11/25/9
207•gslin•8h ago•99 comments

A few questions for the guy who went snorkeling in a Home Depot retention pond

https://www.vox.com/down-to-earth/511999/home-depot-retention-pond-snorkel-joseph-ricketts
458•gumby•14h ago•113 comments

How did pinwheel calculators work?

https://blog.coredump.cx/p/how-did-pinwheel-calculators-work
47•surprisetalk•1d ago•4 comments

OpenAI cuts GPT-6.2 usage: Astra hits limits 40% faster, Sol 25% faster

https://twitter.com/thsottiaux/status/2125784147889393806
68•Herrera•1h ago•36 comments

Minipg: PostgreSQL as a Single Executable

https://progrium.github.io/minipg/
22•rguiscard•2h ago•2 comments

Deploying a payphone on a tiny Pacific Island for fun and zero profit

https://nickvsnetworking.com/deploying-a-payphone-on-a-tiny-pacific-island-for-fun-and-zero-profit/
73•qzervaas•7h ago•9 comments

Bare Metal Qwen

https://github.com/alesha-pro/llm.asm/tree/main/02-baremetal-os
95•miohtama•7h ago•21 comments

Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server

https://opensec.in/blog/nfs2root-cve-2026-99362
112•dm•8h ago•42 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...
276•rmason•8h ago•249 comments

Qualcomm's Oryon 3 Reaches the Top

https://chipsandcheese.com/p/qualcomms-oryon-3-reaches-the-top
13•wmf•1h ago•1 comments

SSH is a GUI framework

https://zydra.sh/articles/ssh-is-a-gui-framework/
159•teledream•4d ago•79 comments

Google releases Cogentic papers on integer factorization, discrete logs and more

https://github.com/google-research/google-research/tree/master/cogentic_research_papers
471•rgwohlbold•15h ago•342 comments

The polynomial Hirsch conjecture is false [pdf]

https://github.com/openai/math/blob/main/preprints/Superpolynomial-graph-diameter-of-simple-polyt...
143•acossta•11h ago•37 comments

Hkust 3D Prints a Titanium Alloy That Keeps Hardening

https://3dprinting.com/news/hkust-researchers-3d-print-a-titanium-alloy-that-keeps-hardening-unde...
20•rbanffy•2d ago•1 comments

Deriving Black-Scholes

https://david.alvarezrosa.com/posts/deriving-black-scholes/
57•meysamazad•12h ago•44 comments

Can a TV be too large? An investigation

https://techcrunch.com/2026/11/22/can-a-tv-be-too-large-an-investigation/
39•jomon003•2d ago•56 comments

Windows Loudness Equalization, reverse-engineered and ported to PipeWire

https://github.com/xoxorwr/pw-loudness-eq
328•ThrowNotAway•17h ago•184 comments

Marginal Grains

https://asteriskmag.com/issues/16/marginal-grains
4•NaOH•1d ago•0 comments

The trouble with serendipity: Scientific discoveries don't happen how you think

https://www.worksinprogress.news/p/the-trouble-with-serendipity
31•crescit_eundo•2d ago•10 comments

Hacking radiators

https://qsantos.fr/2026/11/20/hacking-radiators-for-fun-and-no-profit/
44•andai•2d ago•16 comments

A beer brewer's noise estimation

https://chillphysicsenjoyer.substack.com/p/a-beer-brewers-noise-estimation
22•surprisetalk•2d ago•2 comments

Porting Rockbox to an undocumented $9 AliExpress 'YP3' MP3 player with LLMs

https://jayd.ml/2026/11/14/rockbox-on-yp3.html
243•jaydenmilne•1d ago•96 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?