frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Gilbreath principle, made interactive

https://sleightless.com/tricks/math/gilbreath-principle/
1•davidharrisonal•3m ago•0 comments

Why Is Cracking a Whip So Loud? [video]

https://www.youtube.com/watch?v=DGH3GMiHNls
1•gmays•7m ago•0 comments

Life without vaccines: Americans need to understand what they save us from

https://www.statnews.com/2026/08/13/trump-vaccine-executive-order-mmr-separate-shots-policy/
2•EA-3167•9m ago•0 comments

Changing Devtools Is Cheap. Owning Them Isn't

https://lalitm.com/post/changing-devtools-is-cheap-owning-them-isnt/
1•lalitmaganti•12m ago•0 comments

SHOW HN: tips Easy to Understand Manual. Better than tealdeer

https://github.com/derusbel/homebrew-tips
1•derusbel•19m ago•0 comments

Who Comments on Rules That Change?

https://frtracker.app/blog/who-comments-on-rules-that-change
1•tldrthelaw•24m ago•0 comments

Reddit Will Be Added to the S&P 500

https://redditinc.com/news/reddit-will-be-added-to-the-s-p-500
1•soheilpro•30m ago•2 comments

Banquish: Take other websites apart and build your own

https://banquish.space
1•ghboo0927•32m ago•0 comments

AQR Website Respect Users

1•sideras56•34m ago•0 comments

The Math Superstar Who's Terrified of AI–and Just Took a Job at OpenAI

https://www.wsj.com/tech/ai/openai-jacob-tsimerman-fields-medal-ai-safety-391d0f79
3•gmays•36m ago•0 comments

Agentrove: Self-hosted AI workspace for orchestrating coding agents

https://github.com/Mng-dev-ai/agentrove
1•indigodaddy•38m ago•0 comments

Show HN: Client-side audit of wasted Stripe payment retries

https://recoverflow.org/tools/retry-waste-calculator/
1•BruceM2007•39m ago•0 comments

The programming language speed balls, but for inference (tokens per second)

https://kylejeong.com/inference-balls
1•Kylejeong21•41m ago•0 comments

Show HN: Run Log – drop a FIT or GPX file and read what happened on your run

https://runlogapp.com/
1•wally2026•46m ago•1 comments

OpenAI Computer History remembers your activity across the apps and websites

https://twitter.com/OpenAI/status/2087996496088297746
1•acheong08•46m ago•0 comments

When OpenAI employees have a problem, they email this special address

https://fortune.com/2026/08/11/openai-employees-email-friction-address-to-eliminate-bureaucratic-...
2•mji•47m ago•0 comments

Show HN: Inplan – Before Start Coding

https://github.com/melly-lgtm/inplan
1•diane-cis•47m ago•1 comments

The Mystery of Dark Oxygen

https://www.newyorker.com/science/elements/the-mystery-of-dark-oxygen
2•petethomas•48m ago•0 comments

TOSTracker – The Terms Have Changed

https://tostracker.app/briefing
2•tldrthelaw•52m ago•0 comments

Minutes of drawing can reset your nervous system

https://www.washingtonpost.com/wellness/2026/08/13/how-10-minutes-drawing-can-reset-your-nervous-...
3•malloci•55m ago•0 comments

Foothills of the Bay Area house party

https://www.astralcodexten.com/p/the-foothills-of-bay-area-house-party
3•MattSayar•56m ago•0 comments

Sailor went overboard on USS Lincoln; report of worsening mental health for crew

https://www.cnn.com/2026/08/13/politics/uss-abraham-lincoln-conditions-extended-deployment-hnk
3•1659447091•1h ago•0 comments

Show HN: Minesweeper with flowers game you can fork

https://forkcade.com/gallery/minesweeper-flowers
1•jonaldomo•1h ago•0 comments

Bluesky Protocol Services

https://atproto.com/blog/introducing-bluesky-protocol-services
47•danabramov•1h ago•7 comments

Glass Is Glass [video]

https://www.youtube.com/watch?v=7YrdI7h2XoY
1•ValentineC•1h ago•0 comments

SparrowMap – Cameras that watch government vehicles

https://sparrowmap.com/
14•paulnpace•1h ago•1 comments

How Obama's BlackBerry got secured (2023)

https://www.electrospaces.net/2013/04/how-obamas-blackberry-got-secured.html
8•downbad_•1h ago•0 comments

