3 ms·
Excellent article. I admire taking extra steps and fiddling with the runtime code to make it faster. One question though: if dart:mirrors is not working when t
by hdhzy 9y ago
Excellent article. I admire taking extra steps and fiddling with the runtime code to make it faster.
One question though: if dart:mirrors is not working when targeting JavaScript does that mean the API is practically unused? Or do people use Dart without compiling to JS? (honest question)
- mraleph 9y agoPeople use Dart on the server and seem to be quite happy with it: see for example https://aqueduct.io/ https://aqueduct.io/ as an example of homegrown server framework that heavily relies on mirrors. But it is true that mirrors more dead than alive on the JS target. I also would expect that eventually Flutter would want something in this space that is compatible with AOT compilation because it allows to tremendously cut down on boilerplate in some cases.