frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Dutch governments builds alternative for Microsoft based on NixOS

https://www.dawo.community/en/
401•fjfaase•4h ago•176 comments

Platform-Independent SIMD in Go

https://go.dev/blog/simd-experiment
13•yurivish•43m ago•1 comments

Ink and Switch Interactive Homepage

https://www.inkandswitch.com/
60•iFreilicht•2h ago•12 comments

Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini

https://nyaa.sh/reviews/mac-mini-m6-emulation
103•hugh4life•5h ago•39 comments

F-Droid 2.0

https://f-droid.org/2026/09/24/f-droid-2.0-a-new-chapter-for-android-freedom.html
1293•daveoc64•21h ago•372 comments

Show HN: Agentic CUDA Kernel Optimizer

https://github.com/bertaye/agentic-cuda-optimizer
12•bertaye•1h ago•0 comments

CVE-2025-13032: Entering and Breaking the Avast Antivirus Sandbox Part 2

https://www.safateam.com/intelligence-hub/research/technical-articles/cve-2025-13032-entering-and...
66•safateam•5h ago•16 comments

Git-bug: Distributed, offline-first bug tracker embedded in Git

https://github.com/git-bug/git-bug
8•alentred•51m ago•0 comments

Special Projects (2016)

https://openai.com/index/special-projects/
36•vinhnx•3h ago•16 comments

Show HN: Make cursed fonts like Times New Bastard

https://bastardica.mitpit.com
737•MitPitt•1d ago•101 comments

Oracle on the hook to pay data centre investors even if site has no electricity

https://www.ft.com/content/a96bf05a-a299-4d6a-a753-b298dd0f4016
59•Betelbuddy•2h ago•38 comments

The Mafia may be keeping fentanyl out of Italy

https://economist.com/europe/2026/09/24/the-mafia-may-be-keeping-fentanyl-out-of-italy
89•runeks•2h ago•99 comments

Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design

https://github.com/devdotfast/whiteboard
333•sidharthkmenon•19h ago•120 comments

Why is the liver so weirdly regenerative?

https://dynomight.substack.com/p/liver
438•jbotz•20h ago•227 comments

Topcoat is pushing the boundary of server applications with Rust

https://tokio.rs/blog/2026-09-24-topcoat-server-applications
9•sagacity•2h ago•6 comments

2DWillNeverDie

https://2dwillneverdie.com/
262•surprisetalk•2d ago•61 comments

Amiga Screens: A Primer

https://www.datagubbe.se/amscr/
22•msephton•4h ago•4 comments

Fearless SIMD v1.0

https://linebender.org/blog/fearless-simd-1-0/
273•verdagon•3d ago•42 comments

Rails World 2026 Opening Keynote [video]

https://www.youtube.com/watch?v=vDjW_dRyKXY
358•an0malous•1d ago•388 comments

Toyota is taking the Corolla electric

https://electrek.co/2026/09/23/toyota-best-selling-corolla-electric/
354•cisc•1d ago•628 comments

Boards of Casio

https://www.ambionix.com/blog/boards-of-casio/
8•fidotron•3h ago•1 comments

My weird new hobby: Wandering around Tokyo on Google Maps

https://ahmedhossamdev.com/writing/my-weird-new-hobby-wandering-around-tokyo/
352•ahmedhossamdev•2d ago•162 comments

Opus 5.5 is good at explainer videos

https://launchvideo.io
299•iacguy•16h ago•156 comments

What About Rails?

https://jardo.dev/what-about-rails
103•jrochkind1•9h ago•57 comments

Using LLMs to trace alchemical knowledge and decode 17th century letters

https://resobscura.substack.com/p/ai-labs-need-to-start-funding-historical
143•benbreen•17h ago•31 comments

Two-tier encryption in the UK

https://macanorak.com/two-tier-encryption-in-the-uk/
470•ReturnoftheHack•1d ago•419 comments

Google’s Project Suncatcher to put ML infrastructure in space

https://blog.google/innovation-and-ai/models-and-research/google-research/google-project-suncatch...
199•xnx•22h ago•403 comments

Writing Parquet files using Haskell

https://www.datahaskell.org/blog/2026/09/18/writing-parquet-files-using-haskell.html
73•cosmic_quanta•2d ago•18 comments

Book review: Is parallel programming hard, and, if so, what can you do about it?

https://ahelwer.ca/post/2026-09-21-concurrency-textbook/
130•ahelwer•3d ago•57 comments

Sourcehut account takeover via build logs (XSS in ansi2html)

https://blog.arusekk.pl/posts/srht-account-takeover/
134•arusekk•16h ago•27 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?