Hacker News

Latest

87% of the Anthropic power will come from gas and 11% from coal in 2028

2026-11-22 @ 08:57:34Points: 46Comments: 23

Notes on the discrete Fourier transform (DFT)

2026-11-22 @ 06:52:25Points: 26Comments: 4

Show HN: The Riemann Proof Handbook

2026-11-22 @ 05:46:30Points: 44Comments: 16

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

2026-11-22 @ 04:10:09Points: 27Comments: 12

Toyota, Nissan, and Honda to standardize parts to lower costs

2026-11-22 @ 04:04:56Points: 467Comments: 277

Data Processing Incidents on Inference Providers

2026-11-22 @ 02:14:14Points: 144Comments: 57

The Mythology of Conscious AI

2026-11-22 @ 02:10:02Points: 61Comments: 120

Sandwich Simulator

2026-11-22 @ 00:07:59Points: 229Comments: 78

PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors

2026-11-21 @ 22:09:58Points: 112Comments: 13

Advice for the next 100 Rust GUIs

2026-11-21 @ 21:17:53Points: 161Comments: 62

Tasklet (YC P26) Is Hiring Product and Agent Infra Engineers

2026-11-21 @ 21:11:08Points: 1

Pandex – Official European Law for AI Agents, over MCP

2026-11-21 @ 20:47:41Points: 92Comments: 21

Upload2Shell (CVE-2026-125396)

2026-11-21 @ 18:29:29Points: 117Comments: 57

Inkling-2-Mini in 5.4 GB Memory

2026-11-21 @ 18:02:19Points: 459Comments: 116

Lean verification of the Riemann Hypothesis

2026-11-21 @ 14:36:45Points: 1029Comments: 847

Detonating a pile of lead azide

2026-11-21 @ 13:23:14Points: 606Comments: 387

My monitor was cutting my download speed by 75%

2026-11-21 @ 10:36:32Points: 582Comments: 270

GnuPG Security Advisory for GPGME

2026-11-21 @ 08:32:58Points: 251Comments: 101

Getting the mind to steer the body to steer you

2026-11-20 @ 22:11:05Points: 268Comments: 89

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

2026-11-20 @ 21:03:12Points: 989Comments: 216

Hurried Announcement: Alessandro Masullo GRH

2026-11-20 @ 18:33:14Points: 2415Comments: 1174

Levent Alpöge claims proof of the Generalized Riemann Hypothesis [pdf] - https://news.ycombinator.com/item?id=50574968

If tiny 'primordial' black holes exist

2026-11-20 @ 03:37:41Points: 31Comments: 1

Split Radiance Cascades

2026-11-19 @ 14:08:33Points: 32Comments: 0

Is 'fork' missing operation in sandboxes?

2026-11-19 @ 13:28:43Points: 5Comments: 4

Reversing the Next-Page Prefetcher in Skylake-X

2026-11-19 @ 00:50:05Points: 8Comments: 0

Pion Interceptor: WebRTC for Hackers

2026-11-18 @ 22:51:11Points: 10Comments: 1

Shaping the Loops, Closing the Loops

2026-11-18 @ 22:29:04Points: 25Comments: 9

LLMs can read and write executables byte by byte from a hex dump

2026-11-18 @ 14:15:58Points: 241Comments: 156

Reaktiv Workbook – A spreadsheet where every cell is Python

2026-11-18 @ 10:24:42Points: 18Comments: 3

Show HN: Compile the same source for GPUs and CPUs

2026-11-13 @ 17:53:42Points: 10Comments: 0

The idea: you write an ordinary loop, the compiler works out whether it can run in parallel, and it emits both a multi-core CPU version and GPU kernels (MSL, PTX, SPIR-V or WGSL, all generated by xcc itself without needing an SDK installed).

At run time the program measures each block on that machine and keeps the faster placement.

Examples:

- On an M3 Max a Mandelbrot block takes 13.7 ms on all 16 cores and 1.3 ms on the GPU

- On a Ryzen 9955HX's 2-CU integrated Radeon the GPU loses to the 32 CPU threads, so it stays on the CPU.

The compiler also reads plain old C via clang's front end and does the same thing to C loops, with no pragmas. Comparing xcc to OpenMP for both gcc and clang (with the helping hand of "#pragma omp parallel for" gives (times in ms):

                 xcc    gcc+omp  clang+omp
  mandel_deep    371    2170     2231
  mandelbrot     2.45   12.2     12.8
  md5            9.39   16.1     13.4
  md5_mask       8.17   12.1     13.4
  nbody          0.45   1.29     9.92
  perlin         5.87   4.38     7.05
  saxpy          2.26   2.18     2.32
Geometric mean: xcc is 2.1x faster than GCC+OpenMP and 3.0x faster than clang+OpenMP.

All the builds are checked to make sure they give the same result - no point having a benchmark that doesn't produce the same result! xcc has a notable win for nbody, because its vectorisation is better (across bodies) but perlin has been a bit of a bugbear throughout the leading-up-to-v1 timespan.

Platform-specific binary tarballs, the sources, OpenMP versions and method are on the site (linked from github), and there are Phoronix Test Suite profiles if you'd like to run them yourself.

It's only just made v1 so there's a few rough edges: C++ through clang is in-progress (but not official yet), and the Pi 5's GPU is slow. Not sure if that's the Pi or the code yet...

There's more to the language but I don't want this to be an essay! The real, honest-to-$deity cool thing is the automatic parallelising of standard C/xc loops and being able to run that code on the GPU with no boilerplate - "ARC for Algorithms" (what Objective-C's ARC did for memory management), it "just works".

Very keen to get feedback and fix any gaps. I think it's generally useful right now, but it is "v1" - Bug reports welcome as GitHub issues...

Archives

2026

2025

2024

2023

2022