frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Our position on open-weights models

https://www.anthropic.com/news/position-open-weights-models
41•surprisetalk•19m ago•7 comments

Watching Go's new garbage collector move through the heap

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
130•matheusmoreira•2d ago•13 comments

Launch HN: Rise Reforming (YC S26) – Turning Waste Gases into Valuable Chemicals

https://www.rise-reforming.com
50•george_rose25•2h ago•15 comments

Self-contained highly-portable Python distributions

https://gregoryszorc.com/docs/python-build-standalone/main/
83•jcbhmr•3h ago•18 comments

Securing Services with Rootless Containers

https://blog.coderspirit.xyz/blog/2026/07/06/securing-services-with-rootless-containers/
21•speckx•4d ago•9 comments

Ray tracing massive amounts of animated geometry using tetrahedral cages

https://gpuopen.com/learn/ray-tracing-massive-amounts-animated-geometry/
47•LorenDB•4d ago•6 comments

Glue bonds to nonstick surfaces and wipes clean with ethanol

https://cen.acs.org/materials/adhesives/glue-bonds-nonstick-surfaces-wipes-clean/104/web/2026/07
134•gmays•4d ago•69 comments

The computer that helped win World War II

https://spectrum.ieee.org/colossus-computer-ieee-milestone
155•baruchel•5d ago•65 comments

Judge Rejects Google's Attempt to DMCA Its Way Out of Being Scraped

https://www.techdirt.com/2026/07/27/judge-rejects-googles-attempt-to-dmca-its-way-out-of-being-sc...
193•cdrnsf•4h ago•74 comments

Show HN: FeyNoBg – Automatic background removal model and training library

https://usefeyn.com/blog/feynobg/
73•snyy•5h ago•21 comments

Bytecode-to-Source Mapping

https://tidefield.dev/bytecode-to-source-mapping/
28•evakhoury•3h ago•1 comments

Exploiting Volvo/Eicher's fleet platform to gain control over all users/vehicles

https://eaton-works.com/2026/07/27/my-eicher-hack/
113•EatonZ•7h ago•34 comments

Kimi-K3 on HuggingFace

https://huggingface.co/moonshotai/Kimi-K3
1278•nateb2022•16h ago•501 comments

Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interact...
199•Ralfp•12h ago•147 comments

Paged Out #9 [pdf]

https://pagedout.institute/download/PagedOut_009.pdf
145•laurensr•8h ago•20 comments

MAI-Cyber-1-Flash inside MDASH

https://microsoft.ai/news/introducing-mai-cyber-1-flash-inside-mdash/
200•migmartri•5h ago•107 comments

UpCodes (YC S17) is hiring remote AE's to help make buildings cheaper

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•5h ago

Building GCC 1.27 (2019)

http://kristerw.blogspot.com/2019/01/building-gcc-127.html
6•ciponi•5d ago•1 comments

Libsm64: Mario 64 as a library for use in external game engines

https://github.com/libsm64/libsm64
168•klaussilveira•12h ago•21 comments

US DOT deleting bike lane references

https://www.npr.org/2026/07/23/nx-s1-5900901/bike-lanes-dot-websites
33•aendruk•1h ago•15 comments

My current strategy is to not read any of the code written by my agents

https://twitter.com/unclebobmartin/status/2080257779395154409?s=20
41•SantiDev•2h ago•39 comments

VLC for Unity now supported on Linux

https://code.videolan.org/videolan/vlc-unity
145•martz•13h ago•39 comments

How real are real numbers? (2004)

https://arxiv.org/abs/math/0411418
34•surprisetalk•6h ago•20 comments

Tokio Gives Progress, Not Ordering: Scheduling 1M Tasks

https://pranitha.dev/posts/tokio-gives-progress-not-ordering/
31•pranitha_m•7h ago•1 comments

How is the Bun Rewrite in Rust going?

https://lockwood.dev/ai/2026/07/27/how-is-the-bun-rewrite-in-rust-going.html
428•tomlockwood•11h ago•324 comments

Bitcoin trail, Google cookies and Uber Eats orders help tie man to Steam malware

https://www.theverge.com/games/967174/steam-game-malware-cryptostealer-arrest
11•rzk•1h ago•4 comments

Forth

https://xkcd.com/3277/
30•beardyw•2h ago•9 comments

The Artist Who Colored Ghibli

https://animationobsessive.substack.com/p/the-artist-who-colored-ghibli
83•herbertl•3h ago•7 comments

Modern email can be built from borrowed parts

https://en.andros.dev/blog/d7ed8b07/modern-email-can-be-built-from-borrowed-parts/
163•andros•13h ago•91 comments

Towards a Theory of Bugs: The Ruliology of the Unexpected

https://writings.stephenwolfram.com/2026/07/towards-a-theory-of-bugs-the-ruliology-of-the-unexpec...
60•nsoonhui•3d ago•34 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?