Code Evolution: Migrating off CoffeeScript with a Neural Network
summary
A team migrated 40K lines of legacy CoffeeScript to Node.js using a neural network-based code-conversion workflow. The talk describes a script that parses files and calls an API to perform automated translations, the automation pipeline plus manual review steps, technical challenges encountered, how automated tests were used to verify correctness, and the role of human code review for fixes and optimizations, with results and lessons learned.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:59City Drive service
- 5:50CoffeeScript problems
- 12:45Migration solutions
- 15:30Neural network demo
- 20:57AI results and benefits
- 23:22Post-migration testing
- 24:48Summary & Q&A
related talks
40mRefactoring large JavaScript codebases
22mMaking Code Automations at Scale: Leveraging AI for Code Migrations
30mRefactoring large JavaScript codebases
29mLarge Scale Migrations Using Recast and jscodeshift to Scale
25mUtilizing the JavaScript Abstract Syntax Tree (AST) for Automated Frontend Lifecycle Management
28mAI Migration at SCALE: Make Complex Code Tasks 10X Faster (The Blueprint)
25mManage large refactors with JSCodeShift
34mCodemods in the Era of AI
