~/talk

Analysis and Transformation Tools for Go Codebase Modernization

Talkat GopherCon 2025 · 2025-08-26..08-28· [go, developer-experience]
slides:none on file

Reports progress on the Go analysis framework used by cmd/vet and gopls, shows a suite of 20 modernizers that suggest-and-fix small API and idiom upgrades, and describes a source-level inliner (about 7,000 lines) that safely rewrites calls annotated with a gofix inline comment. Experiments find LLMs ignore new features across ~20 cases, many handcrafted modernizers contain subtle bugs, and the inliner proves reliable enough for mass automated fixes when integrated into go fix/go tools.

AI-written summary · about

  1. 0:00Introduction to code modernization
  2. 0:34The case for modernizing Go
  3. 3:54Modernization and AI challenges
  4. 7:23Building modernization tools
  5. 12:00Lessons learned from analyzers
  6. 17:14The auto-inliner approach
  7. 22:17Summary and future directions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.