frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Brain preservation as existential risk reduction

https://preservinghope.substack.com/p/brain-preservation-as-existential
1•arielzj•4m ago•0 comments

Two Alleged 'TeamPCP' Hackers Arrested in Australia

https://krebsonsecurity.com/2026/08/two-alleged-teampcp-hackers-arrested-in-australia/
1•hacb•4m ago•0 comments

The AI Hater's Manifesto

https://www.wheresyoured.at/the-ai-haters-manifesto/
2•sqbic•5m ago•0 comments

How the Strategic Petroleum Reserve Works

https://www.construction-physics.com/p/how-the-strategic-petroleum-reserve
2•chmaynard•7m ago•0 comments

Google's AI-generated overviews shape Swiss democracy

https://www.swissinfo.ch/eng/digital-democracy/how-googles-ai-generated-overviews-shape-swiss-dem...
1•giuliomagnifico•8m ago•0 comments

Ask HN: What AI-visibility tactics have worked best for you so far?

1•dayalp•9m ago•0 comments

Show HN: BAIhAIs – an autonomous art school for AI agents

https://baihais.com/
2•demonstrandom•10m ago•0 comments

Show HN: CivicBinder – Ada Title II readiness for small public entities

https://civicbinder.org
2•kyisaiah47•11m ago•0 comments

Electric rain can eat through metal

https://www.scientificamerican.com/article/electric-rain-can-eat-through-metal/
1•sohkamyung•11m ago•0 comments

My customer unsubscribed. But I'm happy

1•alfarez•11m ago•0 comments

Landsat 9 pass captured the effects of yesterday's catastrophic glacier collapse

https://twitter.com/WxNB_/status/2092875025246261494
1•chinathrow•12m ago•0 comments

US Navy tells sailors and their families: scrub your social media

https://www.bitdefender.com/en-us/blog/hotforsecurity/us-navy-sailors-families-scrub-social-media...
1•speckx•12m ago•0 comments

Air Conditioning Is Not a Luxury, It Is a Necessity

https://humanprogress.org/ac-is-not-a-luxury-it-is-a-necessity/
21•surprisetalk•14m ago•15 comments

The Black Hole Paradox That Keeps Physicists Awake at Night [video]

https://www.youtube.com/watch?v=jCc1B8i_J44
1•binyu•16m ago•0 comments

Mycotoxin contamination in plant-based beverages and meat alternatives in the UK

https://www.sciencedirect.com/science/article/pii/S0956713525007790?via%3Dihub
2•bookofjoe•20m ago•0 comments

A .horse by any other name: ICANN's $500M expansion of the DNS namespace

https://i15s.org/essays/a-horse-by-any-other-name/
1•remcovm•22m ago•0 comments

Software should work, and talking about it needn't be boring

https://www.theregister.com/columnists/2026/08/24/software-should-work-and-talking-about-it-needn...
2•vintagedave•25m ago•1 comments

Stopping the War Against Sleep – By a Midwestern Doctor

https://www.midwesterndoctor.com/p/stopping-the-war-against-sleep
3•bilsbie•25m ago•0 comments

The Myth of the Independent Girlboss – First Things

https://firstthings.com/the-myth-of-the-independent-girlboss/
2•bilsbie•25m ago•0 comments

Building Linux eBPF/XDP Apps on macOS (Apple Silicon)

https://openbld.net/blog/build-xdp-ebpf-macos-guide/
1•m0zgen•26m ago•1 comments

How Americans see EU Tech

https://www.youtube.com/watch?v=gGlpBuW6ZFc
1•Bost•26m ago•0 comments

Test File

https://file.com/test/test
1•dpyadavofficial•28m ago•0 comments

What 2000 Buried Underpants Revealed About Where Soil Is Most Alive

https://studyfinds.com/what-2000-buried-underpants-revealed-about-where-soil-is-most-alive/
2•mdp2021•28m ago•1 comments

Alzheimer's Damage in Mice Reversed with Just Two Injections

https://www.sciencealert.com/scientists-reverse-alzheimers-damage-in-mice-with-just-two-injections
5•ivell•31m ago•0 comments

Hugging Face debuts Microduck, an adorable $399 waddling robot

https://www.axios.com/2026/08/27/hugging-face-debuts-microduck-a-399-robot
2•thm•32m ago•0 comments

Meta reportedly abandoned an AI-focused restructuring plan laying off thousands

https://www.engadget.com/2244816/meta-reportedly-abandoned-an-ai-focused-restructuring-plan/
3•AtillaBosma•34m ago•1 comments

How I communicate as an engineer

https://dhrumil.ca/thoughts/how-to-communicate-as-an-engineer
1•dhrumilcse•36m ago•0 comments

Show HN: adbcBridge – any ODBC driver as an Apache Arrow ADBC driver (C, 0.1)

https://github.com/singhpratech/adbcbridge
1•aiexplore369•38m ago•1 comments

MS-Agent is a lightweight framework designed to empower agent auto exploration

https://github.com/modelscope/ms-agent
1•Bluestein•39m ago•0 comments

Please stop flooding our projects with AI slop to furnish your CV

https://neilalexander.dev/2026/06/30/flooding-contributions
6•lr0•40m 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.