2 ms·
"The Go compilers are also significantly larger than anything we’ve converted: over 60,000 lines of C." Couldn't the compiler translation just be crowd sourced
by melling 13y ago
"The Go compilers are also significantly larger than anything we’ve converted: over 60,000 lines of C."
Couldn't the compiler translation just be crowd sourced by a small group of people? It wouldn't be the best result but if people just stuck to the original C design, it would work as a first implementation.
- aray 13y agoNot continuously. The compiler will continue to be improved, and with a working translator developers never need to worry about the bootstrapping problem while developing the Go compiler in Go.
- thinkpad20 13y agoI'm inclined to agree. It seems that it would be tough to be confident in the correctness of the generated code, let alone the performance. In the end, getting a team on it would seem to be the most likely to produce correct, readable, idiomatic code. But what do I know.
- qznc 13y agoThe D community chose the same route. Currently [0] it seems to work in Win32 already. Meanwhile, development on the C++ implementation continued. This is probably the biggest advantage, as the porting does not slow down language evolution. [0] http://forum.dlang.org/post/l8uccc$1qkr$1@digitalmars.com http://forum.dlang.org/post/l8uccc$1qkr$1@digitalmars.com