frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Libreboot 26.10 "Ominous Olive" released with UEFI, Chromebook support

https://libreboot.org/news/libreboot2610.html
89•iamnothere•1h ago•31 comments

I know why Mathematicians weep

https://www.derekthompson.org/p/i-know-why-the-mathematicians-weep
37•RickJWagner•35m ago•16 comments

Israeli firm's digital ads enabling installation of 'zero-click' spyware

https://www.theguardian.com/technology/2026/oct/15/israeli-firm-digital-ads-enabling-installation...
192•chunkyslink•1h ago•52 comments

C++26 Contracts: Introduction to Preconditions and Postconditions

https://www.cppstories.com/2026/cpp26_contracts/
22•ibobev•1h ago•11 comments

Things to know when you get cancer

https://jjmaxwell4.com/writing/things-to-know-when-you-get-cancer/
1673•jjmaxwell4•18h ago•398 comments

Show HN: Unfenced – Land for sale that borders public land

https://unfenced.land/
98•otherwatersflow•2h ago•55 comments

Wanted to download an ISO, ended up writing a kernel exploit

https://blog.dfb.sh/blog/eap770-root-for-two-zeros/
229•0xdeafbeef•2d ago•116 comments

The Haunted Toys R Us

https://www.retroist.com/p/the-haunted-toys-r-us
24•speckx•2d ago•6 comments

OpenCode 2.0

https://anoma.ly/notes/opencode-2-0/
748•gmays•17h ago•319 comments

The First Social Network: In rural Argentina residents send messages w AM radio

https://www.newyorker.com/magazine/2026/10/19/the-first-social-network
80•bookofjoe•1d ago•33 comments

Tiny Little Office

https://tinylittleoffice.com/
552•donohoe•16h ago•129 comments

Show HN: Indigene – Native plants for where you stand

https://indigene.app/
73•olivierlacan•2d ago•12 comments

Do dentists know what they're doing?

https://mapwriting.substack.com/p/dentists
838•doitLP•3d ago•605 comments

Catch a Bird – I made it for my own sanity

https://catchabird.com
293•eduardsik•3d ago•85 comments

GridSnap – an open-source Divvy-style window snapper for macOS

https://github.com/konieczkow/gridsnap
4•zderror•1h ago•3 comments

Americans' social activity has steeply declined in the past 30 years

https://www.dataforprogress.org/blog/2026/9/29/americans-social-activity-has-steeply-declined-in-...
487•hubraumhugo•22h ago•449 comments

LFM2.5-24B-A2B: Built for fast on-device agents

https://www.liquid.ai/blog/lfm2-5-24b-a2b
255•gmays•14h ago•64 comments

It took me nine years to hack my Xbox 360

https://kennedn.com/blog/posts/glitching/
135•kennedn•2d ago•34 comments

Show HN: A 3D Configurator for Macropads

https://npad.ngrok.dev
3•alexandermkinn•1d ago•1 comments

Sticky alpine flower confirms Darwin's 150-year-old carnivorous plant prediction

https://phys.org/news/2026-08-sticky-alpine-darwin-year-carnivorous.html
68•maxall4•2d ago•29 comments

Zero-Click Spyware Delivered via Targeted Ads: AdFection

https://citizenlab.ca/research/how-discover-tech-turned-targeted-ads-into-a-pipeline-for-spyware/
16•jcomp•3h ago•1 comments

Donaldson Futuro House in Idyllwild, California, USA

https://www.wowhaus.co.uk/2026/10/12/donaldson-futuro-house-in-idyllwild-california-usa/
67•rmason•1d ago•24 comments

Stopping sand from destroying a hydropower turbine [video]

https://www.youtube.com/watch?v=kCYrSBexF_4
21•CaliforniaKarl•2d ago•3 comments

Show HN: Ito – Build Terminal UIs in Lua

https://uji.sh/ito/
53•cat-whisperer•15h ago•10 comments

Show HN: Flipflop, Iroh-powered persistent tunnels for filesharing

https://github.com/andunieee/flipflop
71•andunie•9h ago•28 comments

Better HTTP/1 connection reuse in Go 1.27

https://go.dev/blog/http-connection-reuse
282•allddd•21h ago•45 comments

Tracing Mystery Network Traffic with eBPF Across HRT's Global Compute Cluster

https://www.hudsonrivertrading.com/hrtbeat/long-on-research-short-on-bandwidth/
20•theHRTBeat•2d ago•3 comments

David Rudnick on "borderline impossible" process of designing Arsenal typeface

https://www.itsnicethat.com/features/david-rudnick-johnnie-campbell-arsenal-rocastle-typeface-gra...
48•droidjj•2d ago•29 comments

The Double Headed Stack Allocator

https://blog.demofox.org/2026/10/03/the-double-headed-stack-allocator/
79•g0xA52A2A•12h ago•28 comments

Your C is not standard C

https://sebsite.pw/w/20261012-notstdc.html
112•dverlaeckt80•2d ago•79 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?