Slava Egorov

27.4K posts

Slava Egorov banner
Slava Egorov

Slava Egorov

@mraleph

👋compiling compilers @Google overall tech lead for the @dart_lang programming language

Aarhus Katılım Temmuz 2009
604 Takip Edilen11.6K Takipçiler
Sabitlenmiş Tweet
Slava Egorov
Slava Egorov@mraleph·
me developing software (2022 edition)
Slava Egorov tweet media
English
4
8
94
0
Slava Egorov
Slava Egorov@mraleph·
@jezell @dersimolus We can't switch to these by default because these are not supported by oldest supporter browser versions. We could do it under a flag though.
English
1
0
1
27
Jesse Ezell
Jesse Ezell@jezell·
@mraleph @dersimolus Ah, @dersimolus's fork appears to be a bit behind, will make a custom 3.13 fork because the new standalone mode is great. Really would be nice to get a fix merged for this though @mraleph, it's probably going to prevent standalone mode from being very useful.
English
1
0
1
80
Slava Egorov
Slava Egorov@mraleph·
A random Piet Hein quote appears on a wall in Sofia 🤯
Slava Egorov tweet media
English
0
0
2
607
Jesse Ezell
Jesse Ezell@jezell·
Is this the first Flutter implementation running on top of Skia Graphite + WebGPU? Sometimes if you want it done, you just have to do it yourself... or ask Codex to do it for you.
English
5
3
62
4K
Slava Egorov
Slava Egorov@mraleph·
@birjuvachhani Dart uses V8's regex engine with JIT disabled (because we can't JIT on iOS so that makes regexp perform the same way on all platforms). We could theoretically enable JITing on platforms where it is supported.
English
1
0
2
125
Birju Vachhani 💙
Birju Vachhani 💙@birjuvachhani·
Did you know that Dart Regex compiled for web is 6x faster than compiled for Dart VM? I was porting Oniguruma C lib(regex engine vscode uses for tokenization on TextMate grammer parsing) to Dart and did a benchmark on few things! Learning a lot about Regex implementations!
Birju Vachhani 💙 tweet media
English
2
1
6
538
Kingkor Roy Tirtho
Kingkor Roy Tirtho@KrTirtho·
@alexmercerind Agreed. And Dart team are still unable to solve code generation. In 2026, waiting for build_runner to compile for 5-10 minutes is honestly an experience kinda unacceptable.
English
2
0
2
92
Hitesh 🔧
Hitesh 🔧@alexmercerind·
I personally don't want Dart to add more features... It was a simple language that was easy to use... Now we have dot shorthands, pattern matching, records, class modifiers (maybe sealed were sufficient) etc. etc.
English
3
0
17
2K
Slava Egorov
Slava Egorov@mraleph·
@mahersafadii That's not what you think it is. There is no agreement to add full shared memory yet. (As in sharing mutable dart state between concurrent threads of execution). This is a set of features bridging some of the gaps between threads and isolates without removing isolation altogether
English
2
0
8
719
Maher Safadi
Maher Safadi@mahersafadii·
Looks like shared memory multi-threading coming to Dart is really soon, only 11 issues are open out of 40 regarding the implementation of it github.com/orgs/dart-lang…
English
2
3
39
4.4K
Slava Egorov
Slava Egorov@mraleph·
Few unplanned free evenings in Sofia. Anybody I know who wants to meet for a beer?
English
0
0
1
1.1K
Slava Egorov retweetledi
Flutter
Flutter@FlutterDev·
Don't forget to take the Flutter Q2 user survey! → goo.gle/4fgpjLC 📝 The survey closes at the end of day on Friday, June 19th.
GIF
English
6
14
111
7.8K
Slava Egorov
Slava Egorov@mraleph·
I'll take "solve garbage collection" for 200 Alex
Slava Egorov tweet media
English
1
0
24
1.6K
Slava Egorov
Slava Egorov@mraleph·
@ASalvadorini @RydMike > Sure but it's not gonna happen. The Dart team already stated it many times. I don't think we actually did state that anywhere. Appeal of such feature (e.g. automatic synthesis of hashCode, equals, toString) is pretty clear.
English
1
0
7
243
Alessio Salvadorini 💙
Alessio Salvadorini 💙@ASalvadorini·
@RydMike Sure but it's not gonna happen. The Dart team already stated it many times. The community doesn't own the code, they do and they know better. IMHO it's a very stupid attitude when devs talk about Dart badly because it doesn't have data classes 🤷‍♂️
English
2
0
2
645
Mike Rydstrom
Mike Rydstrom@RydMike·
All true, well argued and nice, BUT I’ll play the other side. Having data classes in the core lang like in Kotlin and Swift is nicer, then everyone uses that, making code bases more consistent, agents knows it better, no arguments about which approach to use #DartLang #FlutterDev
Alessio Salvadorini 💙@ASalvadorini

