frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Computer-generated dream world: Virtual reality for a 286 processor

https://deadlime.hu/en/2026/02/22/computer-generated-dream-world/
57•MBCook•2h ago•1 comments

If AI writes code, should the session be part of the commit?

https://github.com/mandel-macaque/memento
143•mandel_x•6h ago•161 comments

Evolving descriptive text of mental content from human brain activity

https://www.bbc.com/future/article/20260226-how-ai-can-read-your-thoughts
10•ggm•59m ago•1 comments

WebMCP is available for early preview

https://developer.chrome.com/blog/webmcp-epp
249•andsoitis•8h ago•137 comments

Everett shuts down Flock camera network after judge rules footage public record

https://www.wltx.com/article/news/nation-world/281-53d8693e-77a4-42ad-86e4-3426a30d25ae
145•aranaur•2h ago•22 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
97•kossisoroyce•5h ago•10 comments

Frankensqlite a Rust reimplementation of SQLite with concurrent writers

https://frankensqlite.com/
35•rahimnathwani•3d ago•29 comments

How to record and retrieve anything you've ever had to look up twice

https://ellanew.com/2026/03/02/ptpl-197-record-retrieve-from-a-personal-knowledgebase
16•Curiositry•2h ago•4 comments

Right-sizes LLM models to your system's RAM, CPU, and GPU

https://github.com/AlexsJones/llmfit
92•bilsbie•7h ago•19 comments

Show HN: I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs

https://github.com/cosmiciron/vmprint
47•cosmiciron•18h ago•26 comments

Ghostty – Terminal Emulator

https://ghostty.org/docs
693•oli5679•18h ago•299 comments

Tove Jansson's criticized illustrations of The Hobbit (2023)

https://tovejansson.com/hobbit-tolkien/
138•abelanger•2d ago•64 comments

Why does C have the best file API

https://maurycyz.com/misc/c_files/
100•maurycyz•11h ago•62 comments

Little Free Library

https://littlefreelibrary.org/
103•TigerUniversity•8h ago•47 comments

When does MCP make sense vs CLI?

https://ejholmes.github.io/2026/02/28/mcp-is-dead-long-live-the-cli.html
350•ejholmes•13h ago•227 comments

Decision trees – the unreasonable power of nested decision rules

https://mlu-explain.github.io/decision-tree/
457•mschnell•21h ago•73 comments

Have your cake and decompress it too

https://spiraldb.com/post/cascading-compression-with-btrblocks
8•emschwartz•2d ago•2 comments

Next-gen spacecraft are overwhelming communication networks

https://atempleton.bearblog.dev/how-next-gen-spacecraft-are-overwhelming-our-communication-networks/
57•korrz•2d ago•16 comments

Show HN: Vibe Code your 3D Models

https://github.com/ierror/synaps-cad
48•burrnii•2d ago•12 comments

C64 Copy Protection

https://www.commodoregames.net/copyprotection/
40•snvzz•3d ago•3 comments

Microgpt explained interactively

https://growingswe.com/blog/microgpt
245•growingswe•20h ago•37 comments

You don't have to

https://www.scottsmitelli.com/articles/you-dont-have-to/
72•marginalia_nu•8h ago•34 comments

Long Range E-Bike (2021)

https://jacquesmattheij.com/long-range-ebike/
144•birdculture•3d ago•218 comments

Ape Coding [fiction]

https://rsaksida.com/blog/ape-coding/
163•rmsaksida•16h ago•108 comments

What our DNA reveals about the sex life of Neanderthals

https://www.nytimes.com/2026/02/26/science/human-evolution-neanderthal-sex.html
38•Hooke•3d ago•39 comments

Running Neural Amp Modeler on embedded hardware

https://www.tone3000.com/blog/running-nam-on-embedded-hardware
23•woodybury•2d ago•4 comments

Setting up phones is a nightmare

https://joelchrono.xyz/blog/setting-up-phones-is-a-nightmare/
136•bariumbitmap•3d ago•173 comments

Why XML tags are so fundamental to Claude

https://glthr.com/XML-fundamental-to-Claude
189•glth•15h ago•132 comments

Flightradar24 for Ships

https://atlas.flexport.com/
214•chromy•19h ago•46 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1780•tambourine_man•1d ago•301 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•10mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•10mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•10mo 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•9mo 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•9mo 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•9mo 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•9mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•9mo ago
What are the biggest use cases of GPU accelerated sorting?