frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Design

https://www.anthropic.com/news/claude-design-anthropic-labs
409•meetpateltech•2h ago•249 comments

Claude Opus 4.7 costs 20–30% more per session

https://www.claudecodecamp.com/p/i-measured-claude-4-7-s-new-tokenizer-here-s-what-it-costs-you
215•aray07•2h ago•119 comments

Isaac Asimov: The Last Question (1956)

https://hex.ooo/library/last_question.html
447•ColinWright•5h ago•158 comments

Middle schooler finds coin from Troy in Berlin

https://www.thehistoryblog.com/archives/75848
102•speckx•3h ago•38 comments

NIST gives up enriching most CVEs

https://risky.biz/risky-bulletin-nist-gives-up-enriching-most-cves/
76•mooreds•2h ago•14 comments

It Is Time to Ban the Sale of Precise Geolocation

https://www.lawfaremedia.org/article/it-is-time-to-ban-the-sale-of-precise-geolocation
326•hn_acker•3h ago•95 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/TcEa3b5-head-of-engineering
1•asontha•44m ago

Healthchecks.io Now Uses Self-Hosted Object Storage

https://blog.healthchecks.io/2026/04/healthchecks-io-now-uses-self-hosted-object-storage/
76•zdw•3h ago•42 comments

Iceye Open Data

https://www.iceye.com/open-data-initiative
53•marklit•3h ago•8 comments

NASA Force

https://nasaforce.gov/
56•LorenDB•1h ago•63 comments

Designing the Transport Typeface

https://www.thamesandhudson.com/blogs/all-news-features/designing-the-transport-typeface-margaret...
30•speckx•2d ago•2 comments

Claude Opus 4.7

https://www.anthropic.com/news/claude-opus-4-7
1916•meetpateltech•1d ago•1397 comments

Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock

https://github.com/paniclock/paniclock/
7•seanieb•1h ago•0 comments

The Utopia of the Family Computer

https://mudmapmagazine.com/the-utopia-of-the-family-computer/
63•surprisetalk•4d ago•26 comments

Show HN: Stage – Putting humans back in control of code review

https://stagereview.app/
52•cpan22•1d ago•48 comments

Codex for almost everything

https://openai.com/index/codex-for-almost-everything/
966•mikeevans•1d ago•515 comments

Hyperscalers have already outspent most famous US megaprojects

https://twitter.com/finmoorhouse/status/2044933442236776794
34•nowflux•1h ago•18 comments

Teddy Roosevelt and Abraham Lincoln in the same photo (2010)

https://prologue.blogs.archives.gov/2010/11/09/teddy-roosevelt-and-abraham-lincoln-in-the-same-ph...
86•bryanrasmussen•8h ago•13 comments

Solitaire simulator for finding the best strategy: Current record is 8.590%

https://github.com/dacracot/Klondike3-Simulator
7•PaulHoule•16h ago•0 comments

The Gregorio project – GPL tools for typesetting Gregorian chant

https://gregorio-project.github.io/index.html
12•mcookly•2h ago•5 comments

FIM – Linux framebuffer image viewer

https://www.nongnu.org/fbi-improved/
116•Mr_Minderbinder•10h ago•59 comments

Ada, Its Design, and the Language That Built the Languages

https://www.iqiipi.com/the-quiet-colossus.html
207•mpweiher•8h ago•144 comments

Scan your website to see how ready it is for AI agents

https://isitagentready.com
67•WesSouza•3h ago•115 comments

CadQuery is an open-source Python library for building 3D CAD models

https://cadquery.github.io/
201•gregsadetsky•2d ago•53 comments

The missing catalogue: why finding books in translation is still so hard

https://blogs.lse.ac.uk/impactofsocialsciences/2026/04/13/the-missing-catalogue-why-finding-books...
28•AusiasTsel•3d ago•6 comments

A Python Interpreter Written in Python

https://aosabook.org/en/500L/a-python-interpreter-written-in-python.html
123•xk3•4d ago•37 comments

Official Clojure Documentary page with Video, Shownotes, and Links

https://clojure.org/about/documentary
308•adityaathalye•22h ago•95 comments

Android CLI: Build Android apps 3x faster using any agent

https://android-developers.googleblog.com/2026/04/build-android-apps-3x-faster-using-any-agent.html
295•ingve•23h ago•119 comments

中文 Literacy Speedrun II: Character Cyclotron

https://blog.kevinzwu.com/character-cyclotron/
72•surprisetalk•4d ago•33 comments

Playdate’s handheld changed how Duke University teaches game design

https://news.play.date/news/duke-playdate-education/
243•Ivoah•22h ago•109 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•11mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•11mo ago
What are the biggest use cases of GPU accelerated sorting?