
Meet the course and see the promise and roadmap of porting C17/18 codebases to Go.
Learn the four-tier porting taxonomy — Trivial, Mechanical, Redesign, and Not Possible — and its audit rubric.
Watch a representative redesign: pthreads to goroutines, including the Go tools and the built-in race detector.
Walk the eight-stage pre-port workflow, from stabilizing the build through verification.
c2go-assess: a published container image that produces a starting-point porting roadmap in one command.
C to Go Porting: What Ports, What Doesn't
A practical framework for judging what to port from C17/18 to Go
This course contains the use of artificial intelligence.
This course uses artificial intelligence to improve the student experience — better demos and consistent audio presentation — and the narration is voiced by a clone of the instructor's own voice.
This is a free, ~30-minute overview of the decisions behind porting a C17/18 codebase to Go. It is not a syntax tutorial — it is a framework for judging what to port, what to leave behind, and how to approach the work before you write a single line of Go.
The centerpiece is a four-tier taxonomy that classifies every C construct by the effort it takes to move: Trivial transcription, Mechanical pattern mapping, Redesign for idiomatic Go, and the "Not Possible" tier where the right answer is to keep the code in C behind a cgo bridge. You will also watch a representative redesign — pthreads to goroutines — and meet the Go tools that change the shape of concurrency code, including the built-in race detector.
From there the course walks an eight-stage pre-port workflow: stabilize and map the build, inventory, understand, clean up, classify, strategize, execute, and verify. It closes with c2go-assess — a published container image that turns a C project into a starting-point porting roadmap in a single command.
Major topics:
- The four-tier porting taxonomy and its audit rubric
- A concurrency redesign: pthreads to goroutines
- The eight-stage pre-port workflow
- The c2go-assess road-mapping tool
Prerequisites: experience writing C on Unix, including modern C17/18 idioms such as stdatomic.h, _Thread_local, and _Generic, plus basic POSIX concepts (files, sockets, signals, processes). Go knowledge is helpful but not required — every mapping introduces the Go it needs.
By the end you will have a repeatable method for estimating a port's effort and a tool that produces your first roadmap.