Re:Dart 3.1 and a retrospective on functional style programm...
by ac130kz on Thursday August 17, 2023 @11:49AM
(#37163532)
It was really stuck at "in progress" for a looong time, and it's still in the working set, so it means that's going to take yet another 2-3 Dart releases and a few more to stabilize for production.
> They're just codegen you can't see
Yes, and that's exactly how it should have been in the first place. No need to run buggy services, no need to constantly juggle newly generated files.
Re:Dart 3.1 and a retrospective on functional style programm...
by mathisfun123 on Thursday August 17, 2023 @12:00PM
(#37163729)
do you understand that things that you can't see still need to be juggled? the problems don't magically go away just because you can't see the artifacts. what happens is you lose complete control over how they're juggled and you retain as much control as the compiler owner deigns to give you (see generic in Go). please see all the pain of working templates in C++.
Re:Dart 3.1 and a retrospective on functional style programm...
by ac130kz on Thursday August 17, 2023 @12:05PM
(#37163825)
I do, I work with Rust templates and worked with C++ templates. Obviously, people aren't asking for such a granular level of metaprogramming.
Re:Dart 3.1 and a retrospective on functional style programm...
by mathisfun123 on Thursday August 17, 2023 @02:41PM
(#37166154)
> Obviously, people aren't asking for such a granular level of metaprogramming.
that `Obviously` is doing a lot of work there but more so i'm saying going from codegen facilities to static metaprogramming is a step in the wrong direction if the static metaprogramming is at the cost of the codegen.
Re:Dart 3.1 and a retrospective on functional style programm...
by vsmenon on Thursday August 17, 2023 @11:55AM
(#37163661)
[ I work on Dart ]
We're still working on this, and you can find updates in the language repo. One reason we're taking extra time here is that macros / static metaprogramming can blow up compile times and hot reload.
Re:Dart 3.1 and a retrospective on functional style programm...
by mathisfun123 on Thursday August 17, 2023 @12:00PM
(#37163735)
that's fine - i'm not complaining i'm waiting patiently. keep going!
https://github.com/dart-lang/language/blob/main/working/macr...