3 ms·
> Maybe it's just me but I don't want optional typing, or rather optional type hinting. I want static typing. A ton of the community (and in particular teams u
by cbracken 9y ago
> Maybe it's just me but I don't want optional typing, or rather optional type hinting. I want static typing.
A ton of the community (and in particular teams using Dart at Google) felt the same way and the Dart team has been adapting the language to reflect that. Flutter uses Dart 2, which is statically and strongly typed.
> Garbage collection
GC is a nice value-add to the developer — most of us don’t really want to spend a ton of time thinking about reference cycles etc. but as you note, it has the downside of being a potential source of jank. We mitigate this in Flutter by timing the work we do building frames and scheduling small GCs during idle time. Code here:
https://github.com/flutter/engine/blob/8109be8e21604df249b87702b86e4b266ce44225/shell/common/animator.cc#L100 https://github.com/flutter/engine/blob/8109be8e21604df249b87...
- solarkraft 9y agoInteresting approach. I'd read some articles about the inner workings.
- markdog12 9y agoThat 100ms hard-coded value is interesting. What about 120fps devices?
- markdog12 9y agoAh, ic, this is only allowed during idle time and nothing is getting painted.