News for hackers. Stuff that matters.
Re:Go 1.3+ Compiler Overhaul by Cort3z on Wednesday December 18, 2013 @09:03PM (#6932453)
Why not start from scratch in go? C and go are different programming languages with different standards etc. Why rely on shoehorning the C version into go?
Re:Go 1.3+ Compiler Overhaul by jesstaa on Wednesday December 18, 2013 @11:02PM (#6932796)
There is a large communication overhead to this. You have to start a new project, which could take months to develop. In the meantime you still need to maintain the current compilers, fix bugs and make improvements but all that effort becomes wasted. People stop working on the old code base because your new code base is more fun so it suffers and eventually you end up with a not-yet working new project and a broken buggy old project.

With a translator work doesn't have to stop on the current compiler code base while the new version is developed, all that effort is saved and bugs are automatically fixed in both places so you don't have to maintain and synchronise two bug trackers.

Re:Go 1.3+ Compiler Overhaul by heydenberk on Wednesday December 18, 2013 @09:04PM (#6932458)
From the document itself: "Despite Go’s simplicity, there are many subtle cases in the optimizations and other rewrites performed by the compilers, and it would be foolish to throw away the 10 or so man-years of effort that have gone into them."
Re:Go 1.3+ Compiler Overhaul by twic on Friday December 20, 2013 @07:37AM (#6941103)
This strikes me as dubious. Rewriting from scratch would throw away the C code, but it would not have to throw away the lessons learned from and recorded in the C code.
Re:Go 1.3+ Compiler Overhaul by shurcooL on Wednesday December 18, 2013 @09:04PM (#6932457)
Yes, this is indeed one of the questions that the article addresses in the "Alternatives" section.
Re:Go 1.3+ Compiler Overhaul by largote on Wednesday December 18, 2013 @10:02PM (#6932617)
That is not an article, it's a design document.