frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
135•systima•1h ago•76 comments

I love LLMs, I hate hype

https://geohot.github.io//blog/jekyll/update/2026/07/12/i-love-llms.html
67•therepanic•1h ago•29 comments

The shingles vaccine may reduce the risk of dementia

https://www.economist.com/leaders/2026/07/09/a-no-brainer-for-protecting-your-brain
124•saikatsg•4h ago•101 comments

Old and new apps, via modern coding agents

https://terrytao.wordpress.com/2026/07/11/old-and-new-apps-via-modern-coding-agents/
350•subset•8h ago•100 comments

Don't you mean extinct?

https://fabiensanglard.net/extinct/index.html
132•zdw•4h ago•62 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
44•root-parent•2h ago•23 comments

Show HN: Shirei, cross-platform GUI framework in native Go

https://github.com/hasenj/go-shirei/
52•hsn915•2h ago•28 comments

Can We Understand How Large Language Models Reason?

https://cacm.acm.org/news/can-we-understand-how-large-language-models-reason/
21•adunk•1h ago•9 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
28•softwaredoug•2d ago•77 comments

Against Usefulness

https://www.motivenotes.ai/p/against-usefulness
31•supo•1h ago•5 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
39•BerislavLopac•2h ago•7 comments

The One-Step Trap (In AI Research)

http://incompleteideas.net/IncIdeas/OneStepTrap.html
5•jxmorris12•59m ago•0 comments

Why study Diophantine equations?

https://hidden-phenomena.com/articles/modular
45•mb1699•3h ago•12 comments

Understanding the Odin Programming Language

https://odinbook.com/
125•AlexeyBrin•7h ago•64 comments

Deir El-Medina Strikes

https://en.wikipedia.org/wiki/Deir_el-Medina_strikes
13•mooreds•5d ago•1 comments

Ghostel.el: Terminal emulator powered by libghostty

https://dakra.github.io/ghostel/
236•signa11•10h ago•39 comments

The power of collaboration: How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
35•raahelb•4h ago•24 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
257•compiler-guy•2d ago•141 comments

How to Read More Books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
174•silcoon•3h ago•99 comments

What xAI's Grok build CLI sends to xAI: A wire-level analysis

https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
348•jhoho•18h ago•145 comments

Morphometrics: Introduction to the Analysis of Shape

https://www.geol.umd.edu/~tholtz/G331/lectures/331biomech.html
18•num42•1w ago•0 comments

AI boosts research careers but narrow the span of ideas explored: study

https://spectrum.ieee.org/ai-science-research-flattens-discovery
119•zaikunzhang•6h ago•87 comments

Autoresearch, Claude and Constrained Optimization

https://www.elliotcsmith.com/autoresearch-claude-and-constrained-optimization/
21•gmays•5h ago•4 comments

Death of the Status Update: Why 55% of Americans Stopped Posting on Social Media

https://ca.pcmag.com/social-media/16790/the-death-of-the-status-update-why-55-of-americans-stoppe...
65•thunderbong•9h ago•68 comments

Unauthenticated RCE in Motorola's MR2600 Router

https://mrbruh.com/motorola/
65•MrBruh•7h ago•22 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
6•brryant•2h ago•1 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
4•georgex7•1h ago•0 comments

Abject Praise

https://infrequently.org/2026/07/abject-praise/
11•genericlemon24•5d ago•5 comments

Satteri: A Markdown pipeline forged in Rust for the JavaScript world

https://satteri.bruits.org/
39•nateb2022•4d ago•5 comments

Croc: Securely transfer files and folders between two computers

https://github.com/schollz/croc/
14•gregsadetsky•3h ago•1 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?