frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AWS Finally Built Its Own AWS Emulator

https://github.com/aws/aws-emulator
357•super_linear•2h ago•107 comments

Tim Peters has died

https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028
497•ayhanfuat•13h ago•51 comments

Why are we still working this hard?

https://wilsoniumite.com/2026/11/11/why-are-we-still-working-this-hard/
40•Wilsoniumite•24m ago•16 comments

A false smoke alarm almost drowned Jane Street's only NYC datacenter

https://michael.bacarella.com/2026/11/10/false-smoke-alarm-jane-street-datacenter/
283•mbac32768•3h ago•152 comments

AWS Emulator and the engineer's job when agents write the code

https://www.allthingsdistributed.com/2026/11/aws-emulator-and-the-engineers-job-when-agents-write...
74•drbm•2h ago•9 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
72•bolau•1h ago•32 comments

Retirement Savings Are Fueling the AI Bubble

https://lpeproject.org/blog/your-retirement-savings-are-fueling-the-ai-bubble/
68•speckx•1h ago•42 comments

Faster Retrieval for Better, More Efficient RAG

https://machinelearning.apple.com/research/faster-retrieval
91•zerop•3h ago•19 comments

Gemini Decisions API

https://blog.google/innovation-and-ai/technology/developers-tools/gemini-decisions-api/
56•iamdelirium•1h ago•8 comments

Google SWE points 48 AI agents at NASA Lidar, finds unmapped Maya pyramid in 72h

https://pietromiotti.com/latest/maya-site/?maya
851•eyvindn•8h ago•312 comments

Hyper-Realistic Sand with WebGL2

https://av.github.io/safe-sand/
233•everlier•6h ago•55 comments

IBM Quantum Nighthawk Demonstrates New Levels of Speed and Quality

https://newsroom.ibm.com/2026-11-11-ibm-quantum-nighthawk-demonstrates-new-levels-of-speed-and-qu...
9•gok•41m ago•0 comments

Show HN: Yogurt – Free, private, open-source alternative to Granola

https://github.com/FrigadeHQ/yogurt
104•brownrout•4h ago•54 comments

Atuin Threads: All your agent sessions on every machine

https://blog.atuin.sh/threads-agent-sessions/
149•linsomniac•6h ago•59 comments

Can a Linear Program Do Weight-Space Programming?

https://nathan.rs/posts/weight-space-lp/
201•emschwartz•7h ago•31 comments

The tiny transmitter tracking monarch butterflies' migration, Canada to Mexico

https://www.begiant.ca/stories/places/monarch-butterflies-tracking-conservation
15•upofadown•1d ago•3 comments

Launch HN: Pomerado (YC F26) – Turn any website into an MCP for agents

https://pomerado.ai/
31•alanjm23•3h ago•25 comments

Using voltage glitching to unleash the A100 in my mining card

https://blog.kate.land/posts/using-voltage-glitching-to-unlock-the-a100/
224•lae•9h ago•89 comments

Pharo in the Browser with WebAssembly

https://massimo-nocentini.github.io/pharo-vm/world.html
107•xkriva11•6h ago•31 comments

Beans at altitude: stovetop vs. pressure cooker

https://highaltitudelife.com/beans-at-altitude-stovetop-vs-pressure-cooker/
5•mooreds•2d ago•0 comments

We need more goat sacrifices

https://www.experimental-history.com/p/we-need-more-goat-sacrifices
153•iamnothere•8h ago•92 comments

AI, activity, and outcomes in software engineering

https://cabird.com/talks/shipping-faster/
79•azhenley•3h ago•88 comments

Tinfoil (YC P25) is hiring an applied AI security engineer in San Francisco

1•FrasiertheLion•8h ago

Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

https://github.com/0xdeadf1sh/AssemblyForNeovim
89•0xdeadf1sh•6h ago•15 comments

TimeNet: Open-source data infrastructure for Temporal Foundation Models

https://github.com/OpenTSLM/TimeNet
37•rjakob•1d ago•6 comments

The Computer Graphics Book of Knowledge

https://www.cs.cmu.edu/~ph/nyit/masson/history.htm
46•num42•4h ago•18 comments

Attention to Mamba: A Recipe for Cross-Architecture Distillation

https://machinelearning.apple.com/research/attention-mamba-distillation
57•zerop•7h ago•3 comments

The Power and Legacy of Virginia Tech's Mac-Based Supercomputers

https://512pixels.net/2026/11/va-tech-system-x-system-g/
28•CharlesW•2h ago•5 comments

Show HN: Micron – Oberon with the Power of C

https://github.com/rochus-keller/Micron
36•Rochus•3d ago•9 comments

A C++ Quicksort Faster Than std:sort

https://tiki.li/blog/about_blqsort
30•signa11•1d ago•5 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?