frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A 3D fruit fly on macOS desktop powered by the real FlyWire connectome

https://github.com/DenisSergeevitch/desktop-fly
109•phoenix120•2h ago•29 comments

Solo – a .so loader for static Linux binaries

https://github.com/pg83/solo
14•zX41ZdbW•45m ago•1 comments

The Amazon tax

https://seths.blog/2026/08/the-amazon-tax/
881•herbertl•11h ago•523 comments

How does IKEA come up with names for its products?

https://www.ikea.com/se/en/customer-service/knowledge/articles/6f564c4d-2ccc-46de-b643-545a3948dc...
215•NaOH•6h ago•131 comments

Being ambitious and being a dad

https://nicholascharriere.com/blog/being-ambitious-and-being-a-dad/
223•nichochar•2d ago•118 comments

Show HN: Interactive, animated architecture of any HuggingFace models

https://modelmap.cc
11•lizhaoliu•39m ago•0 comments

Turbovec – Google's TurboQuant for vector search in Rust

https://github.com/RyanCodrai/turbovec
193•fittingopposite•6h ago•26 comments

Using the railway network as a flatbed scanner

https://philo.gay/linecam/
389•otherayden•11h ago•61 comments

Beware Management Consultants

https://about.iceland.co.uk/our-story/the-dark-ages/beware-management-consultants/
426•KolmogorovComp•5h ago•116 comments

Cursor launches Origin, GitHub alternative

https://cursor.com/changelog/origin-code-hosting
448•tomasreimers•1d ago•352 comments

AI usage patterns in software teams

https://linear.app/data
24•giuliomagnifico•2h ago•14 comments

Fixing a bricked Framework laptop

https://quantum5.ca/2026/08/16/fixing-bricked-amd-7040-series-framework-13-laptop-with-20-tools/
343•jp_sc•11h ago•236 comments

Claude Code Teaching macOS to Natively Print to the HP Laser 1008a

https://cdn.kuber.studio/chat/hp-laser-1008a-driver
105•amrrs•3h ago•68 comments

GLM-5.3 Artificial Analysis Benchmarks

https://artificialanalysis.ai/models/glm-5-3
65•apitman•2h ago•29 comments

A 25-year-old video patent just expired, ending a legal headache for Linux

https://www.xda-developers.com/25-year-old-brazilian-video-patent-expired-legal-headache-linux/
66•theanonymousone•3d ago•20 comments

Memory prices climb 500% in 12 months

https://www.tomshardware.com/pc-components/ram/memory-prices-climb-500-percent-in-12-months-up-to...
454•haunter•1d ago•375 comments

And then the men with guns tell you to do it anyway

https://shkspr.mobi/blog/2026/08/and-then-the-men-with-guns-tell-you-to-do-it-anyway/
141•_djo_•7h ago•72 comments

2,500-year-old sculpture discovered at UNESCO site in Turkey

https://www.theartnewspaper.com/2026/08/07/colossal-2500-year-old-sculpture-discovered-turkey-une...
69•speckx•5d ago•22 comments

Simulated red blood cells and microscopy

https://lucasamoudruz.com/blog/red-blood-cells.html
5•amlucas•6d ago•0 comments

The 90-year history of the binoculars bolted to scenic overlooks

https://www.dpreview.com/news/the-90-year-history-of-the-binoculars-bolted-to-scenic-overlooks/
11•sohkamyung•1h ago•0 comments

How a giant battery is transforming a town centre in Cannington, Ontario

https://betakit.com/how-a-giant-battery-is-transforming-a-town-centre-in-cannington-ontario/
12•builtbystef•4d ago•6 comments

Norway should buy OpenAI

https://www.onethousandmeans.com/p/norway-should-buy-openai
201•alexeigannon•5h ago•221 comments

Apple announces changes for apps in the European Union

https://www.apple.com/newsroom/2026/08/apple-announces-changes-for-apps-in-the-european-union/
103•newusertoday•8h ago•160 comments

Programmable Property-Based Testing

https://dl.acm.org/doi/10.1145/3828685
11•matt_d•2h ago•0 comments

Claude Code May–August 2026 weekly limits promotion

https://support.claude.com/en/articles/15910845-claude-code-may-august-2026-weekly-limits-promotion
255•tyre•7h ago•223 comments

Universal health coverage could save $1T and 114k lives a year: study

https://ysph.yale.edu/news-article/universal-health-coverage-could-save-one-trillion-dollars-and-...
686•karakoram•1d ago•775 comments

Evolve: An incremental game about evolving a civilization

https://pmotschmann.github.io/Evolve/
73•frozenseven•3d ago•22 comments

Python Polars Cheatsheet (based on our O'Reilly book)

https://opensource.posit.co/resources/cheatsheets/polars/
157•jeroenjanssens•10h ago•33 comments

Launch HN: machine0 (YC S26) – Persistent CPU and GPU VMs from the CLI

https://machine0.io
58•bwm•8h ago•36 comments

Teaching my kid to code with a modern MUD

https://tau.dev/2026/08/07/canon
227•andrewjanke•6d ago•60 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?