So let's once and for all have a small thread about data classes in Dart, a feature the community requests often. My point here is that they are not needed to be at the language level, as you can have immutability already in many different ways + sealed classes 🧵⬇️⬇️⬇️

English
2
1
11
2.1K
trish
trish@TrisH0x2A·
i was reading the SQLite source and found that DELETE does not actually shrink the database file deleted pages are placed onto an internal freelist inside the file new inserts reuse those free pages before growing the database again the file itself only gets smaller when you run VACUUM delete everything from a 1GB database and the file is still 1GB until you compact it
trish tweet media
English
32
47
678
48.6K
Slava Egorov
Slava Egorov@mraleph·
@TrisH0x2A @vedr4j do you have a link or full font name? cause the only nova font I can find looks nothing like this.
English
1
0
0
59
Aleksei
Aleksei@invsman·
У меня уже какой-то ПТСР когда я вижу текст с этими LLM паттернами, мне физически тошно его читать. Я скоро буду бросаться на людей чтобы сами писали, если хотят шарить его на большую группу людей
Русский
41
4
356
12.8K
Slava Egorov
Slava Egorov@mraleph·
@felixge I was assuming that ping would happen on the CL - I don't see any there. Next step after that is to assign a different owner :)
English
0
0
1
36
Tagir Valeev
Tagir Valeev@tagir_valeev·
Мои дети научились кататься на двухколёсном велосипеде в пять лет. Всё потому что у них была неэффективная траектория обучения: сначала трёхколёсный велосипед с приводом к переднему колесу, затем велосипед со страховочными колёсами, и только потом, когда казалось, что они уверенно крутят педали, страховочные колёса я откручивал и учил кататься без них. Собственно, этот путь я запомнил с моего детства и его придерживался. Сегодня бегал наперегонки с трехлетней девочкой (ну ладно, ей уже скоро четыре), которая весьма уверенно педалит на двухколёсном велике. Спросил родителей — конечно же она начинала с беговела ещё в два года. Страховочные колёса ей и не потребовались. Много таких историй. Не повторяйте моих ошибок, в общем. Беговел — тема. Мне казалось, что это странная и ненужная штука, но я был неправ.
Русский
65
2
232
18K
Osvaldo Pinali Doederlein
"initialization-order-fiasco" – are you trying to embarrass me, AddressSanitizer?
English
1
0
2
876
Konstantin Petrov
Konstantin Petrov@constpetrov·
@tagir_valeev Частая проблема ещё в том что детские велосипеды ужасно тяжелые. Бывают 14-16 кг. Для ребенка который и 25 не весит это гигантские нагрузки, легкий фанерный или алюминиевый беговел лучше. И велосипед потом нужен легкий. Лучше меньше трети веса ребенка. Есть хороший рынок б/у.
Русский
3
0
4
228
Slava Egorov
Slava Egorov@mraleph·
@ASalvadorini @AymenMak84548 I think most of the stuff in the linked issue has landed under experimental flag and we are in discussion to remove the flag... though I am not sure how it helps in this particular case.
English
0
0
3
83