frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GPT‑6.2 Astra and Sol

https://openai.com/index/introducing-gpt-6-2-astra-sol/
690•jasondavies•2h ago•412 comments

Apple Services Down

https://developer.apple.com/system-status/
383•willy_k•2h ago•213 comments

MAI Code 2 and Code 2 Flash

https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/
122•lemonish97•1h ago•53 comments

350 years ago, this man discovered that light has a finite speed

https://www.sciencenorway.no/culture-history-history-of-science/350-years-ago-this-man-discovered...
44•dxs•45m ago•3 comments

Phrack 73 Released

https://phrack.org/issues/73/introduction_md
75•notmine1337•1h ago•3 comments

jQuery 4.1.0

https://github.com/jquery/jquery/releases/tag/4.1.0
25•petecooper•20m ago•12 comments

Solid 2.0

https://www.solidjs.com/blog/solid-2-0-the-long-hold/
64•pier25•1h ago•16 comments

What is the best harness for each model?

https://runta.com/blog/introducing-frontierharness-eval-v1-1/
269•Edward40•5h ago•96 comments

Launch HN: StarSling (YC P25) – Self-improving CI for agent-volume repos

https://starsling.dev
21•yonasb•1h ago•5 comments

Who Builds the Machines That Build the Machines?

https://read.corematter.com/p/section-232-us-machine-tools
43•gmays•2h ago•5 comments

Purism Launches Librem 5 v2, a RISC-V Phone to Empower People

https://puri.sm/posts/purism-launches-librem-5-v2-a-risc-v-phone-to-empower-people/
26•gnufx•1h ago•19 comments

YC wrote software to run our internship expo – and an 8-bit SIM to show it off

1•ryankicks•3h ago

Show HN: Alloy CSS, dialogs, menus and tabs that work with JavaScript off

https://alloyhtml.com/example.html
142•prafandy•5h ago•23 comments

New Evidence Shows School Phone Bans Are Gradually Improving Test Scores

https://www.nytimes.com/2026/11/17/upshot/school-phone-bans-study-scores.html
1006•donohoe•8h ago•499 comments

NSA Internal Network Down

https://www.reuters.com/technology/highly-classified-us-national-security-communications-network-...
309•nodoodles•4h ago•178 comments

Advancing computer-use agents for healthcare teams

https://openai.com/index/advancing-computer-use-for-healthcare-teams/
13•gmays•1h ago•6 comments

First Photos of the Poles of a Rod-Shaped Bacterium

https://nautil.us/check-out-the-first-photos-of-the-poles-of-a-rod-shaped-bacterium-1286664
94•dustfinger•1d ago•20 comments

How the Claude Code team thinks about verification

https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/
209•craigmart•9h ago•162 comments

Mouse Party

https://aboard.com/lets-have-a-mouse-party/
9•bookofjoe•3d ago•0 comments

Nvidia stopped disclosing Singapore sales as revenues hit $104B

https://www.ft.com/content/dbde7a30-548c-4f9d-a4be-7898a0c24dcf
128•louiereederson•2h ago•62 comments

Elephant-Goldfish Model

https://egm.dev/
43•_tk_•1d ago•18 comments

Optimizely compromised, served malware on Zoom, GitLab

https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
640•kristjansson•21h ago•253 comments

VisualBasic.World: A gallery of Planet Source Code programs from 1997 to 2012

https://visualbasic.world/
191•broast•1d ago•73 comments

Show HN: TrnRT – An open-source LLM inference engine for AWS Trainium

https://github.com/RunanywhereAI/trnrt
27•sanchitmonga22•4h ago•5 comments

Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs

https://arxiv.org/abs/2611.18126
36•cwerling•1d ago•3 comments

iCloud, App Store, and other Apple services hit by ongoing outage

https://9to5mac.com/2026/11/17/icloud-app-store-and-other-apple-services-hit-by-ongoing-outage/
59•srameshc•2h ago•21 comments

Antfly learned to stop worrying and love Apache 2.0

https://antfly.io/thoughts/how-antfly-learned-to-stop-worrying-and-love-apache-2
38•drewlanenga•4h ago•11 comments

Carnegie Mellon is putting computer science courses on YouTube for free

https://www.cs.cmu.edu/learn/
2216•pcompeau•23h ago•299 comments

Rows vs. Columns: How different are they, really?

https://spiraldb.com/blog/rows-vs-columns
141•eatonphil•5d ago•48 comments

BugMeNot has closed

https://www.bugmenot.com/
704•lode•22h ago•324 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?