Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C to Go Porting: What Ports, What Doesn't
New
3 students

C to Go Porting: What Ports, What Doesn't

A practical framework for judging what to port from C17/18 to Go
Created byEric Bruno
Last updated 11/2026
English
English

What you'll learn

  • Understand the promise and roadmap of porting C17/18 codebases to Go.
  • Classify C constructs into four tiers of effort using the porting taxonomy.
  • See how a concurrency redesign — pthreads to goroutines — changes the code.
  • Walk the eight-stage pre-port workflow for planning a migration.
  • Produce a starting-point porting roadmap with c2go-assess in one command.

Course content

5 sections • 5 lectures • 34m total length
  • The Promise and the Roadmap4:31

    Meet the course and see the promise and roadmap of porting C17/18 codebases to Go.

Requirements

  • Experience writing C on Unix
  • Familiarity with modern C17/18 idioms such as stdatomic.h, _Thread_local, and _Generic.
  • Basic POSIX concepts: files, sockets, signals, and processes.
  • No prior Go experience required — every mapping introduces the Go it needs.

Description

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.

Who this course is for:

  • C developers weighing whether porting to Go is worth the effort.
  • Learners who want a quick orientation before committing to the full course.
  • Anyone deciding what can and cannot be ported from C to Go.
  • Managers and technical leads gauging the size of a C-to-Go migration.