frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Xiaomi: New CPU matches Apple cores single threaded, much faster multithreaded

https://twitter.com/lemire/status/2091894299289874926
504•tosh•4h ago•334 comments

MS Paint and Photos inivisibly watermark even locally generated output with GUID

https://xusheng.dev/posts/reversing/mspaint_invisible_watermark/main/
343•ComputerGuru•4h ago•143 comments

IPFS Maintainers Winding Down

https://ipshipyard.com/blog/2026-the-end-of-ipfs-at-shipyard/
237•iand•3h ago•110 comments

The entire city of San Francisco as a video game

https://sf.thijs.gg/
142•centrosphere•2h ago•54 comments

Anger, Anxiety and Agency

https://lucumr.pocoo.org/2026/8/24/anger-anxiety-agency/
39•lumpa•1h ago•25 comments

LLMs could control their host machines by exploiting inference engines

https://boydkane.com/essays/llms-could-control-their-host-machines-by-exploiting-inference-engines
14•zdw•42m ago•5 comments

Oceans hit highest temperature on record

https://www.bbc.com/news/articles/c62m4gpnp78o
10•tcp_handshaker•26m ago•0 comments

How Europe is killing makers and micro-entrepreneurs

https://lectronz.com/u/lectronz/articles/how-europe-is-killing-makers-and-micro-entrepreneurs
801•l-one-lone•6h ago•538 comments

Jabber/XMPP: 25 Years of Digital Independence

https://gultsch.de/posts/25-years-of-digital-independence/
77•inputmice•3h ago•32 comments

Autostep (YC P26) Is Hiring AI/Fullstack Engineers and a Chief of Staff

https://www.ycombinator.com/companies/autostep/jobs
1•adawg4•1h ago

Hot Chips 2026: CUDA Targets RISC-V – By Chester Lam

https://chipsandcheese.com/p/hot-chips-2026-cuda-targets-risc
50•rbanffy•2h ago•4 comments

A Claude Code skill that recovers export-blocked Kindle highlights

https://github.com/l3a0/claude-plugins
4•l3a0•13m ago•0 comments

Show HN: PicoMQ – Durable Streams over HTTP, on object storage

https://picomq.com/
48•adesh_nalpet•3h ago•4 comments

OpenAI: GPT 5.6 Sol price reduction (until at least Nov 21)

https://developers.openai.com/api/docs/pricing
207•tosh•4h ago•185 comments

SeL4 security proofs now complete on AArch64

https://proofcraft.systems/news-2026/#2026-08-21
148•snvzz•8h ago•31 comments

Show HN: GlassBox – what the browser reveals, and how identifiable you are

https://glassbox.codecanary.org
59•tke248•3h ago•31 comments

What Is a Syslog Server?

https://blog.greencloudvps.com/what-is-a-syslog-server.php
19•theanonymousone•1h ago•7 comments

I were 17, I'd learn how to build LLMs from scratch

https://twitter.com/paulg/status/2091544343589060625
445•bilsbie•23h ago•550 comments

Your "File" Menu Isn't About Files

https://adam.farkas.pro/your-file-menu-isnt-about-files/
23•b__d•1h ago•28 comments

Curvature Beziers – Improving on a timeless recipe

https://acko.net/blog/curvature-beziers/
34•boxed•5d ago•2 comments

Show HN: Kern – container and resource runtime in a 1.5 MB binary, no daemon

https://github.com/getkern/kern
15•realexweb•1h ago•0 comments

Coding expertise is going to collapse from AI reliance

https://larsfaye.com/articles/ai-coding-will-prevent-expertise
286•larsfaye•3h ago•321 comments

Removed all counters, replies, following/ers, timestamps, from textlog

https://textlog.cc/post/2059
10•stagas•1h ago•4 comments

Executable Is a SQLite Database

https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
409•setheron•14h ago•82 comments

A Blackstone real estate company exposed SSN digits, DOBs, addresses and more

https://alexschapiro.com/security/vulnerability/2026/07/16/beam-living-graphql-data-exposure
87•bearsyankees•3h ago•28 comments

Codefloe Is a Professionally Hosted Public Git Forge

https://codefloe.com/
31•jeremyjh•4h ago•8 comments

Show HN: A techno machine in one HTML file, with verifiable renders

https://ssx360.github.io/rack-02/?src=hn
111•ssx360•6h ago•18 comments

Peppermint oil reduces blood pressure by 8.48 mmHg in small study

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0344538
32•brandonb•5h ago•10 comments

Could We Dredge the Netherlands Without Fossil Fuels?

https://solar.lowtechmagazine.com/2018/08/could-we-dredge-the-netherlands-without-fossil-fuels
28•at1as•4h ago•26 comments

FDA clears blood test to aid evaluation for Alzheimer's disease

https://medicine.washu.edu/news/fda-clears-blood-test-to-aid-evaluation-for-alzheimers-disease/
163•dabinat•13h ago•76 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?