frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Expensive food makes children fat

https://www.uni-bonn.de/en/news/001-2026
1•leobdkr•1m ago•0 comments

The Hive Mind

https://jacquesmattheij.com/the-hive-mind/
1•rcarmo•5m ago•0 comments

Ask HN: Would you back a standards proposal to taint AI output?

1•jacquesm•6m ago•0 comments

The Future of Coding Agents

https://steve-yegge.medium.com/the-future-of-coding-agents-e9451a84207c
1•TheAnkurTyagi•11m ago•0 comments

Secondhand Truth

https://voidtalker.com/secondhand-truth/
1•bovermyer•12m ago•0 comments

What we're talking about, when we talk about data destruction

https://free-dissociation.com/blog/posts/2019/01/what-were-talking-about-when-we-talk-about-data-...
1•fanf2•12m ago•0 comments

The French university where spies go for training

https://www.bbc.co.uk/news/articles/c98nqeqnylro
1•mellosouls•13m ago•0 comments

Show HN: I made an open-source app to interrupt nail biting

https://github.com/vaitko/stopbitingnails.app
1•vaitko•21m ago•0 comments

The Year in Computer Science

https://www.quantamagazine.org/the-year-in-computer-science-20251216/
1•isaacfrond•23m ago•0 comments

Recovering depth from images using Markov Random Fields

https://nghiaho.com/?page_id=1366
1•vitaelabitur•23m ago•0 comments

GNU Ddrescue 1.30 Released

https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00001.html
3•guiambros•30m ago•0 comments

Why I Cold-Called President Trump at 4:30 in the Morning

https://www.nytimes.com/2026/01/03/insider/trump-interview-venezuela-nyt-reporter.html
1•notmysql_•34m ago•1 comments

A Practical guide to building a parser in Go

https://gagor.pro/2026/01/a-practical-guide-to-building-a-parser-in-go/
1•todsacerdoti•36m ago•0 comments

China Urges United States to Release Venezuelan President Maduro

https://medium.com/@omshree0709/china-urges-united-states-to-release-venezuelan-president-maduro-...
1•OmShree0709•38m ago•0 comments

Show HN: Model2data – generate realistic synthetic data from data models

https://github.com/JB-Analytica/model2data
1•jarichb•45m ago•0 comments

How Twitch Tamed a Million Lines of TypeScript

https://www.joshribakoff.com/blog/lint-snapshots/
1•joshribakoff•46m ago•0 comments

Perp DEXs emerge as crypto's strongest growth story in 2025

https://altcoindesk.com/perspectives/expert-opinions/perp-dexs-emerge-as-cryptos-strongest-growth...
1•AishwaryaTiwari•47m ago•0 comments

How does a president becomes a dictator? By executive order

https://augustafreepress.com/news/john-whitehead-how-does-a-president-becomes-a-dictator-by-execu...
4•allgirl•50m ago•3 comments

Why Simple Everyday Objects Are Impossible to Make [video]

https://www.youtube.com/watch?v=pj0ze8GnBKA
1•areoform•51m ago•0 comments

No-Ham-anuary: a retrospective on reducing my intake of processed meat

https://tomaytotomato.com/no-ham-anuary/
1•tomaytotomato•51m ago•0 comments

NAS file sharing: Why I use both NFS and SMB protocols (2025)

https://www.xda-developers.com/why-use-both-nfs-and-smb-nas-for-file-sharing/
1•sipofwater•51m ago•2 comments

Skimfeed has changed it's url linking

1•markx2•55m ago•0 comments

MCP for a Coffee Machine... Worked!

https://archestra.ai/blog/brew-by-ai
1•motakuk•59m ago•0 comments

TS/JS Type-safe thread pool multithreading using Web Workers

https://github.com/imramkrishna/thready-js
1•handfuloflight•1h ago•0 comments

Show HN: A minimal demo showing coherence collapses when state is transported

https://github.com/jspchp63/rcircuit-phase-engine
1•jspchp63•1h ago•0 comments

I asked an AI to create "Unhackable Code". It gave me this. I'm scared

2•VOIDMAKINA•1h ago•4 comments

Show HN: certgrep – The Certificate Transparency Search Engine

https://certgrep.sh/
2•juxhindb•1h ago•0 comments

AMD Stole Intel's Future: The Untold x86-64 Story [video]

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

Manifesto claiming responsibility for terror attack on energy infrastructure [D]

https://www.berliner-zeitung.de/news/stromterror-in-berlin-das-bekennerschreiben-im-wortlaut-li.1...
1•FrojoS•1h ago•0 comments

Signal Contingency Plan (DeltaChat)

https://signal-contingency-plan.info/
1•xeonmc•1h ago•3 comments
Open in hackernews

Zig and GPUs

https://alichraghi.github.io/blog/zig-gpu/
57•Cloudef•8mo ago

Comments

LegNeato•8mo ago
See also https://github.com/Rust-GPU/rust-gpu and https://github.com/rust-gpu/rust-cuda
ladyanita22•8mo 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•8mo ago
Microsoft indicated they are switching to SPIR-V from DXIL: https://devblogs.microsoft.com/directx/directx-adopting-spir...
skywal_l•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
The Zig compiler can compile C, though.