frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Google Antigravity ACP using "custom-agent" consumes 4x quota per token

https://github.com/google-antigravity/antigravity-cli/issues/1890
311•bloopernova•4h ago•144 comments

Borland's DOS compilers, rebuilt from their own binaries

https://github.com/abedegno/borland-reborn
62•frostbyte7•2h ago•15 comments

Disk Utility needs loving care and attention

https://eclecticlight.co/2026/11/28/disk-utility-needs-loving-care-and-attention/
69•zdw•1d ago•29 comments

Your family should have a shared two-factor authentication code

https://shkspr.mobi/blog/2026/11/your-family-should-have-a-shared-two-factor-authentication-code/
33•robin_reala•2h ago•10 comments

Show HN: A free online PDF editor that runs in the browser

https://pdfbop.com/
11•ulicaki8991•1h ago•4 comments

Google account banned due to Gemini usage

https://twitter.com/complex_maths/status/2126864616538165581
196•tarr11•1h ago•123 comments

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

https://arxiv.org/abs/2609.37693
161•peter_d_sherman•8h ago•47 comments

An exhaustive review of design tool hover areas

https://tldraw.dev/blog/a-review-of-design-tool-hover-areas
35•bpierre•1d ago•5 comments

Get a Cable Modem Go to Jail (1999)

http://telecom.csail.mit.edu/judy-sammel.html
105•romania1•6h ago•56 comments

Attention Kmart shoppers – music played over the store PA

https://www.attentionshoppers.net/
405•ChrisArchitect•13h ago•107 comments

Vernor Vinge: The curse of the mummy's tomb (1992)

https://akkartik.name/post/straumli
74•akkartik•3d ago•27 comments

The Math Behind Counter-Strike Surfing

https://healeycodes.com/the-math-behind-counter-strike-surfing
26•v3gas•2d ago•4 comments

So You Want to Build a Mainstream Formally Verifiable Language

https://danilafe.com/blog/verifiable_language/
30•mpweiher•3h ago•9 comments

The M-Vave FM-1 FM Synthesizer and the Success of Open Source

https://www.hashbangcode.com/article/m-vave-fm-1-fm-synthesizer-and-success-open-source
113•speckx•4d ago•69 comments

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan

https://adamgreenough.net/blog/wordpress-php-versions/
198•xadz•14h ago•91 comments

PocketBase has moved off GitHub

https://github.com/pocketbase/pocketbase/issues/7872
370•p2detar•17h ago•184 comments

Crowdsourcing AI Agents to Solve P Equals NP

https://pequalnp.com/pnp
59•whatisthiseven•1h ago•52 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
516•eiiot•19h ago•156 comments

Optimizing Rustc's next trait solver

https://donsz.nl/blog/optimizing-rustcs-next-trait-solver
179•g0xA52A2A•4d ago•20 comments

'Enormous fear': Scientist shares arrest by ICE despite pristine paper trail

https://www.science.org/content/article/enormous-fear-scientist-shares-arrest-ice-despite-pristin...
340•Alien1Being•6h ago•279 comments

Domes

https://www.shelterpub.com/domes
26•tosh•4h ago•9 comments

Gmail "Send as" ends January 2027

https://emailfa.st/blog/gmail-send-as-ending-cloudflare-email-routing
515•tombakerbuilds•19h ago•277 comments

Torqwave – Open-source C++20/JUCE spectral audio editor and DAW (AGPL-3.0)

https://github.com/BobClawblaw/torqwave
9•hjm•2d ago•4 comments

Beating Floating Point at Its Own Game: Posit Arithmetic [pdf]

http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf
73•xenophonf•9h ago•27 comments

Silently degrading the model's capabilities is sabotage

https://twitter.com/TimSweeneyEpic/status/2126682647862862063
945•tosh•23h ago•368 comments

Audible removes download option for purchased audiobooks

https://consumerrights.wiki/w/Audible_removes_download_option_for_purchased_audiobooks
1410•DeepLogin•1d ago•527 comments

Computer Disease (2020)

https://blog.adafruit.com/2020/01/13/richard-feynman-on-computer-disease/
255•jvanderbot•22h ago•105 comments

Guitar Hero, but for Hand Bells

https://dingdonghero.com
66•devbytes•3d ago•13 comments

Hacker Laws

https://github.com/dwmkerr/hacker-laws
91•Olshansky•11h ago•14 comments

Show HN: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu
49•petabyt•10h ago•18 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?