Trendoday

Show HN: Compile the same source for GPUs and CPUs

discuss

  • Points3
  • Comments0
–Rank now
#19Peak rank
1Days on list
32Score · 7d
Nov 22, 2026First seen
Rank · 7 days

On Hacker News

I'm writing a language called xc and its compiler, xcc for the last 6 months or so (full disclosure: with a lot of help from Claude). I've finally got version 1 (actually v1.0.1) out, for Linux (x86-64 and arm64, including the Pi 5), macOS and Windows. 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…

Points
3
Comments
0
Submitted by
spacedcowboy
Posted
Nov 13, 2026
Site
github.com

Story details from Hacker News ↗ · linked article on github.com.

Trending history

Show HN: Compile the same source for GPUs and CPUs was first seen on Hacker News · Front page on Nov 22, 2026. Since then it has appeared in 22 checks on 1 different day. Its best position was #19 of 30, reached on Nov 22, 06:29 UTC. It dropped off the list after Nov 22, 12:14 UTC.

Rank history

Position on Hacker News · Front page at every check (lower is better).

#1#11#20#30 05:5907:3309:0710:4012:14 Nov 22, 05:59 UTC · #25Nov 22, 06:14 UTC · #30Nov 22, 06:29 UTC · #19Nov 22, 06:44 UTC · #23Nov 22, 06:59 UTC · #26Nov 22, 07:14 UTC · #27Nov 22, 08:29 UTC · #25Nov 22, 08:44 UTC · #28Nov 22, 08:59 UTC · #30Nov 22, 09:14 UTC · #22Nov 22, 09:29 UTC · #22Nov 22, 09:44 UTC · #23Nov 22, 09:59 UTC · #23Nov 22, 10:14 UTC · #23Nov 22, 10:29 UTC · #24Nov 22, 10:44 UTC · #25Nov 22, 10:59 UTC · #25Nov 22, 11:14 UTC · #27Nov 22, 11:29 UTC · #29Nov 22, 11:44 UTC · #29Nov 22, 11:59 UTC · #29Nov 22, 12:14 UTC · #30

Last 14 days

Best rank per day (UTC).

Nov 9today

Metric history

Platform metric as reported by Hacker News.

071320 05:5907:3309:0710:4012:14 Nov 22, 05:59 UTC · 3Nov 22, 06:14 UTC · 3Nov 22, 06:29 UTC · 4Nov 22, 06:44 UTC · 4Nov 22, 06:59 UTC · 4Nov 22, 07:14 UTC · 5Nov 22, 08:29 UTC · 7Nov 22, 08:44 UTC · 7Nov 22, 08:59 UTC · 7Nov 22, 09:14 UTC · 9Nov 22, 09:29 UTC · 10Nov 22, 09:44 UTC · 10Nov 22, 09:59 UTC · 10Nov 22, 10:14 UTC · 11Nov 22, 10:29 UTC · 13Nov 22, 10:44 UTC · 16Nov 22, 10:59 UTC · 16Nov 22, 11:14 UTC · 16Nov 22, 11:29 UTC · 16Nov 22, 11:44 UTC · 18Nov 22, 11:59 UTC · 19Nov 22, 12:14 UTC · 20

Questions

Is Show HN: Compile the same source for GPUs and CPUs trending on Hacker News right now?

Not at the moment. It was last on the list on Nov 22, 12:14 UTC, after 1 day of trending.

What is the highest rank Show HN: Compile the same source for GPUs and CPUs reached?

#19 on Hacker News · Front page, on Nov 22, 06:29 UTC. Trendoday checks this list every 15 minutes.

How long has Show HN: Compile the same source for GPUs and CPUs been trending?

It was first seen on Nov 22, 2026 and has been on the list on 1 day (22 checks) since.

How much discussion did it get on Hacker News?

3 points and 0 comments; submitted by spacedcowboy on Nov 13, 2026.