frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Genie 4

https://deepmind.google/blog/genie-4-a-new-generation-of-world-simulation/
260•acossta•1h ago•142 comments

Police Are Using AI to Pull over Drivers for 'Suspicious' Behavior

https://gizmodo.com/police-are-using-ai-to-pull-over-drivers-for-suspicious-behavior-2000831220
89•gumby•1h ago•23 comments

Ghostty 1.4.0

https://ghostty.org/docs/install/release-notes/1-4-0
93•deaux•55m ago•32 comments

Mossad Has Devices Like the Exploding Pagers in "Every Country You Can Imagine"

https://www.theyeshivaworld.com/news/israel-news/2462875/former-mossad-chief-yossi-cohen-planted-...
25•newspaper1•15m ago•10 comments

Classification of Finite Simple Groups Formalized in Lean

https://cfsg.axiommath.ai/
41•pfdietz•1h ago•16 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
316•f311a•6h ago•163 comments

New iMac with M6

https://www.apple.com/imac/
178•notfried•4h ago•216 comments

Wikipedia's Cleanup of AI-Generated Content

https://spectrum.ieee.org/wikipedia-wikiproject-ai-writing-cleanup
301•rbanffy•6h ago•145 comments

The US government is hiding secret court ruling about how it spies on Americans

https://www.wired.com/story/the-us-government-is-hiding-a-secret-court-ruling-about-how-it-spies-...
410•helterskelter2•3h ago•134 comments

Microsoft and Others Tell Crypto Platform Not to Tokenize Their Stocks

https://gizmodo.com/microsoft-mcdonalds-verizon-and-others-tell-crypto-platform-not-to-tokenize-t...
23•gumby•2d ago•7 comments

Why Micron Is Suddenly Ditching 4F² DRAM as Rivals Double Down

https://hothardware.com/news/why-micron-is-suddenly-ditching-4f-dram
79•rbanffy•1d ago•11 comments

PHP2Shell, LiteLLM, GitLab: Find What You Need to Patch

https://cloudsleuth.io/blog/php2shell-litellm-gitlab-find-what-you-run/
15•bigfish2026•1h ago•0 comments

Apple introduces the 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/
71•beex•1h ago•63 comments

Here be monsters: What do you still need to know when agents do the work?

https://blog.adrq.dev/here-be-monsters-what-do-you-still-need-to-know-when-agents-do-the-work
95•adrq•4h ago•27 comments

A 28-Year-Old DOGE Operative Gutted USAID. HR Had No Record of Him Working There

https://www.wired.com/story/a-28-year-old-doge-operative-gutted-usaid-hr-had-no-record-of-him-wor...
109•ck2•1h ago•35 comments

PHP2Shell: Exploitation attempts and remediation trends

https://www.wiz.io/blog/php2shell-exploitation-so-far
154•acossta•3h ago•51 comments

OpenLDK: Bringing the Java World into Common Lisp

https://atgreen.github.io/repl-yell/posts/openldk-java-in-common-lisp/
29•atgreen•2d ago•2 comments

Antique Fonts Collection – Restored 19th Century Typefaces

https://centurylibrary.com/collection/antique-fonts/
9•eustoria•1h ago•2 comments

Anthropic trained Claude on illegally obtained Stanford professors' books

https://stanforddaily.com/2026/10/27/professors-books-pirated-to-train-claude/
123•car•2h ago•52 comments

Vicious Cycles: Theses on a philosophy of news

https://harpers.org/archive/2020/01/vicious-cycles-theses-on-a-philosophy-of-news/
6•eustoria•1h ago•1 comments

Show HN: Specification First Agentic Development Plugin and Prove

https://spec-first.dev/
13•hleichsenring•2h ago•1 comments

A $300B 'Debt Wall' Is Looming over Private-Equity Backed Companies

https://www.wsj.com/finance/investing/a-300-billion-debt-wall-is-looming-over-private-equity-back...
73•JumpCrisscross•2h ago•12 comments

The Mythical Man-Month in the Age of AI

https://j11g.com/the-mythical-man-month-in-the-age-of-ai
362•ilreb•11h ago•246 comments

We let our cloud agents query prod (with OIDC, not secrets)

https://www.formal.ai/blog/cloud-agents-oidc-infrastructure/
11•saligrama•1h ago•3 comments

Is my data used for model training?

https://privacy.claude.com/en/articles/7996868-is-my-data-used-for-model-training
174•jonpizza•3h ago•75 comments

Software may be getting worse, but it used to be horrible

https://www.bitlog.com/2026/10/27/software-may-be-getting-worse-but-it-used-to-be-horrible/
242•jakevoytko•6h ago•207 comments

Gforth 1.0

https://gforth.org/manual/1.0/NEWS.html
119•joshcsimmons•7h ago•6 comments

A Stackless Floodfill Automaton

https://t3x.org/files/floodfill.pdf
28•andsoitis•1d ago•7 comments

Data Recovery CEO Indicted for Allegedly Scamming Ransomware Victims

https://www.propublica.org/article/zohar-pinhasi-monstercloud-ransomware-indictment
40•hn_acker•2h ago•6 comments

New 14‑inch MacBook Pro with M6

https://www.apple.com/newsroom/2026/10/apple-introduces-the-new-14-inch-macbook-pro-with-m6/
140•meetpateltech•4h ago•163 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?