frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mojo 1.0

https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here
77•dayanruben•2h ago•43 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://stolen-thoughts.com/
326•quantumgarbage•6h ago•120 comments

How we used to get jobs: A newspaper classifieds story

https://ironicsans.ghost.io/how-we-used-to-get-jobs/
32•speckx•1h ago•11 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
91•sajomes•2d ago•61 comments

England set to be one of the first countries to eliminate hepatitis C

https://www.bbc.com/news/articles/c75gk620r22o
424•stevekemp•6h ago•300 comments

Making holograms with a pen plotter

https://blog.jordan.matelsky.com/Penplotter-holography/
11•DemiGuru•47m ago•2 comments

The whole of PyTorch on one page

https://tensor.khalilli.ai/blog/part-0-the-map/
11•akhalilli•33m ago•1 comments

OpenSSH 10.5/10.5p1

https://www.openssh.org/releasenotes.html#10.5
52•voxadam•1h ago•16 comments

Show HN: Git-knife – edit commit messages, authors, and dates like a spreadsheet

https://github.com/TheRealYT/git-knife
86•YonathanTesfaye•4h ago•64 comments

Manus will return to operating as an independent company

https://manus.im/blog/a-note-to-our-users
95•thm•5h ago•43 comments

Jolt: Clojure compiler implemented with Chez Scheme

https://jolt-lang.github.io
87•mark_l_watson•3d ago•25 comments

Apple Silicon and macOS VMs: Faster LLM Inference with llama.cpp

https://github.com/trycua/cua/blob/main/blog/gpu-passthrough-macos-vms.md
249•frabonacci•4h ago•39 comments

OpenAI’s head of ethics leaves less than a year after joining

https://www.ft.com/content/e49dfb75-f841-4466-a577-f7aaff8779a0
88•ilamont•7h ago•180 comments

As AI eats the web, the internet’s collective memory is disappearing

https://thewalrus.ca/google-search-is-dying/
800•awnird•21h ago•805 comments

A new study of a bot running a store finds it is friendly but not very smart

https://www.nytimes.com/2026/08/04/us/ai-boss-san-francisco-andon-market.html
9•jjwiseman•6d ago•4 comments

Nvidia's Risky Business

https://stratechery.com/2026/nvidias-risky-business/
226•jonbaer•9h ago•94 comments

The Tradeoffs Facing Japan's Economy

https://www.emergingtrajectories.com/lh/japan-economy-tradeoffs/
27•cl42•50m ago•8 comments

Archive of Animal Photography Reveals 18,000 Species and Counting

https://www.smithsonianmag.com/science-nature/this-amazing-archive-of-animal-photography-reveals-...
20•pseudolus•2d ago•4 comments

Launch HN: Keet (YC S24) – An app to create video courses on anything

https://www.trykeet.com/
28•zackashen•4h ago•35 comments

H3-metal – Native MiniMax-H3 inference for Apple Silicon

https://github.com/antirez/h3.c
403•swyx•18h ago•93 comments

Go is an ideal language for AI-assisted software engineering

https://developers.googleblog.com/why-go-is-an-ideal-language-for-ai-assisted-software-engineering/
142•0xedb•2h ago•169 comments

What I learned by putting GitHub Copilot behind a MitM proxy

https://www.lighthousenewsletter.com/p/i-put-github-copilot-behind-a-mitm
118•j0selit0•8h ago•12 comments

CSS properties you should know for better text designs

https://master.dev/blog/typographic-css-tricks/
6•ibobev•2h ago•0 comments

Show HN: Write.md – A free, open-source, themeable Markdown editor for macOS

https://writemd.app/
39•danielbilekq•6h ago•45 comments

London Underground begins scanning passengers' faces

https://www.btp.police.uk/news/btp/news/england/btp-expands-live-facial-recognition-lfr-trial-int...
100•BlueBerry2001•9h ago•137 comments

Grok Bot

https://x.ai/bot
8•rvz•2h ago•0 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
493•HenryNdubuaku•1d ago•163 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
285•eatonphil•19h ago•45 comments

Halcyon Video – a 3D video store for your media server

https://github.com/halcyon-video/halcyon-video
64•Gander5739•4d ago•15 comments

To save C, we must save ABI (2022)

https://thephd.dev/to-save-c-we-must-save-abi-fixing-c-function-abi
105•gurjeet•3d ago•116 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?