Possession, poem by Jo McCormick (Compaq tech demo circa 1982) [video]

https://www.youtube.com/watch?v=cTg1Smo5CFk
1•joeycastillo•1h ago•0 comments

GitHub adds an ROI section to the Copilot impact dashboard

https://github.blog/changelog/2026-08-07-copilot-impact-dashboard-adds-a-return-on-investment-sec...
2•jamesfinlayson•1h ago•0 comments

Kennedy Center Board Decides to Inscribe Trump's Name on Building

https://www.nytimes.com/2026/08/13/arts/design/kennedy-center-closure-board-vote-trump.html
4•2OEH8eoCRo0•1h ago•0 comments
Open in hackernews

Zig and GPUs

https://alichraghi.github.io/blog/zig-gpu/
57•Cloudef•1y ago

Comments

LegNeato•1y ago
See also https://github.com/Rust-GPU/rust-gpu and https://github.com/rust-gpu/rust-cuda
ladyanita22•1y ago
Surprisingly, it seems this project just supports Spir-V and PTX, but not DXIL or AMDGCN.

I say surprisingly, because I'd expect Rust support to be more mature than Zig's.

lostmsu•1y ago
Microsoft indicated they are switching to SPIR-V from DXIL: https://devblogs.microsoft.com/directx/directx-adopting-spir...
skywal_l•1y ago
I am a complete noob in GPU but is AMDGCN the older generation with the new one being RDNA? If you generate a binary for AMDGCN, will it run on the newest cards?

Also, I though that these GPU ISAs were "proprietary". I wonder how reliable the binary generation can be.

AliChraghi•1y ago
AMD ISAs are changing for almost every generation so LLVM[1] continues to keep the architecture name "amdgcn" and handle the variation based on the model flag (e.g., -mcpu=gfx1030 for RDNA2, -mcpu=gfx1100 for RDNA3).

> I though that these GPU ISAs were "proprietary"

PTX spec[2] is publicly available but the actual hardware assembly (SASS) is not. Although i believe Nsight allows you to view it.

1. https://llvm.org/docs/AMDGPUUsage.html#processors

2. https://docs.nvidia.com/cuda/parallel-thread-execution

imtringued•1y ago
If LLVM can target AMD GPUs what exactly prevents AMD and ROCm from supporting all the damn GPUs?

At this point I'm convinced that the real problem with AMD GPUs isn't necessarily the compilers (although they do produce mediocre code) or even the hardware itself, but some crappy C++ driver code that can't handle running graphics and compute at the same time. The datacenter GPUs never had to run graphics in the first place, so they are safe.

slavik81•1y ago
In my experience, the compiler, compute drivers, and HIP runtime work fine for all modern AMD GPUs. The only parts of the stack that don't run on all GPUs are the math and AI libraries. And that is mostly because AMD isn't building and testing those libraries for unsupported GPUs. The actual work required to enable functional support was straightforward enough that I ported them myself when packaging the libraries for Debian. Though, I had a lot of help on the testing.

See the Debian Trixie Supported GPU list: https://salsa.debian.org/rocm-team/community/team-project/-/...

SomaticPirate•1y ago
While I admire the work of hobbyists it still looks like C/C++ will be the default until a GPU vender makes the decision to support these libraries.

From my understanding, Vulkan and OpenGL are nice but the true performance lies in the specific toolkits (ie CUDA, Metal).

Wrapping the vendor provided frameworks is liable to break and that isn't tenable for someone who wants to do this on a professional basis.

pjmlp•1y ago
They also miss that on CUDA's case it is an ecosystem.

Actually it is C, C++, Fortran, OpenACC and OpenMP, PTX support for Java, Haskell, Julia, C#, alongside the libraries, IDE tooling and GPU graphical debugging.

Likewise Metal is plain C++14 plus extensions.

On the graphics side, HLSL dominates, following by GLSL and now slang. There are then MSL, PSSL and whatever NVN uses.

By the way, at GTC NVIDIA announced going all in with Python JIT compilers for CUDA, with feature parity with existing C++ tooling. There is now a new IR for doing array programming, Tile IR.

dismalaf•1y ago
I don't quite get this comment.

This is supposed to be used in place of CUDA, HIP, Metal, Vulkan, OpenGL, etc... It's targeting the hardware directly so doesn't need to be supported as such.

The site also seems to clearly state it's a work in progress. It's just an interesting blog post...

slowmovintarget•1y ago
The Zig compiler can compile C, though.