frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Shipping JPEG XL in Chrome

https://developer.chrome.com/blog/jpeg-xl-in-chrome
338•AshleysBrain•5h ago•198 comments

GitHub Incident with Git Operations, Pull Requests and Actions

https://www.githubstatus.com/incidents/djlmxz2zd0j7
163•gagan2020•1h ago•132 comments

Animated ASCII Art for Web Pages

https://ascii.rest/
65•turrini•1h ago•16 comments

Visa, Mastercard, Major Banks Facing New Litigation over 'Anticompetitive' Fees

https://www.classaction.org/news/visa-mastercard-major-banks-facing-new-litigation-over-anticompe...
53•DeepLogin•1h ago•16 comments

Navier–Stokes Lost in Translation

https://arxiv.org/abs/2610.08144
89•nill0•1h ago•59 comments

A font recreated from photographs of classic Commodore 64 keycaps

https://github.com/szabadkai/c64-keyboard-font/
284•sohkamyung•7h ago•51 comments

Nobel Prize in Chemistry 2026 to Henri B. Kagan and Kenso Soai

https://www.nobelprize.org/prizes/chemistry/2026/press-release/
216•sasvari•7h ago•36 comments

AI-assisted proof of optimal packing for 11 squares

https://github.com/Queuingtheorydotcom/11SquaresFormalized
41•bluepeter•2h ago•27 comments

Show HN: A walkable 3D art history museum built from Wikipedia

https://artmuseum.artfrompixels.com/
91•jasontr•4h ago•43 comments

Reverse Engineering of the M-VAVE FM-1 Pocket Synthesizer Firmware

https://github.com/AL-255/FM-1-RE
15•0bytes•1h ago•7 comments

Anti-Patterns in Software Blogging

https://refactoringenglish.com/blog/anti-patterns-software-blogging/
60•ilreb•3h ago•19 comments

A Cop's Case for Flock

https://worksinprogress.co/issue/a-cops-case-for-flock/
8•skadamat•1h ago•10 comments

Show HN: Durable Actors – OSS Durable Objects with configurable compute

https://github.com/TerseAI/durable-actors
5•thomask1995•1d ago•0 comments

Write Like It's 1866: LLMs Relearn Telegraphese

https://fiveminutesforward.com/post/2026-10-04-telegraph-test/
61•Theory42•4h ago•39 comments

The Auditor's Opinion

https://www.cringely.com/2026/07/16/the-auditors-opinion/
11•colinprince•2d ago•2 comments

Study: Claude, ChatGPT Offer Different Shopping Prices Based on Wealth

https://www.bloomberg.com/news/newsletters/2026-10-07/study-claude-chatgpt-ai-bots-offer-differen...
35•sbulaev•54m ago•4 comments

Mallet Head Angle

http://www.timberframe-tools.com/tools/mallet-head-angle/
50•frogulis•1d ago•18 comments

Wood Tape (2004)

http://gamesbyemail.com/WoodTape/Default.htm
37•NaOH•1d ago•4 comments

Rust's derive often implies inline

https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
81•woodruffw•3d ago•16 comments

ShinyHunters Extorted Boeing Spin-Off Prior to Arrests

https://krebsonsecurity.com/2026/10/shinyhunters-extorted-boeing-spin-off-prior-to-arrests/
12•speckx•1h ago•0 comments

VECOS – A windows-like operating system for the Vectrex for the UVMC2 [video]

https://www.youtube.com/watch?v=9ranfp_vz30
8•CharlesW•18h ago•3 comments

Show HN: Procinsh – A 3D Linux process inspector

https://github.com/akawashiro/procinsh
34•a_kawashiro•4h ago•6 comments

God of War on PSP, recompiled to WebAssembly and running in the browser

https://github.com/snuri00/psp-web-recomp
50•sn001•5h ago•30 comments

Across the Globe, People Increasingly Say Social Media Is Harming Democracy

https://www.pewresearch.org/global/2026/10/01/across-the-globe-people-increasingly-say-social-med...
54•karakoram•1h ago•41 comments

Google Playground

https://labs.google/playground
104•trollied•3h ago•81 comments

Strands Decider 2B: a small, open-source, decision model

https://strandsagents.com/blog/introducing-strands-decider/
259•gmays•14h ago•73 comments

Show HN: AstroHelm – Use your phone camera to aim a telescope or telephoto lens

https://astrohelm.app/
75•HeavenFox•3d ago•26 comments

Open source 160 sound visualization experiments

https://www.kagan.in/iwrzwr/visual-archive/
8•kaganin•1h ago•0 comments

Show HN: Trigora – durable execution without history replay

https://github.com/trigora-dev/trigora
4•hypervs•1h ago•0 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
6•SpeakingOfBrad•1h 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?