frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenRouter is joining Stripe

https://openrouter.ai/blog/announcements/openrouter-is-joining-stripe/
688•rvz•9h ago•355 comments

Go 1.27

https://go.dev/blog/go1.27
490•database64128•8h ago•130 comments

Google replaced Git tags for certain source code with obtaining via Google Drive

https://grapheneos.social/@GrapheneOS/117057099753905023
338•Animux•9h ago•143 comments

Manabu Kosaka's Handmade Paper Sculptures

https://coca11272000.wixsite.com/manabukosaka
55•surprisetalk•13h ago•6 comments

Unlocking a locked/deactivated e-waste Cricut Maker

https://sprocketfox.io/xssfox/2026/07/01/cricut-unlock/
153•1e1a•8h ago•37 comments

A joke domain purchase turned in geopolitical warfare

https://sprocketfox.io/xssfox/2026/08/19/sondehub-and-war/
786•kareiva•16h ago•121 comments

Turns are Better than Radians

https://www.computerenhance.com/p/turns-are-better-than-radians
18•mayoff•1h ago•12 comments

Unsloth Dynamic 3.0 GGUFs

https://unsloth.ai/docs/basics/dynamic-3.0-ggufs
198•jonesy827•8h ago•79 comments

A faster way to calculate the day of the week

https://www.benjoffe.com/fast-day-of-week
17•gavide•3d ago•3 comments

Casio F-B100W-1A

https://www.casio.com/uk/watches/casio/product.F-B100W-1A/
293•__fst__•11h ago•240 comments

Sol Loves to Cheat

https://jumploops.com/blog/sol-loves-to-cheat/
88•jumploops•1d ago•58 comments

Why travellers are obsessed with foreign supermarkets

https://www.bbc.com/travel/article/20260811-the-supermarket-is-becoming-a-tourist-attraction
42•edward•3d ago•37 comments

Os8088.com: IBM XT OS now has a Browser, CP/M 2.2 with Z80 core and MS Word 1.1a

https://os8088.com/spotlight/
56•jggonz•6h ago•31 comments

Geolocating a random island using geometry and CUDA programming

https://yassa9.github.io/osint/gralhix-004/
421•yassa9•15h ago•76 comments

Feature Request: Support AGENTS.md

https://github.com/anthropics/claude-code/issues/6235
152•fg137•6h ago•85 comments

PostgreSQL for Everything

https://www.raphaelbauer.com:443/posts/postgresql-everything/
319•karlmush•14h ago•197 comments

The little-known winstart.bat batch file

https://devblogs.microsoft.com/oldnewthing/20260811-00/?p=112605
85•ingve•4d ago•23 comments

fx :Tiny, open, native coding agent.

https://fx.sh
196•handfuloflight•1d ago•92 comments

DFlash 2: Keep Drafting Parallel

https://inco.ai/blog/dflash2/
77•mike-the-brain•6h ago•9 comments

Mathematics in the age of AI

https://arxiv.org/abs/2608.16753
126•jonbaer•12h ago•144 comments

Ornith-1.5: From Self-Scaffolding to Self-Improvement

https://ornith.ai/ornith_1_5.html
174•CommonGuy•12h ago•60 comments

Simulacra and Simulation

https://en.wikipedia.org/wiki/Simulacra_and_Simulation
34•soupspaces•1w ago•11 comments

Pressed Penny Machine Map

https://pennypresses.net/home/map.php
53•willmeyers•7h ago•45 comments

Universality of Gradient Descent Neural Network Training

https://arxiv.org/abs/2007.13664
12•E-Reverance•3h ago•2 comments

Xorshift Generators

https://www.alanzucconi.com/2026/08/15/xorshift-generators/
53•tobr•4d ago•35 comments

How do payments work in the US, China, and Brazil?

https://andrewacomb.substack.com/p/a-tale-of-three-refunds
18•acombandrew•1w ago•1 comments

Extensible Software in the age of LLMs

https://jeremymorrell.dev/blog/extensible-software-in-the-age-of-llms/
117•coloneltcb•11h ago•50 comments

Air Theremin – A browser theremin you play by waving at your webcam

https://theremin.bizibah.com/
255•gurov•17h ago•86 comments

Pacing model development in an era of cyber-critical capabilities

https://openai.com/index/pacing-model-development-cyber-capabilities/
135•j4mie•1d ago•181 comments

Remote workers report the highest well-being in study of 7,700 employees

https://www.colorado.edu/today/2026/08/12/remote-workers-report-highest-well-being-study-7700-emp...
522•downbad_•11h ago•260 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?