News for hackers. Stuff that matters.
Re:Experience report on a large Python-to-Go translation by benhoyt on Tuesday February 11, 2020 @10:20PM (#22305425)
Sounds about right! Here's another: https://benhoyt.com/writings/learning-go/ ... I ported a medium-sized web backend in Python to Go.

"Due to Go’s static typing and because I was using fewer libraries, I expected that the code would end up being more than twice as many lines of code. However, it was only 1900 lines of Go (about 50% more than the 1300 lines of Python)."

"The porting effort was very smooth, and a lot of the business logic was almost mechanical, line-for-line porting of the original Python. I was surprised how well many Python concepts translate to Go, right down to the things[:20] slice notation."

There are no comments on this comment yet.