frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GLM-5.3: Frontier Coding with Emergent Cyber Capabilities

https://z.ai/blog/glm-5.3
313•pella•2h ago•113 comments

Gemini 3.7 Flash

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-fl...
784•thisisauserid•14h ago•414 comments

Why Books Don't Work: Constructivism over Transmissionism (2021)

https://www.masterhowtolearn.com/2021-01-30-why-books-dont-work-constructivism-over-transmissionism/
5•bmacho•24m ago•1 comments

Accelerating GPT-5.6 Sol Ultrafast

https://www.cerebras.ai/blog/accelerating-gpt-5-6-sol-ultrafast-with-openai
556•pr337h4m•13h ago•233 comments

Hello, me. It's been a while

https://themech.net/2026/08/hello-me-its-been-a-while/
172•somesoftdev•13h ago•78 comments

Bluesky Protocol Services

https://atproto.com/blog/introducing-bluesky-protocol-services
152•danabramov•7h ago•28 comments

DeepSeek Harness developer preview

https://deepseek.com/harness/en/
638•bjin•18h ago•263 comments

Show HN: C# Game Engine with its own scripting language and IDE

https://github.com/ArcadeMakerSources/ArcadeMaker
16•am-gm•2d ago•1 comments

Spaghettifying DRAM

https://github.com/xoreaxeaxeax/skitter-creek-bath-salts
592•matt_d•17h ago•153 comments

Mistral OCR 4.1

https://docs.mistral.ai/models/ocr-4-1
322•spelk•14h ago•129 comments

The Library of Ashurbanipal (2025)

https://www.historytoday.com/archive/feature/library-ashurbanipal
24•samizdis•3d ago•5 comments

Understanding is the new bottleneck

https://www.geoffreylitt.com/2026/07/02/understanding-is-the-new-bottleneck
298•sebg•13h ago•160 comments

Choose Boring Technology (2015)

https://mcfunley.com/choose-boring-technology
326•tosh•14h ago•164 comments

Donkey.bas is 45 Years Old – 131 line of Glory

https://donkeybas.com/
225•jkrauska•14h ago•104 comments

NP-overrated

https://gruhn.me/blog/2026-08-13/
197•theanonymousone•11h ago•131 comments

Nine PBS sues Iron Mountain over blocked access to archival data

https://current.org/2026/08/nine-pbs-sues-iron-mountain-over-blocked-access-to-archival-data/
299•vinayakborkar•18h ago•168 comments

Blog about things you don't understand yet

https://www.seangoedecke.com/blog-about-things-you-dont-understand-yet/
86•gfysfm•8h ago•30 comments

Credibility is the barrier to entry in silicon

https://www.siliconimist.com/p/credibility-is-the-barrier-to-entry
19•johncole•3d ago•7 comments

How Compaction Works in Pi

https://earendil.com/posts/compaction-in-pi/
150•tosh•13h ago•59 comments

Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes

https://github.com/systemd/systemd/issues/40262
203•ValdikSS•13h ago•127 comments

Where did the old web go? We followed 657,607 links to find out

https://0.mk/blog/link-rot
171•tdx•14h ago•156 comments

How Organizations Use AI: Evidence from ChatGPT [pdf]

https://cdn.openai.com/pdf/how-organizations-use-chatgpt.pdf
101•malshe•12h ago•57 comments

The Legend of the Novell NE2000 [video]

https://www.youtube.com/watch?v=nNXzQ7V1S_k
40•voxadam•4d ago•12 comments

Finite State Machines in Forth (1994)

https://www.forth.org/literature/noble.html
73•ofalkaed•5d ago•2 comments

How Gödel's Proof Works (2020)

https://www.quantamagazine.org/how-godels-proof-works-20200714/
99•tzury•12h ago•42 comments

Ruby 4.0 Universal RCE Deserialization Gadget Chain

https://www.elttam.com/blog/ruby-4-0-universal-rce-deserialization-gadget-chain
5•pentestercrab•1h ago•0 comments

an ambiguity in C89 which will never be fixed

https://sebsite.pw/w/20260810-c89ambiguity.html
59•runningmike•4d ago•23 comments

Ordinary Abundance

https://ordinaryabundance.com/
287•yen223•18h ago•149 comments

Cave of the Crystals

https://en.wikipedia.org/wiki/Cave_of_the_Crystals
39•ColinWright•5d ago•2 comments

Choosing an AI model: one prompt, 11 models, different results

https://www.netlify.com/blog/one-prompt-11-models-very-different-results/
199•toddmorey•18h ago•85 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?