frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Organic Maps

https://organicmaps.app/
544•tosh•5h ago•162 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
29•jonahbard•44m ago•8 comments

Starring the Computer

https://www.starringthecomputer.com/computers.html
83•gitowiec•1h ago•27 comments

The Future of Flipper Zero Development

https://blog.flipper.net/future-of-flipper-zero-development/
28•croes•1h ago•1 comments

Do you hate XML? (2010)

https://sigfrid-lundberg.se/entries/2010/07/hate_xml/
13•theanonymousone•1h ago•6 comments

The Great Blogging Collapse: What Happened to 100 Successful Blogs?

https://danielstanica.com/posts/Great-Blogging-Collapse
84•thm•3d ago•61 comments

Introduction to Compilers and Language Design (2021)

https://dthain.github.io/books/compiler/
232•AlexeyBrin•7h ago•35 comments

It's not about physical vs. digital games, it's about ownership

https://popcar.bearblog.dev/its-about-ownership/
108•popcar2•4h ago•86 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
11•forthwall•46m ago•4 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
69•jandeboevrie•5h ago•38 comments

Airplane Boneyards List and Map

https://airplaneboneyards.com/airplane-boneyards-list-and-map.htm
62•hyperific•1d ago•12 comments

Installing A/UX 1.1 like it's the 90s

https://thomasw.dev/post/aux11/
12•zdw•3h ago•0 comments

Why DMARC's new "NP" tag can fail with DNSSEC

https://dmarcwise.io/blog/dmarc-np-incompatibility-with-dnssec
28•matteocontrini•4h ago•12 comments

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
261•dabinat•14h ago•140 comments

A sociotechnical threat model for AI-driven smart home devices

https://arxiv.org/abs/2602.09239
72•dijksterhuis•2h ago•39 comments

Every Postcard Tells a Story

https://observer.co.uk/style/features/article/every-postcard-tells-a-story
3•NaOH•1h ago•0 comments

Medieval-style fortifications are back in the Sahel

https://www.economist.com/middle-east-and-africa/2026/06/25/medieval-style-fortifications-are-bac...
70•andsoitis•4d ago•54 comments

Neoengineers

https://elijahpotter.dev/articles/neoengineers
5•chilipepperhott•2h ago•0 comments

OpenWiki: CLI that writes and maintains agent documentation for your codebase

https://github.com/langchain-ai/openwiki
55•handfuloflight•3d ago•16 comments

Optimizing an Algorithm That's Quadratic by Design

https://whatchord.earthmanmuons.com/articles/chord-ranking-performance.html
5•elasticdog•3d ago•0 comments

The GNU Emacs Architecture: Unlocking the Core [pdf]

https://www.diva-portal.org/smash/get/diva2:2052282/FULLTEXT01.pdf
159•cenazoic•4d ago•11 comments

Moving Back Home Used to Be a Sign of Failure. Now It Shows Financial Savvy

https://www.wsj.com/lifestyle/relationships/living-with-parents-finances-0c35530c
18•apparent•1h ago•21 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
128•ankitg12•2d ago•11 comments

Autonomous flying umbrella follows and shields users from rain and sunlight

https://www.designboom.com/technology/autonomous-flying-umbrella-follows-users-rain-sunlight-i-bu...
61•amichail•3h ago•27 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
77•ViktorEE•7h ago•30 comments

EU Council forces Chat Control via fast-track

https://www.heise.de/en/news/Chat-Control-1-0-EU-Council-forces-messenger-scans-via-fast-track-11...
276•stavros•7h ago•149 comments

Taphonomic analysis reveals behavioral & tech capabilities of Homo floresiensis

https://www.science.org/doi/10.1126/sciadv.aeb7219
3•bushwart•2h ago•0 comments

Web-based cryptography is always snake oil

https://www.devever.net/~hl/webcrypto
74•enz•11h ago•86 comments

Rayfish, Peer-to-peer mesh VPN with no server to trust

https://rayfish.xyz/blog/01-introducing-rayfish
83•captain_dfx•4d ago•55 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
108•ustad•12h ago•61 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?