frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ten days later, Git on macOS still trusts the compromised eMudhra certificates

https://emudhra.we-have-a-problem.com/apple.html
370•galadran•3h ago•153 comments

Kentucky man becomes the first humanist granted religious exemption from AI

https://religionnews.com/2026/10/26/in-a-first-a-humanist-granted-a-religious-exemption-from-usin...
36•danso•28m ago•21 comments

ICE Is Running One of the Largest Anti-Left Surveillance Ops in US History

https://www.wired.com/story/ice-is-running-one-of-the-largest-anti-left-surveillance-operations-i...
331•zzzeek•1h ago•135 comments

Start Doing Graph Theory

https://vertex.degree/
245•ibobev•5d ago•46 comments

Harvey raised 500M for legal AI, I built the same and open sourced it

https://github.com/thomasunise/casecite
25•zztopisgreat•14m ago•1 comments

The Agent SDK

https://cursor.com/blog/agent-sdk
3•torutofu•8m ago•0 comments

Unveiling The Grid: PCBs made in America, twice as fast as Shenzhen

https://www.circuithub.com/post/unveiling-the-grid
87•seddona•2d ago•37 comments

Git for the US Code

https://lexifina.com/blog/git-for-the-us-code
345•alansaber•12h ago•178 comments

Show HN: Nasscad – local-first 3D CAD for browser and Windows

https://www.nasscad.com/NASSCAD_V4_7_0.htm
7•Nasser-13•41m ago•2 comments

Ghostty 1.4

https://ghostty.org/docs/install/release-notes/1-4-0
1159•deaux•21h ago•366 comments

Genie 4

https://deepmind.google/blog/genie-4-a-new-generation-of-world-simulation/
959•acossta•22h ago•550 comments

Emacs Turns 50

https://www.technologyreview.com/2026/10/20/1145399/emacs-turns-50/
32•internet_points•45m ago•11 comments

Amazon to buy satellite firm Globalstar in $11.57B deal

https://www.reuters.com/business/media-telecom/amazon-signs-1157-billion-deal-satellite-firm-glob...
104•noptd•2h ago•42 comments

Two high-speed trains collide near Toledo, Spain

https://www.euronews.com/video/2026/10/28/spain-first-footage-reveals-wreckage-of-deadly-high-spe...
82•evilmonkey19•1h ago•36 comments

Ink droplets in motion snag top prize in Nikon Small World contest

https://arstechnica.com/science/2026/10/meet-the-2026-winner-of-nikons-small-world-photomicrograp...
306•_Microft•2d ago•52 comments

Survival LLM: AI assistant and emergency library that runs on your own computer

https://www.brangus.io/survival-llm
423•Luc•18h ago•159 comments

Decompiling Fast Food Tycoon 2: Drawing the World

https://healeycodes.com/decompiling-fast-food-tycoon-2-drawing-the-world
110•healeycodes•3d ago•23 comments

MacOS Extensions Pack for the Apple Network Server v1.0

http://oldvcr.blogspot.com/2026/10/macos-extensions-pack-for-apple-network.html
87•classichasclass•3d ago•2 comments

Tailscale SSH: Investigation and remediation update

https://tailscale.com/ssh-investigation-update
324•figmert•18h ago•170 comments

About the compromised eMudhra intermediate CAs

https://support.apple.com/en-us/149555
64•birdculture•3h ago•35 comments

Early progress on accelerating drug development with Claude

https://www.anthropic.com/research/early-progress-drug-development
268•dataking•17h ago•261 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
547•f311a•1d ago•298 comments

Code-execution flaw in UEFI firmware threatens most servers on planet Earth

https://arstechnica.com/security/2026/10/code-execution-flaw-in-uefi-firmware-threatens-most-serv...
204•DamnInteresting•17h ago•131 comments

Valve Responds to Developers Fearing AI Slop and Clones

https://www.invenglobal.com/articles/27761/valve-responds-to-developers-fearing-ai-slop-and-clones
8•HelloUsername•42m ago•0 comments

New 14‑inch MacBook Pro with M6

https://www.apple.com/in/newsroom/2026/10/apple-introduces-the-new-14-inch-macbook-pro-with-m6/
389•beex•22h ago•536 comments

Raspberry Pi Zero 3W and Pi 4 Model A spotted in device trees

https://bret.dk/raspberry-pi-zero-3-w-pi-4-model-a/
194•sthlmb•17h ago•120 comments

SS United States to be sunk as largest artificial reef

https://divemagazine.com/scuba-diving-news/ss-united-states-to-be-sunk-as-worlds-largest-artifici...
180•geox•2d ago•143 comments

New iMac with M6

https://www.apple.com/imac/
353•notfried•1d ago•447 comments

Jokes for the ZX81

https://spelk.press/gb/products/81-jokes-for-the-zx81
112•robin_reala•2d ago•17 comments

Classification of Finite Simple Groups Formalized in Lean

https://cfsg.axiommath.ai/
227•pfdietz•21h ago•69 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?