Hacker News new | ask | show | jobs
by refulgentis 511 days ago
Dart's awesome.

I'm sure C# is too.

I've been unlucky enough to have many years in on both iOS and Android, and Dart is a fantastic language, far better than both incumbents.

I worry about judging it as a whole, based solely on their ability to launch pre-compile time code generation that is faster than their current approach.

Macros seemed really cool + really difficult to improve past the current codegen.

I have a 35K LOC "main" code base that generates 670K lines of code under the current approach. It takes 52 seconds for a cold generation of all 670K. Seconds for warm. shrugs (sounds great to me)

1 comments

Yeah. Dart's over-rotation on generated code is a googlism. They have a fancy build setup internally which is very good at generated code and caching it.

I know that the build_runner authors are looking into perf as we speak, and I'd be happy to put you in touch with them if you'd like to speak with them about debugging your case: https://github.com/dart-lang/build/issues/3800

eric@shorebird.dev reaches me (for this or any other Flutter/Shorebird issue).