frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Unusual circuits in the Intel 386's standard cell logic

https://www.righto.com/2025/11/unusual-386-standard-cell-circuits.html
40•Stratoscope•2h ago•7 comments

GCC SC approves inclusion of Algol 68 Front End

https://gcc.gnu.org/pipermail/gcc/2025-November/247020.html
79•edelsohn•3h ago•23 comments

A monopoly ISP refuses to fix upstream infrastructure

https://sacbear.com/xfinity-wont-fix-internet/
137•vedmed•5h ago•50 comments

We Induced Smells With Ultrasound

https://writetobrain.com/olfactory
363•exr0n•1d ago•90 comments

WorldGen – Text to Immersive 3D Worlds

https://www.meta.com/en-gb/blog/worldgen-3d-world-generation-reality-labs-generative-ai-research/
177•smusamashah•8h ago•56 comments

NTSB report: Decryption of images from the Titan submersible camera [pdf] (2024)

https://data.ntsb.gov/Docket/Document/docBLOB?ID=18741602&FileExtension=pdf&FileName=Underwater%2...
84•bmurray7jhu•5h ago•31 comments

The privacy nightmare of browser fingerprinting

https://kevinboone.me/fingerprinting.html
491•ingve•12h ago•297 comments

Ubuntu LTS releases to 15 years with Legacy add-on

https://canonical.com/blog/canonical-expands-total-coverage-for-ubuntu-lts-releases-to-15-years-w...
44•taubek•2d ago•11 comments

Meta buried 'causal' evidence of social media harm, US court filings allege

https://www.reuters.com/sustainability/boards-policy-regulation/meta-buried-causal-evidence-socia...
196•pseudolus•4h ago•65 comments

An Economy of AI Agents

https://arxiv.org/abs/2509.01063
36•nerder92•3h ago•19 comments

Show HN: Forty.News – Daily news, but on a 40-year delay

https://forty.news
231•foxbarrington•11h ago•99 comments

The Boring Part of Bell Labs

https://elizabethvannostrand.substack.com/p/the-boring-part-of-bell-labs
70•AcesoUnderGlass•3d ago•10 comments

TIL: `satisfies` is my favorite TypeScript keyword

https://sjer.red/blog/2024-12-21/
141•surprisetalk•4d ago•84 comments

$1900 Bug Bounty to Fix the Lenovo Legion Pro 7 16IAX10H's Speakers on Linux

https://github.com/nadimkobeissi/16iax10h-linux-sound-saga
230•rany_•1w ago•101 comments

Pixel Art Tips for Programmers

https://jslegenddev.substack.com/p/5-pixel-art-tips-for-programmers-3d6
69•ibobev•1d ago•15 comments

A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

https://stack.int.mov/a-reverse-engineers-anatomy-of-the-macos-boot-chain-security-architecture/
88•19h•9h ago•27 comments

Windows ARM64 Internals: Deconstructing Pointer Authentication

https://www.preludesecurity.com/blog/windows-arm64-internals-deconstructing-pointer-authentication
50•todsacerdoti•7h ago•1 comments

Cryptographers Held an Election. They Can't Decrypt the Results

https://www.nytimes.com/2025/11/21/world/cryptography-group-lost-election-results.html
32•FabHK•2h ago•7 comments

Garibaldi, History's Sexiest Revolutionary?

https://www.historyextra.com/period/victorian/historys-sexiest-revolutionary-meet-the-mesmerising...
10•thomassmith65•1w ago•5 comments

A year without caffeine (2013)

https://bryanalexander.org/personal/a-year-without-caffeine/
48•andsoitis•5h ago•32 comments

"Spaghetti-Grows-on-Trees" Hoax: One of TV's First April Fools' Pranks

https://www.openculture.com/2025/11/the-1957-spaghetti-grows-on-trees-hoax.html
4•PaulHoule•1w ago•1 comments

China reaches energy milestone by "breeding" uranium from thorium

https://www.scmp.com/news/china/science/article/3331312/china-reaches-energy-independence-milesto...
248•surprisetalk•12h ago•187 comments

Tektronix equipment has been used in many movies and shows

https://vintagetek.org/tektronix-in-movies-shows/
90•stmw•6d ago•21 comments

Show HN: I built a wizard to turn ideas into AI coding agent-ready specs

https://vibescaffold.dev/
41•straydusk•8h ago•17 comments

Show HN: A tool to safely migrate GitHub Actions workflows to Ubuntu-slim runner

https://github.com/fchimpan/gh-slimify
27•r4mimu•1w ago•0 comments

Agent design is still hard

https://lucumr.pocoo.org/2025/11/21/agents-are-hard/
369•the_mitsuhiko•18h ago•212 comments

SimpleMMO – How I made a hole a home (2021)

https://blog.galahadcreative.com/simplemmo-how-i-made-a-hole-a-home/
14•bdlowery•5d ago•1 comments

Kids who own smartphones before age 13 have worse mental health outcomes: Study

https://abcnews.go.com/GMA/Family/kids-smartphones-age-13-worse-mental-health-outcomes/story?id=1...
163•donsupreme•8h ago•48 comments

Depot (YC W23) Is Hiring a Staff Infrastructure Engineer

https://www.ycombinator.com/companies/depot/jobs/O2iB56E-staff-infrastructure-engineer
1•jacobwg•11h ago

How to Spot a Counterfeit Lithium-Ion Battery

https://spectrum.ieee.org/counterfeit-lithium-ion-batteries
59•jnord•6h ago•23 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•6mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•6mo ago
What are the biggest use cases of GPU accelerated sorting?