frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
275•lwhsiao•1h ago•60 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
797•chadfowler•6h ago•257 comments

US battery manufacturing output continues to break records

https://fred.stlouisfed.org/series/IPG33591S
56•epistasis•1h ago•24 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
53•speckx•1h ago•10 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
482•tinywind•5h ago•94 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

495•cloudking•6h ago•249 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
182•rsgm•6h ago•37 comments

Game Engine White Papers Commander Keen

https://forgottenbytes.net/commander_keen.html
106•mfiguiere•3h ago•32 comments

Techno-libertarians are flocking to the Caribbean

https://economist.com/the-americas/2026/06/11/techno-libertarians-are-flocking-to-the-caribbean
8•andsoitis•13m ago•1 comments

Factoring "short-sleeve" RSA keys with polynomials

https://blog.trailofbits.com/2026/06/12/factoring-short-sleeve-rsa-keys-with-polynomials/
52•ledoge•3d ago•1 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
86•lkanwoqwp•4h ago•11 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
248•tuhtah•8h ago•370 comments

A calculator that doesn't round

https://constructive-calculator.dimview.org/writeup.html
13•dimview•3d ago•6 comments

Show HN: Fata – Spaced repetition to fight skill rot from AI coding

https://fata.dev
59•djoume•4d ago•36 comments

What every coder should know about Gamma Correction

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
15•sph•1d ago•8 comments

Making glass-to-metal seals for home­made vacuum tubes

https://maurycyz.com/projects/glass/1/
109•zdw•1d ago•34 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
227•thm•8h ago•320 comments

Show HN: Vet turned founder, AI lawn diagnosis

https://grassdx.com/
9•andrewbr•3h ago•1 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
207•bookofjoe•6h ago•76 comments

How memory safety CVEs differ between Rust and C/C++

https://kobzol.github.io/rust/2026/06/15/how-memory-safety-cves-differ-between-rust-and-c-cpp.html
83•nicoburns•5h ago•82 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

30•PrimalNick•4h ago•39 comments

Boot Naked Linux

https://nick.zoic.org/art/boot-naked-linux/
68•abnercoimbre•5h ago•33 comments

Typst 0.15.0

https://typst.app/docs/changelog/0.15.0/
225•schu•4h ago•54 comments

US Air Force B-52 bomber crashes after takeoff, Edwards Air Force Base says

https://www.reuters.com/business/aerospace-defense/us-air-force-b-52-bomber-crashes-after-takeoff...
64•tartoran•1h ago•44 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
455•MehrdadKhnzd•16h ago•210 comments

I'm starting to think the White House UFC fight was all just a weird crypto scam

https://www.msn.com/en-us/sports/mma_ufc/i-m-starting-to-think-the-white-house-ufc-fight-was-all-...
26•petethomas•45m ago•0 comments

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

https://machine0.io
60•bwm•5h ago•28 comments

CrankGPT

https://crankgpt.com
520•rishikeshs•8h ago•209 comments

The Alaska Server

https://serialport.org/blog/the-alaska-server/
17•speckx•3h ago•3 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
168•thunderbong•4d ago•82 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?