Results 162 comments of Leaf Petersen

In the Dart 2 time frame, we will have some (but not all of what you are asking for here). You will be able to conditionally import/export code controlled by...

cc @mit-mit @lrhn @eernstg @chloestefantsova @johnniwinther @munificent @stereotype441 @natebosch @jakemac53 @rakudrama @srujzs @sigmundch @rileyporter @mraleph

> If we bundle them together then I would expect that one is subset of another or there is a clear shared core, but beyond some syntactic similarities I don't...

> What if we treat `extension struct` not as a variant of a `struct`, but as a variant of an `extension` (an extension of extension, really). Yes, this is a...

I haven't thought through this deeply, but I think I would propose the semantics that `await p` matches if the value being matched is a `Future`, and the result that...

cc @mit-mit @lrhn @eernstg @chloestefantsova @johnniwinther @munificent @stereotype441 @natebosch @jakemac53 @rakudrama @srujzs @sigmundch @rileyporter @mraleph @mkustermann

@mkustermann > * **Shifts boxing/unboxing to different place**: If we have sufficient guarantees we can unbox struct-fields and struct arguments/return-values across calls. Though that doesn't necessarily eliminate boxing/unboxing, but shifts...

cc @mit-mit @lrhn @eernstg @chloestefantsova @johnniwinther @munificent @stereotype441 @natebosch @jakemac53 @rakudrama @srujzs @sigmundch @rileyporter

This continues to feel like a foot gun to me if we allow it. There is almost no reason that I can think of for implementing `Iterable` other than to...

> is there any use to having extension structs implement anything? yes, very much. In my proposal, if the underlying object implements something, you can expose that, and consumers can...