frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Prefer Strict Tables in SQLite

https://evanhahn.com/prefer-strict-tables-in-sqlite/
72•ingve•1h ago•17 comments

How to Hide from Killer Drones

https://www.economist.com/science-and-technology/2026/07/08/how-to-hide-from-killer-drones
37•pseudolus•1h ago•18 comments

Who manages the agents?

https://www.off-policy.com/dont-go-quietly-into-the-ai-night/
29•GavCo•1h ago•14 comments

We scaled PgBouncer to 4x throughput

https://clickhouse.com/blog/pgbouncer-clickhouse-managed-postgres
122•saisrirampur•4h ago•15 comments

The early History of the Singular Value Decomposition (1993) [pdf]

https://www.math.ucdavis.edu/~saito/courses/229A/stewart-svd.pdf
57•wolfi1•4h ago•23 comments

Modern decor may be straining people's brains

https://studyfinds.com/modern-decor-may-be-straining-peoples-brains/
113•downwithdisease•3h ago•95 comments

Nvidia, CoreWeave, and Nebius: Inside the Circular Financing of the GPU Boom

https://io-fund.com/ai-stocks/nvidia-coreweave-nebius-circular-financing-gpu-boom
34•adletbalzhanov•2h ago•7 comments

Leaded Gas Was a Known Poison the Day It Was Invented (2016)

https://www.smithsonianmag.com/smart-news/leaded-gas-poison-invented-180961368/
90•downbad_•2h ago•54 comments

AI Can't Recreate the Thrust Game (But It Can Help You Understand It)

https://www.jamesdrandall.com/posts/thrust_ai_powered_software_archaeology/
25•msephton•21h ago•16 comments

UPI: Anatomy of a Payment Transaction

https://timeseriesofindia.com/economy/reads/upi-architecture/
18•prtk25•2h ago•3 comments

Sixtyfour (YC P25) Is Hiring

https://www.ycombinator.com/companies/sixtyfour/jobs/bIbgQkL-operations-associate-data-samples-cu...
1•HPMOR•2h ago

Female US rower completes historic solo journey from California to Hawaii

https://www.theguardian.com/us-news/2026/jul/04/california-hawaii-rowing-solo-journey
104•speckx•2h ago•27 comments

Biff.graph: structure your Clojure codebase as a queryable graph

https://github.com/jacobobryant/biff/tree/v2.x/libs/graph
43•jacobobryant•4d ago•0 comments

Show HN: Learn by rebuilding Redis, Git, a database from scratch

https://shipthatcode.com
52•acley•5h ago•21 comments

Show HN: Orbit – AR satellite tracker, watch 15k+ objects

https://nagylukas.github.io/orbit.html
13•lukas9•2h ago•2 comments

Einstein's relativity rules chemical bonds in heavy elements, new research shows

https://www.brown.edu/news/2026-07-09/chemical-bonds-relativity
363•hhs•21h ago•161 comments

Reverse centaurs are the answer to the AI paradox

https://pluralistic.net/2025/09/11/vulgar-thatcherism/#there-is-an-alternative
41•jason_s•2h ago•9 comments

Amber the programming language compiled to Bash/Ksh/Zsh

https://amber-lang.com/
30•_superposition_•4d ago•18 comments

Show HN: Reame – a CPU inference server that gets faster as it runs

https://github.com/swellweb/reame
10•targetbridge•3h ago•2 comments

BLISS

https://en.wikipedia.org/wiki/BLISS
28•tosh•2h ago•5 comments

Google Search lets creators know more about their reach

https://www.theverge.com/tech/961955/google-search-console-reach-platform-properties
79•herbertl•3d ago•37 comments

Show HN: Earth Game – An offline CLI for turning life goals into quests

https://github.com/skorotkiewicz/earth-game
8•modinfo•2h ago•1 comments

Apple sues OpenAI, accuses ex-employees of stealing trade secrets

https://9to5mac.com/2026/07/10/apple-sues-openai-trade-secret-theft/
1486•stock_toaster•22h ago•825 comments

Book: RISC-V System-on-Chip Design

https://www.amazon.com/RISC-V-Microprocessor-System-Chip-Design/dp/0323994989
76•xlmnxp•2d ago•30 comments

Digital Deli, 1984 book by early PC hackers and enthusiasts

https://www.atariarchives.org/deli/
30•achairapart•3d ago•2 comments

Earendel (Astronomical Object)

https://en.wikipedia.org/wiki/Earendel_(astronomical_object)
23•brainlessdev•2h ago•4 comments

Speculations Concerning the First Ultraintelligent Machine (1965) [pdf]

https://languagelog.ldc.upenn.edu/myl/Good1964.pdf
79•zetalyrae•5h ago•38 comments

Otary – Image and Geometry Python Library Now Has Tutorials

https://alexandrepoupeau.com/otary/learn/
81•poupeaua•3d ago•1 comments

An update on residential proxies and the scraper situation

https://lwn.net/SubscriberLink/1080822/990a8a5e2d379085/
303•chmaynard•23h ago•303 comments

SpaceX wants to launch 100k more Starlink satellites for 100x the bandwidth

https://www.zdnet.com/home-and-office/networking/spacex-wants-to-launch-100000-more-starlink-sate...
280•CrankyBear•1d ago•1017 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?