frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I spent $266 and four AI models to own my tablet. GLM-5.3 finished it in a day

https://ericpardee.github.io/fire-hd-ownership/
291•dr_pardee•3h ago•115 comments

GLM-5.3 (open-weight) beat Anthropic/OpenAI models – for 1/5 the cost

https://reinvently.co.uk/tools/ed-o-meter/
159•ed-is-ai•1h ago•61 comments

How Complex Systems Fail (1998)

https://how.complexsystems.fail/
106•shortcrct•2h ago•23 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
160•campuscodi•5h ago•74 comments

A website for debloated open source alternatives

https://debloat.dev/
38•ryanvogel•1h ago•14 comments

Why Sal Khan't: On Learning by Making but Teaching by Telling

https://punyamishra.com/2026/04/16/why-sal-khant-on-learning-by-making-but-teaching-by-telling/
36•the-mitr•2h ago•10 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
116•bwb•4h ago•30 comments

Slovakia finds Russian backdoor in traffic speed cameras

https://risky.biz/risky-bulletin-slovakia-finds-russian-backdoor-in-traffic-speed-cameras/
202•dredmorbius•3h ago•83 comments

Coconut Oil Jet Fuel Matches Kerosene's Efficiency in Engine Tests

https://studyfinds.com/coconut-oil-jet-fuel-matches-kerosenes-efficiency-in-engine-tests/
56•mdp2021•2h ago•52 comments

To become a better writer, read as much as you can

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
375•andsoitis•14h ago•238 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
126•tosh•3h ago•83 comments

Wi-Fi 8 is the first wireless upgrade in years that isn't chasing speed

https://www.xda-developers.com/wi-fi-8-first-wireless-upgrade-years-isnt-chasing-speed-home-netwo...
197•taubek•11h ago•153 comments

The End of an Athlon

http://www.os2museum.com/wp/the-end-of-an-athlon/
164•userbinator•12h ago•74 comments

Things I want in a modern relational query language

https://sporks.space/2026/08/19/things-i-want-in-a-modern-relational-query-language/
52•zdw•23h ago•40 comments

We must not grant AI agents legal personhood

https://www.ft.com/content/b8cc4bf4-6d3c-4974-8428-9a091983c473
13•andsoitis•46m ago•12 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
451•felineflock•23h ago•183 comments

I gave Qwen 3.8 27B a reverse-engineering job and it finished in 30 minutes

https://www.xda-developers.com/qwen-3-8-27b-reverse-engineering-job-frontier-model/
237•raybb•8h ago•107 comments

MartyPC is a cross-platform emulator of early PCs written in Rust

https://martypc.net/
179•boilerupnc•14h ago•60 comments

Show HN: Live 3D satellite tracker and the declassified Pentagon UFO archive

https://skylens.yantraai.app/
53•skylensspace•8h ago•27 comments

JIT Compiling Code in 5μs

https://malisper.me/jit-compiling-code-in-5-us/
138•zX41ZdbW•12h ago•90 comments

Amiga-Inspired AROS Goes Bare Metal on Raspberry Pi

https://hackaday.com/2026/08/23/amiga-inspired-aros-goes-bare-metal-on-raspberry-pi/
37•mdp2021•3h ago•4 comments

I Dream of Quieter Computing

https://henry.codes/writing/i-dream-of-quieter-computing/
98•Sir_Twist•15h ago•105 comments

The Art and Beauty of Blade Runner (2015)

https://nappertime.com/the-art-of-and-beauty-of-blade-runner/
159•cocacola1•17h ago•97 comments

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

https://hister.org/
453•auraham•4d ago•98 comments

I set a trap for a book-marketing scammer (2025)

https://rwwgreene.substack.com/p/i-set-a-trap-for-a-book-marketing
72•rznicolet•1d ago•47 comments

Fast and Hard Code

https://lucumr.pocoo.org/2026/8/22/fast-hard-code/
99•tosh•12h ago•65 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
463•jemoka•1d ago•138 comments

Scrap (2006)

https://twitter.com/moxie/status/2091218652133732491
399•tosh•1d ago•217 comments

typ.ing

https://typ.ing/
341•bookofjoe•5d ago•108 comments

Thinking in Python

https://thinkinginpython.com/
274•pjacotg•1d ago•58 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?