frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Scrap

https://twitter.com/moxie/status/2091218652133732491
210•tosh•4h ago•85 comments

Why your local LLM feels dumber than it is

https://forum.level1techs.com/t/why-your-local-llm-feels-dumber-than-it-is/253917
115•felineflock•4h ago•35 comments

NetBSD and my life (2005)

https://mail-index.netbsd.org/netbsd-advocacy/2005/09/10/0000.html
73•gnyeki•3h ago•20 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
275•jemoka•8h ago•90 comments

Hister – A private, full content search index that you control

https://hister.org/
189•auraham•4d ago•58 comments

hdiutil is deprecated in macOS 27 Golden Gate

https://lapcatsoftware.com/articles/2026/8/7.html
143•zdw•3h ago•52 comments

RF Cafe

https://www.rfcafe.com/
122•gregsadetsky•3d ago•15 comments

How a Texas student blew the whistle on a rogue AI hacking attempt

https://www.reuters.com/world/how-texas-student-blew-whistle-rogue-ai-hacking-attempt-2026-08-20/
85•olalonde•1d ago•23 comments

typ.ing

https://typ.ing/
143•bookofjoe•4d ago•38 comments

A Friendly Introduction to Racket

https://geometridae.bearblog.dev/a-friendly-introduction-to-racket/
172•signa11•8h ago•75 comments

ATProto spaces: A new extension to ATProto that enables non-public data

https://atproto.com/blog/atproto-spaces-alpha
83•grappler•2d ago•10 comments

Guess which of these LLM outputs is watermarked

https://sgoedecke.github.io/watermark-quiz/
58•gfysfm•2d ago•56 comments

One night in Uzbekistan: Why was this one data point so influential?

https://statmodeling.stat.columbia.edu/2026/08/20/we-couldnt-reproduce-their-findings-and-realize...
56•paulpauper•1d ago•5 comments

English ↔ Claudish Translator

https://programasweights.com/claudish
33•leumon•3h ago•21 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
238•simonpure•13h ago•110 comments

Mythic's analog compute-in-memory architecture

https://www.mythic.ai
41•janandonly•4d ago•22 comments

A week of using Codex more than Claude

https://allaboutcoding.ghinda.com/a-week-of-using-codex-more-than-claude/
97•speckx•1d ago•105 comments

Dynamical dark energy and the week that broke cosmology

https://perimeterinstitute.ca/news/dynamical-dark-energy-and-week-broke-cosmology
36•rznicolet•1d ago•8 comments

Canada will match US tariffs 'dollar for dollar' as trade talks break down

https://www.bbc.com/news/articles/cvgvyy4x2mvo
404•tartoran•16h ago•1113 comments

Autolith: A programming agent with a live runtime

https://www.lambda-symbolics.com/autolith
100•vismit2000•2d ago•41 comments

A Kantian Critique of "Sorry" by Justin Bieber

https://decodingvibes.com/blog/a-kantian-critique-of-sorry-by-justin-bieber/
188•altmanaltman•9h ago•82 comments

Show HN: Make your logo extra bright on HDR screens

https://www.soverybright.com/
38•telecuda•4h ago•44 comments

Why it might be time to rethink the human family tree

https://nautil.us/why-it-might-be-time-to-rethink-the-human-family-tree-1283985
49•Anon84•2d ago•25 comments

Thinking in Python by Bruce Eckel

https://thinkinginpython.com/
18•pjacotg•4h ago•1 comments

Show HN: OzBrain, a shared brain for knowledge between agents and your team

https://ozbrain.com
75•dariusmonsef•23h ago•46 comments

Z80 – The 1970s Microprocessor Still Alive (2021)

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
111•asdefghyk•13h ago•54 comments

New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
167•pentagrama•9h ago•120 comments

Show HN: terminal-code – VS Code inside the terminal

https://terminal-code.com
60•robpruzan•3d ago•15 comments

MiniageOS: "Dumbphone" Version of LineageOS

https://github.com/ofdryads/miniageOS
36•ashenke•2d ago•21 comments

What's in a PowerPoint File?

https://editide.com/blog/what-is-a-pptx-file/
44•danielochoa0620•3d ago•25 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?