Closed ghost closed 2 years ago
Large parts of the Dart toolchain are written in Dart (e.g. Dart CFE, type flow analysis, dart2js compiler, dartdevc compiler etc).
Where there are significant benefits and no draw backs we tend to write code in Dart.
Full bootstrapping is non-goal because it does not really yield enough benefits that would out-weight amount of work we need to put into it to achieve it.
Here document about why golang self bootstrapping, https://www.infoq.com/news/2015/01/golang-15-bootstrapped/
By my side, Dart lang it is a more powerful language, better than Golang, i work on Android app develop, using Dart lang in my day life.
If we self bootstrapping, we can do it early. Or we will got much dirty shit CPP code everywhere, much more tech debt.
You somehow think that rewriting C++ to Dart is going to magically improve it. This is unquantified. I will repeat myself: it's a large investment for imaginary / questionable gains.
Anyway - this is offtopic. We have no plans to fully rewrite all our C++ code to Dart.
bootstrapping is a programming who will be more stable and strong .
by wikipedia :
Reference: https://en.wikipedia.org/wiki/Bootstrapping_%28compilers%29