frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Binpatch

https://github.com/BYK/binpatch
1•tosh•12s ago•0 comments

Sync reading progress between Audiobookshelf and KOReader

https://github.com/cporcellijr/bookbridge
1•itchingsphynx•2m ago•0 comments

Miles of film and a bulb as hot as the sun – projecting The Odyssey

https://www.bbc.com/news/articles/cq564069j1eo
1•theanonymousone•2m ago•0 comments

SG Strings Don't Vibrate the Way You Think [video]

https://www.youtube.com/watch?v=sYdXa_yp0fc
1•sohkamyung•2m ago•0 comments

Hivemind wrote 19 skills from my coding history; the best part was the refusal

https://medium.com/data-science-collective/hivemind-wrote-19-skills-from-my-coding-history-the-be...
1•sebuzdugan•3m ago•0 comments

Get-md now preserves Mermaid diagrams through document-to-Markdown conversion

https://nanocollective.org/blog/get-md-v170-mermaid-diagrams-survive-the-conversion-end-to-end-80
1•mrspence•3m ago•0 comments

Show HN: A Toy Sound Generator

https://toy-sound.surge.sh/
1•stagas•5m ago•0 comments

When transit passes were designed by hand

https://letterformarchive.org/news/milwaukee-transit-passes/
1•nate•6m ago•0 comments

Situational Awareness Down 67% in July in AI Stock Rout

https://www.wsj.com/finance/investing/situational-awareness-down-67-in-july-in-ai-stock-rout-cd19...
5•pondsider•6m ago•0 comments

Pac Maps

https://profrino.github.io/pac-maps/
1•tobadzistsini•7m ago•0 comments

US investigating if Iran was behind cyberattack on water systems in seven states

https://www.cbsnews.com/news/us-investigating-iran-cyberattack-minnesota-water-systems/
3•ck2•8m ago•1 comments

Predicted observability of the Aug. 5 Falcon 9 upper stage lunar impact

https://arxiv.org/abs/2607.23904
1•Thorondor•9m ago•0 comments

Lips Scheme – Powerful Scheme Based Lisp in JavaScript

https://lips.js.org/
1•sourdecor•9m ago•0 comments

Refactoring a Deity

https://olliegreen.info/posts/12/refactoring-a-deity/
1•Oarch•11m ago•0 comments

Trump Admin Weighs $100k Fee for Foreign Students to Work Post-Grad (OPT)

https://news.bloomberglaw.com/daily-labor-report/trump-weighs-100-000-fee-for-foreign-students-to...
1•alephnerd•12m ago•1 comments

Ask HN: I created Canva Alternative with 200+ Tools

3•HSK11•13m ago•1 comments

The creator of Node.js asks if anyone still uses an IDE

https://twitter.com/rough__sea/status/2082882494651842809
1•aanthonymax•13m ago•0 comments

Am29000 emulator for windowed OS in machine code (1996)

https://github.com/nanochess/Am29000
2•nanochess•13m ago•0 comments

Show HN: A route planner that starts from battery range, not distance

https://wattaround.eu/en/
1•amaury•13m ago•0 comments

Tired of rebuilding FastAPI back ends, so I built a CLI to generate one

https://github.com/prathamdmehta/backend-dash
1•prathamdmehta•14m ago•0 comments

Show HN: PinFix – Click any UI element and edit its source with Claude Code

https://github.com/ForeverSc/pinfix
1•foreversc2•14m ago•1 comments

Pennant Knowledge Engineering Studio – Compile Graph Context for AI Agents

https://github.com/galeluka/Pennant
1•galeluka•14m ago•0 comments

Interactive Raylib with Common Lisp [video]

https://www.youtube.com/watch?v=yeJRK_1rS4Y
1•b-man•15m ago•0 comments

Feeling Lost

https://alexcaza.com/personal/feeling-lost/
1•ExMachina73•15m ago•0 comments

Anti-fraud tools can't keep pace with scammers exploiting cheap internet calling

https://broadbandbreakfast.com/how-to-fight-back-against-fraudulent-robocalls/
2•dredmorbius•16m ago•0 comments

Global surge in copper theft snares telecoms and trains

https://www.ft.com/content/5ee7595d-a85d-432d-b269-90f1b4cf1920
2•bookofjoe•16m ago•1 comments

A New Communication Protocol

1•JustBipinThapa•17m ago•0 comments

Show HN: A notebook for prototyping with your agent

https://nawc.dev/
1•narwhster•18m ago•0 comments

Citadel buys Situational Awareness equity holdings after steep AI losses

https://www.ft.com/content/5fb44089-ecdf-4b48-bc14-1e8b4682b142
5•rib3ye•18m ago•3 comments

Moonshot built on 20k Nvidia chip cluster from Alibaba

https://www.bloomberg.com/news/articles/2026-07-31/moonshot-s-kimi-built-on-20-000-nvidia-chip-cl...
3•gk1•20m 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.