Dart basically exists to solve two problems
- Provide a client-side language that allows developers to create large applications without the pain typically associated with large javascript applications.
- Use the client language and the server in the same language (i.e., the Dart SDK will ultimately be similar to NodeJS).
Thus, it solves the same problem: GWT (bridging the gap between the client and server), and some of the problems solved by CoffeeScript (a modern language suitable for large-scale development).
Dart, we hope, will do a better job of bridging the gap between the client and server than GWT, since it was designed from the very beginning to compile it into JavaScript, thereby solving the main problem with GWT-RPC (i.e., GWT-RPC can only serialize a tiny subset of Java, Dart does not have this problem).
Whether it will be better than CoffeScript is another discussion, but now its improved debugging capabilities (i.e., launching it directly inside Chrome) proves a big plus for developing large-scale web applications (for example, GWT does this using its dev mode) ,
Lars Tackmann Feb 07 2018-12-12T00: 00Z
source share