frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
339•PaulHoule•7h ago•166 comments

How NASA built Artemis II’s fault-tolerant computer

https://cacm.acm.org/news/how-nasa-built-artemis-iis-fault-tolerant-computer/
109•speckx•11h ago•35 comments

RAM Has a Design Flaw from 1966. I Bypassed It [video]

https://www.youtube.com/watch?v=KKbgulTp3FE
28•surprisetalk•2d ago•2 comments

Charcuterie – Visual similarity Unicode explorer

https://charcuterie.elastiq.ch/
141•rickcarlino•6h ago•22 comments

Generative art over the years

https://blog.veitheller.de/Generative_art_over_the_years.html
18•evakhoury•2d ago•1 comments

PicoZ80 – Drop-In Z80 Replacement

https://eaw.app/picoz80/
157•rickcarlino•8h ago•25 comments

Reverse engineering Gemini's SynthID detection

https://github.com/aloshdenny/reverse-SynthID
117•_tk_•6h ago•43 comments

Will I ever own a zettaflop?

https://geohot.github.io//blog/jekyll/update/2026/01/26/own-a-zettaflop.html
61•surprisetalk•3d ago•33 comments

Microsoft PhotoDNA scanning problem

https://www.elevenforum.com/t/microsoft-photodna-scanning-problem-it-is-comical-now.45961/
75•darkzek•1h ago•34 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
154•codazoda•9h ago•33 comments

Moving from WordPress to Jekyll (and static site generators in general)

https://www.demandsphere.com/blog/rebuilding-demandsphere-with-jekyll-and-claude-code/
49•rgrieselhuber•5h ago•22 comments

I still prefer MCP over skills

https://david.coffee/i-still-prefer-mcp-over-skills/
8•gmays•52m ago•6 comments

Research-Driven Agents: When an agent reads before it codes

https://blog.skypilot.co/research-driven-agents/
141•hopechong•9h ago•45 comments

Many African families spend fortunes burying their dead

https://davidoks.blog/p/how-funerals-keep-africa-poor
146•powera•4h ago•119 comments

How Close Is Too Close? Applying Fluid Dynamics Research Methods to PC Cooling

https://www.lttlabs.com/articles/2026/04/04/how-close-is-too-close-applying-fundamental-fluid-dyn...
16•LabsLucas•4d ago•2 comments

Hegel, a universal property-based testing protocol and family of PBT libraries

https://hegel.dev
87•PaulHoule•8h ago•30 comments

Top laptops to use with FreeBSD

https://freebsdfoundation.github.io/freebsd-laptop-testing/
285•fork-bomber•17h ago•162 comments

Old laptops in a colo as low cost servers

https://colaptop.pages.dev/
162•argentum47•8h ago•92 comments

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

https://braw.dev/blog/2026-04-06-reallocating-100-month-claude-spend/
302•kisamoto•17h ago•206 comments

Introduction to Nintendo DS Programming

https://www.patater.com/files/projects/manual/manual.html
220•medbar•1d ago•51 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
124•randerson_112•10h ago•112 comments

A WebGPU implementation of Augmented Vertex Block Descent

https://github.com/jure/webphysics
127•juretriglav•14h ago•15 comments

Microsoft is employing dark patterns to goad users into paying for storage?

https://lzon.ca/posts/other/microsoft-user-abuse/
237•jpmitchell•5h ago•134 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
192•eigenspace•16h ago•122 comments

The Training Example Lie Bracket

https://pbement.com/posts/lie_brackets/
16•pb1729•4h ago•10 comments

EFF is leaving X

https://www.eff.org/deeplinks/2026/04/eff-leaving-x
1158•gregsadetsky•9h ago•974 comments

Show HN: Druids – Build your own software factory

https://github.com/fulcrumresearch/druids
26•etherio•1d ago•4 comments

Instant 1.0, a backend for AI-coded apps

https://www.instantdb.com/essays/architecture
101•stopachka•8h ago•62 comments

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
1279•pluc•1d ago•414 comments

Launch HN: Relvy (YC F24) – On-call runbooks, automated

https://www.relvy.ai
40•behat•14h ago•22 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•11mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•11mo ago
What are the biggest use cases of GPU accelerated sorting?