frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Everything I own, owned

https://schlarp.com/posts/everything-i-own-owned/
176•schlarpc•1h ago•50 comments

How I find problems to solve as a staff engineer

https://lalitm.com/post/find-problems-staff-engineer/
245•vanpra•5h ago•93 comments

Anthropic's best AI model struggles to attract users as cheaper tools thrive

https://www.ft.com/content/5ee49718-c258-4f01-aa32-7e5b76ae5245
166•naves•6h ago•136 comments

AI Chip Architectures

https://www.jepeake.com/ai-chip-architectures
28•Finbarr•22h ago•1 comments

Google Workspace thinks my domain is an email provider (2025)

https://blog.elis.cc/articles/google-workspace-thinks-my-domain-is-an-email-provider/
155•el1s7•5h ago•35 comments

My agent.md to improve LLM-assisted code quality

https://fabiensanglard.net/agent.md/index.html
137•ibobev•6h ago•69 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
280•tosh•10h ago•129 comments

How Complex Systems Fail (1998)

https://how.complexsystems.fail/
226•shortcrct•9h ago•61 comments

Implementation of GPT-2 in pure CMake

https://github.com/AlpinDale/gpt2.cmake
18•porridgeraisin•2h ago•5 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
204•campuscodi•11h ago•104 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
187•bwb•10h ago•65 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/
123•the-mitr•8h ago•78 comments

A website for debloated open source alternatives

https://debloat.dev/
251•ryanvogel•7h ago•86 comments

Explain it to me like I'm ten

https://timharford.com/2026/08/explain-it-to-me-like-im-ten/
73•bookofjoe•6h ago•34 comments

Decoding silent reading from non-invasive EEG

https://arxiv.org/abs/2608.20186
22•root-parent•4h ago•10 comments

Declarative WebGPU with S-Expressions

https://hugodaniel.com/posts/declarative-webgpu-with-s-expressions/
18•hugodan•3h ago•0 comments

Rural Village in Spain Is Welcoming Digital Nomads with Open Arms

https://www.cntraveler.com/story/this-rural-village-in-spain-is-welcoming-digital-nomads-with-ope...
19•simonebrunozzi•4h ago•4 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...
295•taubek•17h ago•233 comments

Kodak DC50 now usable on the Apple II

https://www.colino.net/wordpress/archives/2026/08/23/kodak-dc50-now-usable-on-the-apple-ii/
31•ibobev•8h ago•5 comments

Over 170k Nonprofits Lost All Their Data. Is Microsoft to Blame?

https://slate.com/technology/2026/08/microsoft-software-nonprofit-data-delete.html
150•tchalla•5h ago•61 comments

AI and Infrastructure Engineering

https://omegion.dev/2026/08/ai-and-infrastructure-engineering/
35•0megion•6h ago•8 comments

Parallel development without the headaches using Git worktree

https://barrd.dev/article/parallel-development-without-the-headaches-using-git-worktree/
13•oogali•2h ago•4 comments

The planet now has more trees than it did 35 years ago (2018)

https://psmag.com/environment/the-planet-now-has-more-trees-than-it-did-35-years-ago/
44•bookofjoe•2h ago•25 comments

The Vibe Tax

https://insufferable.dev/posts/vibe-tax/
98•allisdust•6h ago•76 comments

Fable and the end of the free lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
102•dbreunig•5h ago•86 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/
82•zdw•1d ago•79 comments

The Remote Work Challenge: Lessons from 5 Cities

https://www.pew.org/en/research-and-analysis/reports/2026/05/the-remote-work-challenge-lessons-fr...
27•softwaredoug•7h ago•10 comments

A complex structure on S^6 [pdf]

https://alpo.ge/s6.pdf
44•robinhouston•2h ago•14 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/
138•mdp2021•8h ago•157 comments

Death to px, long live ch

https://shkspr.mobi/blog/2026/08/death-to-px-long-live-ch/
60•Brajeshwar•10h ago•41 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?