frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China cracks down on rule-bending offshore investments

https://www.economist.com/finance-and-economics/2026/06/28/china-cracks-down-on-rule-bending-offs...
2•andsoitis•3m ago•1 comments

The Truth about Space Data Centers [video]

https://www.youtube.com/watch?v=_qpdUNMt2yg
2•tambourine_man•8m ago•0 comments

Why can't India's government build a decent website?

https://www.economist.com/asia/2026/06/28/why-cant-indias-government-build-a-decent-website
4•andsoitis•12m ago•3 comments

A faster bump allocator for rust

https://owen.cafe/posts/stumpalo/
3•birdculture•20m ago•0 comments

AI 'exuberance' risks ending in lengthy investment bust

https://www.ft.com/content/e81ce414-e4bd-4e8c-bac7-94f7bf17def4
3•petethomas•28m ago•1 comments

Show HN: Image2JXL – a native macOS JPEG XL converter

https://old.reddit.com/r/givebest/comments/1ueh3v4/i_built_image2jxl_a_native_macos_app_for_local/
3•givebest•36m ago•0 comments

Self-learning skill for Claude: let the agent capture its own hard-won patterns

https://github.com/Kulaxyz/self-learning-skills
3•kulaxyz•41m ago•0 comments

Show HN: A site that emails you the day your Bitcoin stack hits $1M

https://amimillionaire.com/
2•pro_methe5•41m ago•1 comments

Show HN: Calybris Core, a deterministic audit engine for decisions in Rust

https://github.com/emirhuseynrmx/calybris-core
3•emirhuseyininci•42m ago•0 comments

Show HN: wavecat – a fully local personal agent that watches your screen

https://wavecat.ai/
3•sdkpanda•45m ago•0 comments

Better Images of AI

https://betterimagesofai.org/
3•Curiositry•55m ago•0 comments

We need tech news sources which exclude AI

11•botfriendsarent•56m ago•4 comments

AI Agent Credential Crisis: Six Months of Incidents

https://devfortress.net/blog/semi-annual-2026
3•arian_•57m ago•0 comments

Stanford's Hoover Inst: "The Wealth Tax: Recipe for Economic Disaster"Lionaire [video]

https://www.youtube.com/watch?v=x6k4W5Qzg8U
2•stmw•1h ago•1 comments

Mux – A tmux overlay for managing Claude Code sessions

https://github.com/fashton28/mux
3•fashton28•1h ago•0 comments

A Fresh Equation Born from Hacker News Chaos

https://zenodo.org/records/21015132
2•GerbaitedLol•1h ago•0 comments

The Grim and the Dark: Jon Heder's journey into the world of Grimdark art [video]

https://www.youtube.com/watch?v=SBJefwNkLqo
2•andystanton•1h ago•0 comments

Company Cleaning Up the Reflecting Pool Says It Has 'Nothing to Hide'

https://www.wsj.com/us-news/lincoln-memorial-reflecting-pool-california-greenwater-services-729be960
3•petethomas•1h ago•0 comments

AI Agent Triggers Nuclear Strike After Getting Outmaneuvered in Civilization VI

https://decrypt.co/371877/ai-agent-nuclear-strike-civilization-vi-benchmark
6•Khaine•1h ago•1 comments

On cigarettes

https://funnelfiasco.com/blog/2026/06/28/on-cigarettes/
28•aendruk•1h ago•24 comments

Side-Stepping the Secretary Problem

https://www.evalapply.org/posts/side-step-secretary-problem-hiring/index.html
4•Curiositry•1h ago•0 comments

The Usefulness of AI Agents

https://erikjohannes.no/posts/20260408-on-the-usefulness-of-ai-agents/index.html
2•Curiositry•1h ago•0 comments

/Dev/Notion

https://www.notion.com/product/dev
3•handfuloflight•1h ago•0 comments

AI glasses are aiding cheating in exams. Test-obsessed Asia is ground zero

https://www.cnn.com/2026/06/26/asia/ai-glasses-cheating-exams-intl-hnk
4•pseudolus•1h ago•0 comments

AI Workflows in Production Without Burning Tokens

https://unmeshed.io/blog/bringing-ai-workflow-into-production-without-burning-tokens
2•jusonchan81•1h ago•0 comments

The Cheques Are for the Land Not the Intelligence

https://aidatumpoint.substack.com/p/the-cheques-are-for-the-land-not
3•MadCatBureau•1h ago•0 comments

Show HN: best.free

https://best.free/
4•nadermx•1h ago•0 comments

Crypto vs. community: 4k local US lenders join forces to fight 'stablecoins' law

https://www.theguardian.com/technology/2026/jun/28/crypto-v-community-local-lenders-fight-stablec...
4•pseudolus•1h ago•1 comments

New UK stealth fighter demonstrator takes shape

https://www.aerosociety.com/news/new-uk-stealth-fighter-demonstrator-takes-shape/
4•Gravityloss•1h ago•0 comments

You get to watch 1 season of 1 show for the rest of your life, what do you pick?

https://www.reddit.com/r/AskReddit/s/Sf9sqnAqRr
3•eeko_systems•1h ago•6 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.