frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Critical CVE issued for hallucinated SQLite vulnerability

https://research.jfrog.com/post/sqlite-critical-cves-or-llm-slops/
606•ymir_e•5h ago•227 comments

Devtools must be open source

https://blog.exe.dev/devtools-must-be-open-source
180•bryanmikaelian•2h ago•59 comments

Taylor Farms Has Rewritten Its Cyclospora Statement Four Times in Sixteen Days

https://www.marlerblog.com/case-news/taylor-farms-has-rewritten-its-cyclospora-statement-four-tim...
173•speckx•1h ago•86 comments

MiniMax H3 Day-0 Support in ComfyUI: Open Weights, Native Audio, and 2K Video

https://blog.comfy.org/p/minimax-h3-day-0-support-in-comfyui
146•vblanco•3h ago•44 comments

Launch HN: Hoplite (YC S26) – Effortlessly deploy cloud coding agents

https://hoplite.sh
12•BenceRed•38m ago•3 comments

Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs

https://clickhouse.com/blog/andy-pavlo-joins-clickhouse
116•nikolay_sivko•3h ago•23 comments

Wind and solar overtake fossil fuels in Germany for the first time

https://www.intellinews.com/wind-and-solar-overtake-fossil-fuels-in-germany-for-the-first-time-ev...
79•just_some_user•3h ago•15 comments

What's the largest software project AI can complete on its own?

https://epoch.ai/MirrorCode
26•yusufozkan•54m ago•14 comments

How Hollywood stopped making movies in Hollywood

https://www.statsignificant.com/p/how-hollywood-stopped-making-movies
76•speckx•6d ago•66 comments

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
1416•ngruhn•10h ago•600 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
931•ai2027•14h ago•482 comments

Ten advances in mathematics and theoretical computer science

https://openai.com/index/ten-advances-in-mathematics/
13•milkshakes•43m ago•337 comments

AirLLM 70B inference with single 4GB GPU

https://github.com/lyogavin/airllm
120•Anon84•5h ago•42 comments

Show HN: Product analytics (and evals) for agent sessions on your MCP

https://armature.tech/
9•screm•52m ago•0 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
214•KolmogorovComp•8h ago•78 comments

C++ float-to-int conversion can be undefined behavior

https://kttnr.net/blog/cpp-float-to-int-conversion-undefined-behavior/
9•signa11•4d ago•6 comments

Explanation of INT8 ConvRot (FP8 is no longer needed)

https://note.com/hirorohi03/n/n047a8c5f7f8b?hl=en
7•peter_d_sherman•1h ago•4 comments

SPF Record Syntax: Mechanisms, Qualifiers, Modifiers, and Macros

https://dmarcguard.io/blog/spf-record-syntax/
28•meysamazad•3h ago•7 comments

Rust project goals: Immobile types and guaranteed destructors

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
185•paavohtl•10h ago•70 comments

Show HN: Nightcrawler – A local AI pentesting agent running on a smartphone

https://github.com/garagehq/nightcrawler/
75•NickySlicks•6h ago•23 comments

The Abandoned Fish Sauce Terrorizing a Small Canadian Town

https://defector.com/abandoned-fish-sauce-canada-interview
150•ohjeez•3d ago•118 comments

Kraid is a now a real compiler

https://www.collabora.com/news-and-blog/news-and-events/kraid-is-a-now-a-real-compiler.html
12•losgehts•4d ago•3 comments

Games at the press of a button: The Rip-O-Bot (1989)

https://blog.gingerbeardman.com/2026/08/02/games-at-the-press-of-a-button-the-rip-o-bot/
24•msephton•20h ago•5 comments

What DMARC Protects You From, and What It Does Not

https://senderledger.com/articles/what-dmarc-actually-protects-you-from
87•adulion•7h ago•24 comments

Prevent cognitive debt by manually retyping LLM-generated code

https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/
276•mpweiher•7h ago•244 comments

Walk on Decomposed Subdomains

https://clementjambon.github.io/wods/index.html#blogpost
31•E-Reverance•6d ago•2 comments

US Military asks troops for 'creative and unconventional' ideas to punish Iran

https://www.cnn.com/2026/08/03/politics/us-military-iran-war-troops-punish
11•Teever•29m ago•3 comments

Train Simulator Controller

https://z80.me/blog/tsc-2026-july/
78•austinallegro•3d ago•5 comments

Finding zombies in our systems: A real-world story of CPU bottlenecks

https://medium.com/pinterest-engineering/finding-zombies-in-our-systems-a-real-world-story-of-cpu...
16•fagnerbrack•1d ago•5 comments

Octane – React’s programming model, compiled

https://octanejs.dev
105•nnx•9h ago•35 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?