frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Qwen 3.8 27B is excellent, but it defaults to overthinking things

https://simonwillison.net/2026/Aug/16/qwen-38-27b/
256•bilsbie•6h ago•108 comments

The Life and Death of Direct File [pdf]

https://www.ischool.berkeley.edu/sites/default/files/vinton_report_5.pdf
151•ronbenton•5h ago•68 comments

AGI-64 Brings Sierra Adventures to the Commodore 64

https://meanhamster.com/news/agi-64-brings-sierra-adventures-to-the-commodore-64
49•erickhill•4h ago•4 comments

A third world engineer responds to ”RISC-V: They should have known better“

https://rvembedded.com/blog_post/12/
435•Narishma•12h ago•231 comments

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
604•tosh•17h ago•245 comments

Reticulum – Decentralized Mesh Network

https://reticulum.network/
64•sudo_cowsay•5h ago•14 comments

Rhombus 1.1 is now available

https://blog.racket-lang.org/2026/08/rhombus-v1.1.html
49•spdegabrielle•5h ago•16 comments

Interview with Amit Patel, Creator of “Solar Realms Elite” (2013)

https://breakintochat.com/blog/2013/02/18/amit-patel-creator-of-solar-realms-elite/
44•bananaboy•1w ago•9 comments

Low-Tech Ceramic Water Filter

https://wiki.lowtechlab.org/wiki/Filtre_%C3%A0_eau_c%C3%A9ramique/en
146•Bluestein•5d ago•37 comments

Applying a photosynthetic process to treat “dry eye”

https://www.science.org/content/blog-post/taking-tip-plants-eyes
28•gumby•5h ago•1 comments

SIMD in the 90s: Programming Intel's Pentium MMX

https://pikuma.com/blog/programming-intel-pentium-mmx-simd
101•ibobev•3d ago•42 comments

How do I permanently disable random Google Photos popup to backup photos? (2024)

https://support.google.com/photos/thread/256212140/how-do-i-permanently-disable-google-photos-pop...
69•dt3ft•3d ago•29 comments

Dancing with friends and enemies: boids' swarm intelligence (2012)

https://community.wolfram.com/groups/-/m/t/122095
38•surprisetalk•5d ago•3 comments

Gmail might partially be to blame for receiving emails from other Sean Conners

https://boston.conman.org/2026/08/11.1
25•dmarto•2h ago•28 comments

The AI Credit Resale Economy

https://vectoral.com/blog/who-are-the-token-brokers
260•mlenhard•15h ago•106 comments

Protobuf has LSP support. You're welcome

https://buf.build/blog/protobuf-lsp
137•theanonymousone•11h ago•89 comments

Prolly: A content-addressed ordered map built on prolly trees

https://github.com/crabbuild/prolly
23•forhappy•4h ago•0 comments

MathCode, Mathematical Coding Agent

https://math-ai-org.github.io/mathcode/
81•homarp•11h ago•26 comments

Stripe will reportedly acquire OpenRouter for $7B+

https://techcrunch.com/2026/08/16/stripe-will-reportedly-acquire-ai-gateway-startup-openrouter-fo...
267•zacharyozer•9h ago•184 comments

Show HN: Vocal Slice – Cut audio by selecting text, fully on-device

https://vocalslice.com/
7•terranivium•6d ago•3 comments

Red queen hypothesis – A new way forward for self-improving AI

https://www.cst.cam.ac.uk/news/red-queen-hypothesis-new-way-forward-self-improving-ai
36•hardlianotion•9h ago•4 comments

Plastic mechanical computer from 1963: The Digi-Comp 1 [video]

https://www.youtube.com/watch?v=-y8bGBE71yw
62•tobr•1d ago•16 comments

Nvidia dramatically reduces amount of OpenAI infra financing it may guarantee

https://www.reuters.com/business/nvidia-scales-back-250-billion-openai-data-center-guarantee-wsj-...
178•root-parent•8h ago•78 comments

Clamiga: Common Lisp for the Amiga

https://nnamgreb.de/blog/Clamiga+-+Common+Lisp+for+the+Amiga
103•emptybits•4d ago•12 comments

Anton Chekhov played at love most of his life

https://commonreader.wustl.edu/winning-and-losing-at-the-great-game-of-intimacy/
81•lermontov•2d ago•21 comments

Firefox for iOS now has a native adblocker

https://support.mozilla.org/en-US/kb/block-ads-firefox-ios
606•pentagrama•16h ago•247 comments

St Lucie Nuclear Reactor Unit 1 manually shutdown, 3 control rods drop into core

https://www.wptv.com/news/treasure-coast/region-st-lucie-county/saint-lucie-nuclear-power-plant-u...
179•toomuchtodo•14h ago•131 comments

Tell HN: Cloudflare silently injects its analytics when you switch nameservers

377•stagas•12h ago•101 comments

The federal keyword lists that canceled billions in research funding

https://www.highereddive.com/news/inside-the-federal-keyword-lists-that-canceled-billions-in-rese...
185•walrus01•5h ago•73 comments

Strong Gravitational Lensing and Microlensing of Supernovae

https://infoscience.epfl.ch/entities/publication/644cad8a-6c9b-4b02-bcf3-b8b6e8c614c5
4•andsoitis•2h ago•0 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?