frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

SeL4 security proofs now complete on AArch64

https://proofcraft.systems/news-2026/#2026-08-21
59•snvzz•1h ago•14 comments

I were 17, I'd learn how to build LLMs from scratch

https://twitter.com/paulg/status/2091544343589060625
265•bilsbie•16h ago•380 comments

Everything I own, owned

https://schlarp.com/posts/everything-i-own-owned/
1108•schlarpc•14h ago•296 comments

Ask HN: Why do corporate failures always seem to punish the wrong people?

61•mittermayr•1h ago•32 comments

FDA clears blood test to aid evaluation for Alzheimer's disease

https://medicine.washu.edu/news/fda-clears-blood-test-to-aid-evaluation-for-alzheimers-disease/
91•dabinat•6h ago•29 comments

Executable Is a SQLite Database

https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
200•setheron•8h ago•27 comments

The Future Belongs to the Weird

https://essays.georgestrakhov.com/weird/
54•georgestrakhov•4h ago•27 comments

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

https://www.ft.com/content/5ee49718-c258-4f01-aa32-7e5b76ae5245
616•naves•19h ago•543 comments

How I find problems to solve as a staff engineer

https://lalitm.com/post/find-problems-staff-engineer/
458•vanpra•18h ago•136 comments

Fast drilldown dashboards from a single Parquet file

https://www.hamiltonulmer.com/customer-dashboards-r2-hyparquet/
62•v3gas•5h ago•1 comments

OCR It – pull text out of un-copyable documents for your LLM

https://github.com/thiagotigaz/ocr-it
74•thiagolima•7h ago•16 comments

Agent Is Not the Model

https://code.joejag.com/2026/your-agent-is-not-the-model.html
25•joejag•2h ago•3 comments

Andreessen Horowitz is investing billions into a bleak future

https://www.modelrepublic.org/articles/a16z-portfolio
334•reasonableklout•6h ago•116 comments

I built a low-latency AI companion that plays Skyrim with me

https://pantel.is/projects/ai-gaming-companion/
230•pantelisk•14h ago•42 comments

Why older tech is sometimes safer from hackers

https://www.bbc.com/future/article/20260821-why-older-tech-is-sometimes-safer-from-hackers
5•tchalla•2h ago•2 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/
340•el1s7•17h ago•119 comments

Anthropic candidates face blunt money question

https://www.axios.com/2026/08/24/scoop-anthropic-candidates-face-blunt-money-question
23•samizdis•1h ago•29 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
489•tosh•23h ago•157 comments

My agent.md to improve LLM-assisted code quality

https://fabiensanglard.net/agent.md/index.html
340•ibobev•19h ago•145 comments

Woman stranded in Spain after UK's eVisa system mistakes her for twin sister

https://www.theguardian.com/uk-news/2026/aug/24/woman-stranded-spain-uk-evisa-system-mistakes-twi...
93•giuliomagnifico•3h ago•72 comments

New EU-wide product repair rules come into force

https://www.rte.ie/news/business/2026/0824/1588931-repair-rules/
174•austinallegro•7h ago•105 comments

The treasury bond mess: is this the demise of the US as a safe haven?

https://www.theguardian.com/business/2026/aug/24/treasury-bonds-trump-administration-debt
60•fittingopposite•2h ago•35 comments

Mourning Steve French

https://lwn.net/Articles/1090098/
36•mfrw•8h ago•0 comments

How Complex Systems Fail (1998)

https://how.complexsystems.fail/
339•shortcrct•22h ago•72 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
251•campuscodi•1d ago•127 comments

AI Chip Architectures

https://www.jepeake.com/ai-chip-architectures
102•Finbarr•1d ago•36 comments

Fable and the end of the free lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
185•dbreunig•18h ago•170 comments

Over 5,200 Ebola cases recorded in Congo

https://www.afro.who.int/countries/democratic-republic-of-congo/news/over-5200-cases-recorded-dem...
85•simonebrunozzi•6h ago•35 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
252•bwb•23h ago•100 comments

Explain it to me like I'm ten

https://timharford.com/2026/08/explain-it-to-me-like-im-ten/
159•bookofjoe•19h 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?