C++ Weekly - Ep 19 C++14 For The Commodore 64

C++ Weekly With Jason Turner · 25K views · 2016 · 17:13

Open on YouTube

C, C++, Rust, Go & systems languagesDemoscene & retrocomputingdemo

Why Hacker News recommends it

Cited as an example of using modern C++ on 8-bit hardware.

What it is

An episode of C++ Weekly in which Jason Turner shows modern C++14 compiling to the Commodore 64's 6502. It demonstrates writing efficient high-level code for 8-bit hardware.

Recommended by 1 HN commenters across 1 different months, 2016 to 2025.

What Hacker News said

Recommends MereInterest · 2019-07 · on “Super Mario 64 has been decompiled”

I'd recommend watching this CppCon talk [1] about compiler optioning. It isn't just that recompilation is hard, or that it is difficult for humans to do. At a fundamental level, the information is not there at all, because the compiler can make very impressive optimizations. Machine learning can deal with weak signals, but it can't deal with no signal. [1] [this video]

Cites voltagex_ · 2016-10 · on “Ask HN: What's your favorite tech talk?”

Your second link reminded me of [this video] (which definitely builds on some of Matt's work). [LINK] - C++17 for the Commodore 64. Probable language warnings for my other suggestions: * Rescuing Prince of Persia from the Sands of Time [LINK] (was this talk ever given elsewhere?) * And You Shall Know Me By My Trail of Documentation - [LINK] * The History and Evolution of Computer Viruses - [LINK]

Cites pjmlp · 2025-03 · on “Mruby/C and picoruby: high level langs in low-level devices?”

It is a return to the age when we had BASIC and Z80/6502 Assembly, and yes doing memcpy/strcpy all over the place instead of having proper arrays and strings is that bad. At very least, C++. "C++14 For The Commodore 64" [this video]