frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China's open-weights AI strategy is winning

https://werd.io/american-ai-is-locked-down-and-proprietary-its-losing/
573•benwerd•5h ago•490 comments

Hacker wipes Romania's land registry database

https://news.risky.biz/risky-bulletin-hacker-wipes-romanias-entire-land-registry-database/
466•speckx•6h ago•254 comments

Kimi Work

https://www.kimi.com/products/kimi-work
111•ms7892•2h ago•55 comments

Hyprland 0.55 announced the switch to Lua for its config files

https://hypr.land/news/update55/
78•matesz•2h ago•51 comments

Jelly UI: Soft-body physics for native HTML form controls

https://jelly-ui.com/
126•baldvinmar•2h ago•44 comments

How we measured AI writing across arXiv, and where the measurement breaks

https://unslop.run/blog/measuring-ai-writing-on-arxiv
151•dopamine_daddy•3h ago•108 comments

Corners Don't Look Like That: Regarding Screenspace Ambient Occlusion (2012)

https://nothings.org/gamedev/ssao/
118•firephox•4h ago•43 comments

Nativ: Run frontier open models locally on your Mac

https://blaizzy.github.io/nativ/
31•aratahikaru5•1h ago•12 comments

Airport Simulator

https://airport.apunen.com/
522•apunen•9h ago•111 comments

Launch HN: Bloomy (YC S26) – AI-powered mastery learning for K-12

33•alexsouthmayd•3h ago•60 comments

Firefox Merges Support for Vulkan Video Decoding

https://github.com/search
185•DemiGuru•6h ago•45 comments

Perfection Is Not Over-Engineering

https://var0.xyz/posts/perfection-is-not-over-engineering.html
137•var0xyz•5h ago•62 comments

We're Squandering LEDs' Potential to Save Our Night Skies

https://spectrum.ieee.org/led-light-pollution
167•defrost•6h ago•116 comments

The Voice of Google

https://www.newyorker.com/culture/the-weekend-essay/the-voice-of-google
93•littlexsparkee•4h ago•37 comments

Ziggity – A terminal UI for Git, written in Zig

https://github.com/simoarpe/ziggity
42•TheSorcerer•4h ago•30 comments

Agent swarms and the new model economics

https://cursor.com/blog/agent-swarm-model-economics
18•jlaneve•1h ago•7 comments

Cross sectioning insects in an electron microscope with a femtosecond laser [video]

https://www.youtube.com/watch?v=NwhVJ7cv9B4
40•surprisetalk•4h ago•2 comments

An Empirical Study: AI Agent Rules Need Context and Layered Enforcement

https://eunomia.dev/blog/2026/07/15/ebpf-ai-agent-policy-enforcement/
13•matt_d•1h ago•2 comments

The drivers behind software delivery inefficiency

https://dl.acm.org/doi/10.1145/3800646.3800650
17•qaprof•1h ago•5 comments

Shinjuku Station in 3D

https://satoshi7190.github.io/Shinjuku-indoor-threejs-demo/
87•Gecko4072•6h ago•17 comments

Safety and alignment in an era of long-horizon models

https://openai.com/index/safety-alignment-long-horizon-models/
11•Wingy•1h ago•2 comments

Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25

https://slcyber.io/research-center/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-wit...
348•infosecau•11h ago•198 comments

I Stopped "Creating Content"

https://refactoringenglish.com/blog/why-i-stopped-creating-content/
96•mtlynch•4h ago•68 comments

The EU is about to sell our most sensitive data to the US for visa-free travel

https://edri.org/our-work/the-eu-is-about-to-sell-our-most-sensitive-data-to-the-us-for-visa-free...
422•rapnie•7h ago•240 comments

Human mathematicians are being outcounterexampled

https://xenaproject.wordpress.com/2026/07/20/human-mathematicians-are-being-outcounterexampled/
4•artninja1988•46m ago•0 comments

Controlling Reasoning Effort in LLMs

https://magazine.sebastianraschka.com/p/controlling-reasoning-effort-in-llms
43•ibobev•5h ago•2 comments

Kimi K3, Qwen 3.8, and Anthropic's (Potential) Unravelling

https://www.emergingtrajectories.com/lh/frontier-lab-economics/
198•cl42•4h ago•207 comments

NYC Subway Signals: A Complete Guide

https://www.nycsubway.org/wiki/Subway_Signals%3A_A_Complete_Guide
33•at1as•4h ago•7 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
42•Fake4d•6h ago•13 comments

Inertia-1: An Open Exploration to a Unified Motion Foundation Model

https://yang-ai-lab.github.io/Inertia-1/
43•hasheddan•6h ago•1 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?