dev_compiler
dev_compiler copied to clipboard
DEPRECATED - Moved to main SDK
Can we deprecate this library somehow, if it's outdated? My information form dart dev summit is, that DDC is already shipping with dart and that this repo is outdated. Could...
Currently the class runtime type (Type) is set by a call to dart.tag inside of dart.setSignature. We don't emit calls to dart.setSignature if there are no members in the class,...
Formalize and document the DDC type system / subtyping rules.
Consider this code: ``` class Foo { String name; Foo(this.name); String toString() => name; } main() { for (var i = 0; i < 10000; i++) { print(new Foo('Hi $i'));...
To generate types, we need to know if they are ever implemented via a native class. Our current solution isn't modular / scalable. These are non-native types discovered to be...
Here's my setup: - most dart code is in the `lib/` folder - a single entry-point file is in `web/` (`web/entry.dart`) - all DDC output written to `web/ddc/` - a...
something that throws would probably be better. not sure if this is an issue with JS codegen, but _emitTypeName is probably a good place to start
This gives us a way of implementing Zones that interoperates with JS, which will be helpful for Angular scenarios. It also should have less code size impact (it uses metaprogramming...
- [ ] compile time - [ ] incremental compile time (#223) - [ ] startup - [ ] runtime performance - [ ] code size
``` class Bar { Bar() { print("Bar created"); } } class Foo { var bar = new Bar(); Foo([this.bar]); } main() { print(new Foo().bar); } ``` Dart prints: ``` Bar...