frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
73•azhenley•2h ago•25 comments

GrapheneOS Overhauled Default Apps and Secure Clipboard

https://grapheneos.social/@GrapheneOS/117225539756835649
189•Cider9986•5h ago•108 comments

It took a year to ship WebAssembly in Anubis

https://anubis.techaro.lol/blog/2026/anubis-wasm/
134•xena•4h ago•81 comments

Your intellectual fly is open (2025)

https://bcantrill.dtrace.org/2025/12/05/your-intellectual-fly-is-open/
520•cyb0rg0•13h ago•335 comments

Show HN: Mador – Make any DOM reactive with a tiny 80-line Proxy state tuple

https://github.com/marsbos/mador
65•bosmarcel•4h ago•22 comments

Nitter and XCancel resume service after legal advice

https://github.com/zedeus/nitter/commit/1428b4c2b4246f92a7e5b2673438e5fb39fcc4a3
453•zImPatrick•7h ago•238 comments

Is mathematics about to enter the conservatory?

https://mbmccoy.dev/posts/mathematical-conservatory/
15•_alternator_•2h ago•14 comments

Harnessing the Universal Geometry of Embeddings

https://arxiv.org/abs/2505.12540
42•ur-whale•4h ago•9 comments

Babylonian Lamb Stew with Beets (1750–1730 BCE)

https://babylonian-collection.yale.edu/about/babylonian-cooking
94•yubblegum•3d ago•48 comments

NetBSD 9.5 released and EOL for NetBSD-9

https://blog.netbsd.org/tnf/entry/netbsd_9_5_released_and
103•jaypatelani•9h ago•7 comments

Black Hole of Los Alamos Seller of surplus nuclear research materials (2011)

https://www.atlasobscura.com/places/black-hole-of-los-alamos
40•Bluestein•4d ago•10 comments

An Alien Mind

https://openai.com/index/an-alien-mind/
320•tosh•9h ago•282 comments

Adverse Selection and Markouts

https://machow.ski/posts/markouts_and_adverse_selection/
9•costco•5d ago•0 comments

Reverse engineering the storage format for an undocumented database

https://blog.glazer.ee/posts/converting-cronos/
22•pintprint•2d ago•2 comments

Asahi Linux on M3

https://asahilinux.org/2026/09/m2-episode-1/
355•mdp2021•11h ago•195 comments

Hackers have withdrawn ~4k BTC (~$320M) from the Liquid Federation wallet

https://twitter.com/Liquid_BTC/status/2096696272447218108
58•felipelalli•2h ago•31 comments

Research acceleration: The view inside OpenAI

https://openai.com/index/research-acceleration-view-inside-openai
109•iamsyr•10h ago•76 comments

A/I shuts down

https://keepitfree.ai/announcements/a/i-shuts-down-stay-human/
522•captainmuon•10h ago•388 comments

Research carried out using NetBSD

https://www.netbsd.org/gallery/research.html
76•Bluestein•9h ago•18 comments

Vidact – a compiler that turns React into direct DOM operations

https://www.vidact.dev/
51•mohebifar•4d ago•24 comments

Every Novel Is Boring–Until It Isn't

https://www.publicbooks.org/every-novel-is-boring-until-it-isnt/
10•samclemens•3d ago•2 comments

Electronic skin for prosthetics to sense temperature and pressure

https://news.wsu.edu/press-release/2026/08/20/researchers-develop-electronic-skin-for-prosthetics...
46•gmays•4d ago•5 comments

Opalite Health (YC W26) Is Hiring – Founding GTM

https://www.ycombinator.com/companies/opalite-health/jobs/bNedVAD-founding-gtm
1•ckuo9•8h ago

D2 Is Non-Profit

https://d2lang.com/blog/d2-non-profit/
28•alixanderwang•6h ago•10 comments

M-DISC – DVD/Blu-ray compatible discs that may last up to 1000 years

https://en.wikipedia.org/wiki/M-DISC
184•gurjeet•4d ago•89 comments

Doomscrolling ourselves to death

https://www.edwest.co.uk/p/doomscrolling-ourselves-to-death
365•shubhamjain•13h ago•264 comments

Isar Aerospace reaches orbit and deploys payloads on second flight

https://isaraerospace.com/press/history-for-european-spaceflight-isar-aerospace-reaches-orbit-and...
557•mpweiher•18h ago•177 comments

Finder is so frustrating and has been since day one

https://kepter.app/finder
92•maltch•6h ago•114 comments

Political meddling at the Census Bureau damages the US statistical system

https://www.piie.com/blogs/realtime-economics/2026/political-meddling-census-bureau-damages-entir...
61•boshomi•2h ago•21 comments

2026 Hugo Awards

https://www.thehugoawards.org/
69•signa11•12h ago•40 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?