frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Gemini 3.1 Pro

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-pro/
422•MallocVoidstar•8h ago•649 comments

Show HN: Micasa – track your house from the terminal

https://micasa.dev
376•cpcloud•7h ago•117 comments

Micropayments as a reality check for news sites

https://blog.zgp.org/micropayments-as-a-reality-check-for-news-sites/
93•speckx•3h ago•196 comments

We're no longer attracting top talent: the brain drain killing American science

https://www.theguardian.com/us-news/2026/feb/19/trump-science-funding-cuts
211•mitchbob•2h ago•145 comments

A terminal weather app with ASCII animations driven by real-time weather data

https://github.com/Veirt/weathr
135•forinti•5h ago•18 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
59•lawrencechen•2h ago•27 comments

America vs. Singapore: You can't save your way out of economic shocks

https://www.governance.fyi/p/america-vs-singapore-you-cant-save
189•guardianbob•8h ago•273 comments

A Beginner's Guide to Split Keyboards

https://www.justinmklam.com/posts/2026/02/beginners-guide-split-keyboards/
24•thehaikuza•3d ago•29 comments

Archaeologists find possible first direct evidence of Hannibal's war elephants

https://www.smithsonianmag.com/smart-news/archaeologists-unearthed-a-2200-year-old-bone-they-say-...
64•bryanrasmussen•5h ago•15 comments

Paged Out Issue #8 [pdf]

https://pagedout.institute/download/PagedOut_008.pdf
287•SteveHawk27•11h ago•46 comments

Pebble Production: February Update

https://repebble.com/blog/february-pebble-production-and-software-updates
252•smig0•11h ago•118 comments

Dinosaur Food: 100M year old foods we still eat today (2022)

https://borischerny.com/food/2022/01/17/Dinosaur-food.html
89•simonebrunozzi•8h ago•75 comments

A psychedelic medicine performs well against depression

https://www.economist.com/science-and-technology/2026/02/19/a-psychedelic-medicine-performs-well-...
52•vinni2•2h ago•38 comments

Single vaccine could protect against all coughs, colds and flus

https://www.bbc.com/news/articles/cx2g8rz7yedo
63•dabinat•1h ago•31 comments

Overall, the colorectal cancer story is encouraging

https://www.hankgreen.com/crc
83•ZeroGravitas•3h ago•77 comments

AI is not a coworker, it's an exoskeleton

https://www.kasava.dev/blog/ai-as-exoskeleton
107•benbeingbin•3h ago•118 comments

My 1981 adventure game is now a multimedia extravaganza

https://technologizer.com/home/2026/02/16/arctic-adventure-2026/
46•vontzy•3d ago•13 comments

Don't Trust the Salt: AI Summarization, Multilingual Safety, and LLM Guardrails

https://royapakzad.substack.com/p/multilingual-llm-evaluation-to-guardrails
172•benbreen•3d ago•73 comments

Freedom.gov

https://freedom.gov/
14•barbazoo•1h ago•10 comments

Measuring AI agent autonomy in practice

https://www.anthropic.com/research/measuring-agent-autonomy
69•jbredeche•9h ago•31 comments

HUD proposes rule that would force noncitizens from public housing

https://www.washingtonpost.com/national/2026/02/19/hud-public-housing-mixed-status-immigration/03...
25•geox•59m ago•1 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
155•simondanisch•12h ago•58 comments

Type-based alias analysis in the Toy Optimizer

https://bernsteinbear.com/blog/toy-tbaa/
5•chunkles•3d ago•0 comments

Coding Tricks Used in the C64 Game Seawolves (2025)

https://kodiak64.co.uk/blog/seawolves-technical-tricks
116•atan2•11h ago•14 comments

AI makes you boring

https://www.marginalia.nu/log/a_132_ai_bores/
485•speckx•5h ago•275 comments

Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

https://github.com/fjrevoredo/mini-diarium
103•holyknight•11h ago•49 comments

Mark Zuckerberg grilled on usage goals and underage users at California trial

https://www.wsj.com/us-news/law/meta-mark-zuckerberg-social-media-trial-0e9a7fa0
148•1vuio0pswjnm7•7h ago•83 comments

Zero downtime migrations at petabyte scale (2024)

https://planetscale.com/blog/zero-downtime-migrations-at-petabyte-scale
72•Ozzie_osman•3d ago•14 comments

Farewell, Rust for web

https://yieldcode.blog/post/farewell-rust/
108•skwee357•4h ago•97 comments

California's new bill requires DOJ-approved 3D printers that report themselves

https://blog.adafruit.com/2026/02/19/californias-new-bill-requires-doj-approved-3d-printers-that-...
215•fortran77•4h ago•226 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

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

Comments

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