frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Things to know when you get cancer – 2026 Edition

https://jjmaxwell4.com/writing/things-to-know-when-you-get-cancer/
756•jjmaxwell4•5h ago•197 comments

OpenCode 2.0

https://anoma.ly/notes/opencode-2-0/
286•gmays•4h ago•121 comments

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

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

We’re releasing Jev 1.14.0 along with experimental features for dreamers

https://typesafe.ai/blog/jev-1-14
178•emschwartz•4h ago•57 comments

Tiny Little Office

https://tinylittleoffice.com/
128•donohoe•3h ago•21 comments

Passkeys are not a trap

https://scotthelme.co.uk/passkeys-are-not-a-trap/
474•speckx•10h ago•643 comments

Do dentists know what they're doing?

https://mapwriting.substack.com/p/dentists
399•doitLP•2d ago•312 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-...
208•hubraumhugo•9h ago•257 comments

Better HTTP/1 connection reuse in Go 1.27

https://go.dev/blog/http-connection-reuse
196•allddd•8h ago•30 comments

Containment and monitoring failures are to blame for AI hacking reports: experts

https://www.csoonline.com/article/4234854/ai-agents-arent-going-rogue-frontier-labs-are-skipping-...
834•latexr•7h ago•444 comments

Fancy Curl Sites

https://nytpu.com/gemlog/2026-03-18
80•adunk•5h ago•14 comments

Ask HN: CAD for wood working with LLM support?

23•reacharavindh•1d ago•14 comments

your C is not standard C

https://sebsite.pw/w/20261012-notstdc.html
15•dverlaeckt80•1d ago•1 comments

Show HN: Petal, open-source CoScreen/ScreenHero finally free

https://petal.live/
112•thedracle•6h ago•29 comments

Phloem: Git history grown like a slime mold

https://phloem.stemdeck.app/
79•thclpr•2d ago•19 comments

Anthropic's Scion is heavily inspired by Mononoke

https://sunshowers.io/posts/anthropic-mononoke/
246•sunshowers•4h ago•108 comments

Fire at Starlink site in Bulgaria after suspected sabotage in Poland

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:261014-930-839530/
281•ilamont•6h ago•200 comments

Banks are now trying to offload the AI data center debt they just underwrote

https://startupfortune.com/banks-are-now-trying-to-offload-the-ai-data-center-debt-they-just-unde...
278•smartmic•6h ago•211 comments

Submarine cable resilience

https://blog.apnic.net/2026/10/14/submarine-cable-resilience/
126•speckx•9h ago•48 comments

Virtual Oxide Labs: Emulating a Full Oxide Rack

https://oxide.computer/blog/voxel-labs
66•tosh•7h ago•7 comments

Has AI tells

https://theconsensus.dev/blog/2026/10/14/has-ai-tells.html?focus=1
75•7777777phil•8h ago•74 comments

A new model for open source: closed to pull requests, open to remix

https://ghuntley.com/remix/
8•ghuntley•1h ago•5 comments

Suicide rates highest ever among middle-aged men

https://www.telegraph.co.uk/news/2026/10/13/suicide-rates-highest-ever-among-middle-aged-men/
253•ivewonyoung•6h ago•329 comments

Yandex outage: data shows that instead of going dark, malicious bots moved

https://blog.cloudflare.com/yandex-outage/
204•coloneltcb•4h ago•69 comments

Show HN: I wrote an email app that accepts only one sender per inbox

https://clova.email/
80•edpin2000•8h ago•57 comments

Google is silently linking your phone number across all signed-in accounts

https://www.androidauthority.com/google-auto-phone-number-verification-android-3723117/
377•Brajeshwar•8h ago•97 comments

Pg_vectorsearch: An index that is faster than pgvector's IVFFlat and HNSW

https://github.com/timescale/pg_vectorsearch
192•jascha_eng•13h ago•49 comments

How Amazon pushes up prices all across the Internet

https://www.not-ship.com/how-amazon-pushes-up-prices-all-across-the-internet/
711•sighborg•15h ago•592 comments

Why is every rationalist blog post way too long?

https://alexwennerberg.com/blog/2026-10-13-long.html
193•epestr•19h ago•145 comments

Webster’s Dictionary: The pleasure of finding things out (2014)

https://jsomers.net/blog/dictionary
16•hangsi•1d ago•3 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?