frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Joint statement from Anthropic and OpenAI on recent advances in cryptography

https://www.anthropic.com/news/joint-statement-cryptography
881•aghuang•8h ago•648 comments

The bitter lesson for agent memory

https://hatchery.build/blog/the-bitter-lesson-for-agent-memory
70•tosh•1h ago•12 comments

OpenBridge, a modern standard for industrial UIs

https://www.openbridge.no
181•starkparker•3h ago•32 comments

Your Attention Costs $100k

https://tornikeo.com/your-attention-costs-100k/
1015•tornikeo•14h ago•435 comments

DKIM was introduced at a unlucky time; or, happy 20 years of CVE-2008-0166

https://dreamstation.systems/personal/dkimdebian.html
173•robinpie•6h ago•28 comments

OpenSSH: "switch default key type generated to ECDSA NISTP384"

https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8
545•throw0101d•12h ago•275 comments

Linux 7.3 on a stock 4 MB Macintosh Plus

https://github.com/ActionRetro/nugget-linux
11•hochmartinez•51m ago•0 comments

Mistral Vibe: The coding agent for chonky codebases

https://mistral.ai/products/vibe/
320•doener•9h ago•119 comments

The need for at least a third mobile OS option

https://blog.ovalerio.net/archives/3359
110•brazukadev•5h ago•78 comments

RSS Still Works

https://toolbox.rss.here.now/
234•DeepLogin•3h ago•82 comments

Yes, P-256 is probably cooked

https://www.int08h.com/post/how-cooked-are-your-keys/
212•int08h•7h ago•108 comments

I'm Archiving the GTK Bindings

https://forum.crystal-lang.org/t/im-archiving-the-gtk-bindings/9601
61•ht_th•4h ago•38 comments

Science fiction for people who hate science fiction

https://classicsofsciencefiction.com/2026/12/05/science-fiction-for-people-who-hate-science-fiction/
64•rdmuser•4h ago•96 comments

Secret Elliptic Curveballs

https://www.netmeister.org/blog/curveballs.html
18•zdw•2h ago•0 comments

Royal Society Publishing Photography Competition Finalists 2026

https://royalsociety.org/journals/publishing-activities/photo-competition/2026-winners-runners-up/
44•gnabgib•3h ago•3 comments

"I Know Better Than You": Evaluating Silent Instruction Overrides – 15 Models

https://www.roboticscenter.ai/research/papers/i-know-better-than-you-evaluating-silent-instructio...
22•extraextra•3h ago•16 comments

Proof-oriented programming in Verus vs. Lean

https://willcrichton.net/notes/verus-lean-bitset/
37•fanf2•2d ago•10 comments

Implementing 128-bit atomics in Cranelift

https://trifectatech.org/blog/implementing-128-bit-atomics-in-cranelift/
11•dverlaeckt80•3d ago•0 comments

Cryptography rumors are getting more specific

https://www.johndcook.com/blog/2026/12/05/dlp-attack/
118•christophetd•4h ago•79 comments

Why not rewrite ESLint in Rust?

https://github.com/eslint/eslint/discussions/21626
230•ksec•12h ago•210 comments

Anthropic is not living up to its ideals

https://www.lesswrong.com/posts/Drj97tmuiWF3e9Xya/anthropic-is-not-living-up-to-its-ideals
266•eatitraw•4h ago•179 comments

All-Attention Transformer

https://arxiv.org/abs/1907.01470
30•E-Reverance•4h ago•8 comments

Brazil Sends Google the Bill for YouTube's Fake AI Doctors

https://latinamericanpost.com/business-and-finance/brazil-sends-google-the-bill-for-youtubes-fake...
152•gnabgib•4h ago•47 comments

Celestial Navigation

https://calebkruse.com/10-projects/sextant/
29•oliverkwebb•4d ago•2 comments

AI-Driven Scam Economy: Persuasion Knowledge, Consumer Vulnerability Empowerment

https://journals.sagepub.com/doi/10.1177/10949968261487442
109•rbanffy•11h ago•45 comments

OpenEMR Electronic Health Record Platform Under Siege

https://www.vulncheck.com/blog/openemr-under-siege
129•ersinesen•12h ago•50 comments

Why did DoorDash Win (2025)?

https://www.danhock.co/p/why-did-doordash-win
4•softwaredoug•1h ago•0 comments

Show HN: D20 Bench – Code-Graded Benchmark for LLMs as 5E Game Masters

https://d20bench.com
20•johnpolacek•3h ago•1 comments

Just know stuff, or how to achieve success in a machine learning Ph.D (2023)

https://kidger.site/thoughts/just-know-stuff/
91•learner_yearner•11h ago•39 comments

Reinforcement Learning from Verifiable Rewards (eBook)

https://rlvrbook.com/
102•jonbaer•11h ago•13 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?