frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Intel One Mono font

https://github.com/intel/intel-one-mono
100•saikatsg•1h ago•59 comments

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

https://scottaaronson.blog/?p=10379
1632•Kotlopou•16h ago•1441 comments

1Password Security Incident

https://1password.com/blog/update-on-nov-2026-security-incident
1479•lxhrstn•18h ago•639 comments

Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email

https://techstackups.com/articles/google-workspace-ai-agents-mcp/
60•ritzaco•2h ago•45 comments

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years

https://fosscomics.com/posts/17.%20Lions%27%20Commentary%20on%20Unix/
119•joonehur•6h ago•17 comments

Head of Software Engineering – NOX Metals

1•zane_heng•8m ago

Moat: Your OpenRouter Replacement

https://commandcode.ai/moat
101•amanverasia•5h ago•71 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...
424•rmason•14h ago•353 comments

Much shorter version of GRH Lean verification from Anthropic

https://github.com/lsernau/grh-lean
473•nb-t•14h ago•255 comments

Collection of preserved UI style guides

https://aresluna.org/ui-style-guides/
239•sohkamyung•11h ago•25 comments

Minipg: PostgreSQL as a Single Executable

https://progrium.github.io/minipg/
157•rguiscard•9h ago•24 comments

Tell HN: Lots of Ask HNs again

287•dang•11h ago•111 comments

Show HN: Synth Patch Hero

https://swarkentin.github.io/synth-patch-hero/
65•kaidon•2d ago•11 comments

Slow Ubuntu security response times

https://www.openwall.com/lists/oss-security/2026/11/25/9
325•gslin•15h ago•156 comments

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

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

What VP ≠ VNP Means (In 3 Minutes)

https://www.friedgil.com/vpvnp
149•vinhnx•2d ago•44 comments

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

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

Training on Documents About Monitoring Leads to Cot Obfuscation

https://arxiv.org/abs/2605.15257
14•sonabinu•2d ago•0 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
160•dm•15h ago•64 comments

Bare Metal Qwen

https://github.com/alesha-pro/llm.asm/tree/main/02-baremetal-os
169•miohtama•13h ago•39 comments

MCP Gateway: How Snap Checks Both the Person and the Agent

https://eng.snap.com/mcp-gateway
8•Kaedon•2d ago•2 comments

The history of civilization is the history of wheat

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

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

https://twitter.com/thsottiaux/status/2125784147889393806
300•Herrera•8h ago•169 comments

Philip Roth and David Remnick getting personal

https://salmagundi.skidmore.edu/articles/2001-philip-roth-david-remnick
3•Caiero•1d ago•1 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
51•hecmmm•6h ago•6 comments

Qualcomm's Oryon 3 Reaches the Top

https://chipsandcheese.com/p/qualcomms-oryon-3-reaches-the-top
53•wmf•8h ago•23 comments

How did pinwheel calculators work?

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

Unconditional Integer Factorization in Subexponential Time

https://github.com/google-research/google-research/tree/4a7bc8ab0bc770e71a259b7966c500496b99010a/...
62•_alternator_•7h ago•5 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/
105•qzervaas•13h ago•12 comments

SSH is a GUI framework

https://zydra.sh/articles/ssh-is-a-gui-framework/
208•teledream•4d ago•101 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?