frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Hole Punch: Sling your spaceship around gravitational fields

https://notoriousbfg.com/hole-punch/
137•trwhite•3h ago•43 comments

Getting the most out of Opus 5.5 in Claude and Claude Code

https://claude.dev/blog/getting-the-most-out-of-opus-5-5/
81•saikatsg•3h ago•38 comments

Celebrating the 100th birthday of the kidney donated to him as a teenager

https://www.whec.com/top-news/webster-man-celebrating-the-100th-birthday-of-the-kidney-his-mom-do...
90•gscott•2d ago•22 comments

We want you to build the next Git platform on Cloudflare

https://blog.cloudflare.com/next-git-platform-on-cloudflare/
68•geoffbp•2h ago•62 comments

Kolibri: A Sovereign Open-Weight Model

https://aleph-alpha.com/en/blog/kolibri-has-landed-a-sovereign-open-weight-model/
441•bastitx•12h ago•274 comments

Show HN: Pi pod – Run your pi coding agent in sandboxes on your own server

https://pipod.dev/
56•edverma2•1d ago•23 comments

FTL: A new operating system for clouds

https://ftl-os.org/
131•romac•6h ago•54 comments

RSS Feed Best Practices (2022)

https://kevincox.ca/2022/05/06/rss-feed-best-practices/
23•KomoD•2h ago•4 comments

Vx – One Language, Every Chip

https://vxlang.org/
45•elffjs•4h ago•26 comments

Surely you have ultra-wideband radios on your bins too?

https://sjg.io/writing/binrange-have-you-actually-put-the-bins-out/
14•simonjgreen•1h ago•1 comments

Woking Electrical Control Room (2016)

http://www.darbiansphotography.com/woking-electrical-control-room-urbex
114•NaOH•1d ago•20 comments

C++ Insights – See your source code with the eyes of a Compiler

https://github.com/andreasfertig/cppinsights
126•rramadass•1d ago•25 comments

Newgrounds.com – A community of games, music, and art

https://www.newgrounds.com/
427•azhenley•21h ago•125 comments

MPEG-2 Transport Streams and MOQ: Yes, MPEG-TS Is Still Relevant Today

https://www.red5.net/blog/mpeg-2-transport-streams-and-moq-yes-mpeg-ts-is-still-relevant-today/
31•mondainx•2d ago•9 comments

Show HN: Our space game has a built-in RISC-V emulator that runs Linux

https://againstallodds.games/blog/2026/10/03/our-risc-v-emulator-pasriscv/
59•nor-and-or-not•1d ago•25 comments

RetailReady (YC W24) Is Hiring

https://www.ycombinator.com/companies/retailready/jobs/bFcgIe4-implementations
1•sarah74•4h ago

Show HN: Graphene – Data analysis toolkit for your coding agent

https://github.com/graphene-data/graphene
20•kcmarr•2d ago•7 comments

Our AI Midwife

https://www.astralcodexten.com/p/our-ai-midwife
58•eatitraw•2h ago•39 comments

Holes (1996-2025)

https://plato.stanford.edu/entries/holes/
41•surprisetalk•1d ago•11 comments

Mike Tomlin spent 12 years building a Minecraft city

https://www.nytimes.com/athletic/7648198/2026/10/01/mike-tomlin-minecraft-nfl-coach/
646•CoryOndrejka•2d ago•158 comments

Body Awareness in Goffin's Cockatoos

https://www.nature.com/articles/s41598-026-57500-7
34•bryanrasmussen•3d ago•4 comments

Two American Airlines Flights End Up with the Same Flight Numbers

https://aviationa2z.com/index.php/2026/08/19/two-american-airlines-flights-end-up-with-same-fligh...
42•samch•2h ago•23 comments

Apple Pass Designer

https://developer.apple.com/pass-designer/
540•soheilpro•1d ago•321 comments

A 12-year sequence of telescope images of a star and four planets orbiting

https://bsky.app/profile/theplanetaryguy.com/post/3mwucf5ert22f
387•mariuz•1d ago•79 comments

Cloudflare OHTTP gateway

https://blog.cloudflare.com/announcing-cloudflare-ohttp-gateway/
182•est•18h ago•84 comments

Loss of cell identity drives human aging: Two new papers

https://erictopol.substack.com/p/loss-of-cell-identity-drives-human
358•bookofjoe•2d ago•169 comments

At the Conformation Show: Chasing the Ideal Dog

https://www.theparisreview.org/blog/2026/09/03/the-conformation-show-and-the-pursuit-of-the-ideal...
4•Vigier•1d ago•0 comments

An Update on Orion for Linux and Windows

https://blog.kagi.com/update-orion-linux-windows
171•pentagrama•17h ago•97 comments

Show HN: Factorio but with Unreliable Components

https://think-twice.me/public/rely/
10•zug_zug•6h ago•1 comments

Make Tmux the OS

https://matduggan.com/what-does-my-dream-os-ui-look-like/
179•weaksauce•1d ago•111 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?