frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Amazon Ergo: A fast, cost-effective open-weights model

https://www.aboutamazon.com/amazon-ergo
925•mtw14•7h ago•386 comments

Advent of Code 2026

https://adventofcode.com/
350•saisundar•1d ago•504 comments

Bacteria linked to inflammatory bowel disease identified with help from gamers

https://today.ucsd.edu/story/bacteria-linked-to-inflammatory-bowel-disease-identified-with-help-f...
121•gmays•4h ago•33 comments

Ty 1.0: Fast Python type checker and language server

https://astral.sh/blog/ty-1.0
422•burntsushi•8h ago•105 comments

Warren Buffett has died

https://www.cnbc.com/2026/12/01/warren-buffett-dies-at-age-96.html
883•United857•2h ago•340 comments

Michael Levin's "Platonic Space Hypothesis" aims to explain emergent behavior

https://www.quantamagazine.org/does-behavior-emerge-from-beyond-the-physical-world-20261130/
65•ivell•7h ago•24 comments

ATProto's private data protocol is now in beta

https://atproto.com/blog/the-spaces-public-beta-is-now-live
217•pfraze•6h ago•96 comments

So you just bought a $450M Leonardo da Vinci painting. Now what? (2017)

https://news.artnet.com/market/so-you-just-bought-a-450-million-da-vinci-now-what-1156268
34•NaOH•2d ago•12 comments

Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)

https://caveman.so/news/introducing-caveling-2-mini
69•cobychapple•3h ago•10 comments

Z2RAM Claims SRAM Memory Speeds at Much Greater Density

https://spectrum.ieee.org/sram-memory-z2ram
68•hasheddan•4h ago•15 comments

The cost of a story, and how it’s gone since we removed the paywall

https://www.sltrib.com/annual-report-2026/
58•danso•3h ago•27 comments

CellGemma: Predicting cell responses to help accelerate cancer research

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma/
181•carlesonielfa•8h ago•43 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
466•_delirium•9h ago•263 comments

TCP/IP over the air with LinHT

https://m17project.org/2026/11/27/tcp-ip-over-the-air-with-linht/
112•otto-mate•2d ago•17 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
299•montenegrohugo•11h ago•165 comments

GTA 6 and the weaponization of copyright

https://blog.dera.page/posts/gta-6-weaponization-of-copyright/
196•Mubelotix•4h ago•158 comments

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

https://www.requesty.ai/blog/claude-5-minute-prompt-cache
332•danvdb•8h ago•143 comments

Unnatural Maths

https://www.lrb.co.uk/blog/2026/december/unnatural-maths
59•themgt•4h ago•27 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
131•dabinat•1d ago•34 comments

Michael Caine has died

https://deadline.com/2026/12/michael-caine-dead-2-1237237066/
523•toomuchtodo•8h ago•160 comments

Lithography War: Never Interrupt the Enemy

https://lithowar.com/lithography-war/
4•walterbell•1d ago•0 comments

The invention of the supermarket

https://www.worksinprogress.news/p/the-invention-of-the-supermarket
61•crescit_eundo•11h ago•22 comments

Goals don't work. Rely on your values

https://adam.ci/train/goals-do-not-work/
413•adamci•14h ago•160 comments

The cost of misdiagnosing a performance problem

https://www.modernleader.is/p/the-cost-of-misdiagnosing-a-performance-problem
20•mooreds•2d ago•1 comments

Jovial J73 Compiler

https://github.com/Zaneham/jovial-compiler
25•Bluestein•3h ago•9 comments

Cause of FAA systems failure that grounded flights identified, L3Harris says

https://www.local3news.com/regional-national/cause-of-faa-systems-failure-that-grounded-flights-n...
197•firesteelrain•22h ago•177 comments

How Neo4j built a graph database in 20 years and 10 weeks

https://gdb-engines.com/blog/how-neo4j-built-a-graph-database/
95•cjlm•1w ago•28 comments

Baggins End

https://www.bagginsend.net/
92•tosh•13h ago•41 comments

Roald Dahl's contribution to neurosurgery: the Wade-Dahl-Till shunt

https://pmc.ncbi.nlm.nih.gov/articles/PMC3029661/
156•thunderbong•3d ago•41 comments

C++ needs to catch up

https://www.vinniefalco.com/p/c-needs-to-catch-up-and-fast
312•simonask•16h ago•326 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?