logoalt Hacker News

verdverm • today at 2:50 PM • 1 reply • view on HN

people have forgotten how useful deterministic code generation is (and will remain)

When the Go team ported the original compiler from C to Go, they wrote a program that did ~99% of the work

https://www.youtube.com/watch?v=QIE5nV5fDwA

https://go.dev/talks/2014/c2go.slide#18


Replies

verdverm • today at 6:09 PM

it occurs to me how much better these endeavors might go if the prompt was

"write a program to transpile A to B" instead of "port A to B"