frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 4 Argon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
97•bradleyg223•10m ago•24 comments

EDG C++ front-end goes public

https://edgcpp.org/#transition
39•iandinwoodie•48m ago•12 comments

Launch HN: Magnitude (YC S25) – Self-optimizing inference engine for agents

https://github.com/magnitudedev/magnitude
83•anerli•2h ago•41 comments

Surprisingly Complex Waves Reveal the Brain's Inner Workings

https://www.quantamagazine.org/surprisingly-complex-waves-reveal-the-brains-inner-workings-20260930/
31•ibobev•1h ago•6 comments

A brief history of the Bloomberg terminal

https://spectrum.ieee.org/bloomberg-terminal
166•rbanffy•5h ago•63 comments

5x faster Edge Functions: V8 isolates to Firecracker MicroVMs

https://www.netlify.com/blog/edge-functions-firecracker-microvms/
36•jbott•1h ago•12 comments

Commit description as a thinking tool

https://yedhu.me/posts/commit-description-as-a-thinking-tool/
81•yedhukrishnan•2h ago•41 comments

You said no MCP

https://earendil.com/posts/you-said-no-mcp/
532•yarapavan•10h ago•312 comments

Halfspace experimental IDE for solid modeling with distance fields

https://www.mattkeeter.com/projects/halfspace/
9•luu•30m ago•0 comments

I Could've Accessed 17T Microsoft Records

https://blog.faav.net/how-i-couldve-accessed-17-trillion-microsoft-records
194•luispa•1d ago•86 comments

What TLA+ can and can't check

https://buttondown.com/hillelwayne/archive/what-tla-can-and-cant-check/
88•b-man•6h ago•15 comments

Bild AI (YC W25) Is Hiring a Founding Product Engineer

https://www.ycombinator.com/companies/bild-ai/jobs/dAbC3Gd-founding-product-engineer
1•rooppal•3h ago

The last time my family was replaced by technology

https://manuel.darcemont.fr/posts/the-last-time-my-family-was-replaced-by-technology/
123•megalomanu•7h ago•270 comments

Moist-Electric Wallpaper for Indoor Energy Harvesting and Humidity Management

https://advanced.onlinelibrary.wiley.com/doi/10.1002/aenm.71603
45•croes•4h ago•28 comments

SDF vs. MSDF vs. Slug: GPU Text Rendering

https://alphapixeldev.com/sdf-vs-msdf-vs-slug-vs-rive-gpu-text-rendering/
106•ibobev•6h ago•44 comments

SDF Public Access Unix System ... est. 1987

https://sdf.org/
57•kmstout•5h ago•7 comments

Livenerf: Has Opus 5.5 been nerfed yet?

https://github.com/ninjahawk/livenerf
856•bryan0•21h ago•365 comments

Claude Says

https://ohhfishal.net/Posts/claude
19•speckx•2h ago•4 comments

Reverse-engineering a $35 backup camera display (AMT630A)

https://github.com/mogrinz/AMT630A
56•mogrinz•1d ago•18 comments

Burning Man death rates – A short lesson in statistics

https://ihavenapkinthoughts.substack.com/p/burning-man-death-rates-a-short-lesson
69•viraj_shah•2d ago•78 comments

LinkedIn Larpmaxxing

https://hereticpleb.vercel.app/blog/linkedin-larpmaxxing/
100•BurnerBurner•15h ago•113 comments

Understanding the Dual Polytope for Hull Simplification

https://cairnc.github.io/posts/understanding-the-dual-polytope/
4•OlympicMarmoto•1d ago•1 comments

Show HN: JBR-001 – An open-source 3D printable desktop robot

https://projecthub.arduino.cc/syntheticaidata/jbr-001-a-desktop-companion-robot-powered-by-arduin...
113•gvuksic•1d ago•28 comments

Show HN: Ledge.sh – Runnable Markdown Notes

https://ledge.sh
59•dancablam•20h ago•32 comments

Solving Factorio Quality

https://exyr.org/2026/solving-factorio-quality/
241•laurenth•1d ago•91 comments

Getting out of the way: my robotics crash course

https://thisismypersonalblog.com/posts/2026-09-25-getting-out-of-the-way/
59•systemerror•2d ago•13 comments

Show HN: Corral – Kill every command your agent starts

https://github.com/Cardinal44/corral
17•CG144•1d ago•4 comments

Dots: Always-on agents

https://openai.com/index/introducing-dots/
735•alvis•1d ago•621 comments

Vermont replacing power plants with home batteries

https://www.bbc.com/future/article/20260928-a-virtual-power-plant-hidden-in-vermont-homes-is-keep...
358•devonnull•1d ago•265 comments

Energy Timelines Photovoltaic

https://www.eia.gov/kids/history-of-energy/timelines/photovoltaic.php
7•thelastgallon•1d ago•4 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?