dart-lang/language
View on GitHub ↗ ★ 2,941 TeX
Design of the Dart language
64 mentions on Hacker News by 32 people: 7 stories, 57 comments · first 2018-11-15 · latest 2025-07-19
20082026
-
Dart is also absolutely fantastic in this regard. https://github.com/dart-lang/language https://github.com/orgs/dart-lang/projects/90/views/1
comment by mdhb · 2025-07-19 · in C# Language Design Meeting for June 30th, 2025 -
…match statement different??), this very annoying issue that I see remains unsolved after 5 years: https://github.com/dart-lang/language/issues/1188
comment by IshKebab · 2025-07-02 · in Show HN: I made a 2D game engine in Dart -
…a lot of additional help from a teammate to handle generics), that became the algorithm we shipped: https://github.com/dart-lang/language/blob/main/accepted/3.0... It wouldn't have happened if I hadn't coincidentally been working on a toy…
comment by munificent · 2025-06-24 · in Writing toy software is a joy -
…syntax[1]), except Rust doesn't have that because of its headlong pursuit of 'conciseness'. - [1] https://github.com/dart-lang/language/issues/2181
comment by Defletter · 2025-03-24 · in Rust Additions for GCC 15 Bring Support for If-Let Statements -
…JS and Dart. Considering your involvement with Dart, I find contradictory information [1]. [1] - https://github.com/dart-lang/language/issues/1461
comment by gagaq · 2024-10-21 · in Skeptical of rewriting JavaScript tools in "faster" languages -
…on an immutable snapshot of data so that exhaustiveness can't be violated by side effects. Spec: https://github.com/dart-lang/language/blob/main/accepted/3.0...
comment by munificent · 2024-10-21 · in The Ultimate Conditional Syntax -
…to implement this which should start putting it into an different category of language entirely. https://github.com/dart-lang/language/blob/main/working/333%...
comment by mdhb · 2024-10-04 · in Go Concurrency vs. RxJS -
…code generation. 5. Potentially looking at bringing Shared Memory Multithreading to the language https://github.com/dart-lang/language/blob/2662d252b7fa93175... 6. Also some early work on a bytecode compiler it seems but I’ve not seen any…
comment by mdhb · 2024-09-28 · in REPL for Dart -
…cases like these: https://github.com/pocketbase/dart-sdk/blob/master/lib/src/a... Related issue: https://github.com/dart-lang/language/issues/83
comment by Alifatisk · 2024-08-07 · in Official proposal for Type Unions in C# -
For now but this is in the pipeline too. https://github.com/dart-lang/language/blob/main/working/333%...
comment by mdhb · 2024-06-11 · in Swift Static Linux SDK -
…means you can attach different virtual behavior to every member of the sealed class family. [1]: https://github.com/dart-lang/language/issues/3021
comment by mraleph · 2024-03-06 · in Embedded Swift on the Raspberry Pi Pico -
It also may be getting shared multithreading and related features: https://github.com/dart-lang/language/blob/15ab39175ee00fe88...
comment by markdog12 · 2024-01-31 · in Dart/Flutter now has macros/metaprogramming -
Examples right in language repo: https://github.com/dart-lang/language/tree/main/working/macr...
comment by markdog12 · 2024-01-31 · in Dart/Flutter now has macros/metaprogramming -
This is the actual spec: https://github.com/dart-lang/language/blob/main/working/macr... Not really sure what the linked repo is about.
comment by mikenew · 2024-01-30 · in Dart/Flutter now has macros/metaprogramming -
…at a macro level and have really strong levels of transparency around how the language is developed https://github.com/dart-lang/language Honestly I think it’s critically under-rated and under-used. Most of its common criticisms I see…
comment by mdhb · 2023-09-17 · in Java 21 makes me like Java again -
…record fields there are. Figuring that all out was quite the challenge! The full design is here: https://github.com/dart-lang/language/blob/main/accepted/3.0...
comment by munificent · 2023-08-17 · in Dart 3.1 and a retrospective on functional style programming in Dart -
This doc was updated 3 weeks ago? https://github.com/dart-lang/language/blob/main/working/macr... > This could've eliminated so much sickening codegen. Also this is funny because what do you think static metaprogramming is if not codegen?…
comment by mathisfun123 · 2023-08-17 · in Dart 3.1 and a retrospective on functional style programming in Dart -
…you just want to define your data and no behavior / helpers - then it is exceedingly verbose. [1]: https://github.com/dart-lang/language/issues/3021
comment by mraleph · 2023-08-17 · in Dart 3.1 and a retrospective on functional style programming in Dart -
…Macros to the language. It was really interesting to compare and contrast some of the approaches https://github.com/dart-lang/language/blob/main/working/macr...
comment by mhoad · 2023-06-07 · in What’s New in Swift 5.9? -
…a ton of work from Johnni Winther to figure out all of the hard complex cases around generics): https://github.com/dart-lang/language/blob/main/accepted/fut... The performance (in the prototype!) was dramatically better. You can always…
comment by munificent · 2023-05-30 · in Why is Swift so slow (timeout) in compiling this code? (2022) -
…sad more focus is given to things like WebAssembly when the core of Dart/Flutter is lacking. [1] https://github.com/dart-lang/language/blob/main/accepted/fut... [2] https://github.com/dart-lang/language/blob/main/working/exte...
comment by TobyTheDog123 · 2023-05-10 · in Google’s Flutter expands its support for web apps and WebAssembly -
…human-centered process so often the right answer is just what feels right to the most people. [1]: https://github.com/dart-lang/language/blob/master/accepted/f...
comment by munificent · 2023-03-21 · in Java 20 / JDK 20: General Availability -
…in Dart. But if that doesn't work, the proposal for augmentation libraries would probably help: https://github.com/dart-lang/language/blob/master/working/au... I'm glad you're enjoying Dart!
comment by munificent · 2023-02-04 · in Flutter desktop isn’t there yet -
…that's not already covered by how it does web support anyway, ie drawing inside a canvas? [0] https://github.com/dart-lang/language/issues/2697
comment by satvikpendem · 2022-12-08 · in The road to Dart 3: A fully sound, null safe language -
Pattern Matching looks good too ! https://github.com/dart-lang/language/blob/master/accepted/f...
comment by truth_seeker · 2022-12-08 · in The road to Dart 3: A fully sound, null safe language -
…instantaneous hot code reloading being quite amazing -- a bizarre mix of promise and despair. [1] https://github.com/dart-lang/language/blob/master/resources/...
comment by virtualwhys · 2022-12-03 · in Show HN: Programming Google Flutter with Clojure -
…if we are talking about these specific features this is a good place to start Here is the intro: https://github.com/dart-lang/language/blob/master/accepted/f... Here is the spec of what they are currently implementing:…
comment by mhoad · 2022-11-15 · in Why doesn't flutter.dev use flutter as their front end? -
…there is a category on the issue tracker for design discussions related to patterns and records: https://github.com/dart-lang/language/issues?q=is%3Aissue+is...
comment by munificent · 2022-07-19 · in Carbon Language: An experimental successor to C++ -
…contraire! We're actively investigating them here on the Dart team. We're finalizing the spec here: https://github.com/dart-lang/language/blob/98335746fb7f2dedf...
comment by timsneath · 2022-07-19 · in Carbon Language: An experimental successor to C++ -
And it's getting patterns too: https://github.com/dart-lang/language/tree/master/working/05...
comment by markdog12 · 2022-05-14 · in Java record pattern matching in JDK 19 -
…on optional semi-colons [1], and the author's own comment on the subject in an HN thread [2] [1] https://github.com/dart-lang/language/issues/69 [2] https://news.ycombinator.com/item?id=22706645
comment by virtualwhys · 2022-03-05 · in The hardest program I've ever written (2015) -
…Google wanted Dart to replace JavaScript, and still you can't express an object's interface in it. https://github.com/dart-lang/language/issues/783
comment by mikewhy · 2022-02-12 · in All you should know about Flutter development -
I got bitten by this unsoundness which looks like to be present in Dart 2 as well https://github.com/dart-lang/language/issues/753
comment by kuyp · 2021-11-13 · in Why asynchronous Rust doesn't work -
…a bit more functional in practice). Considering what people are asking to add to the language ( https://github.com/dart-lang/language/blob/master/working/05... ), I wish people would start with a minimal functional language (Caml/SML…
comment by Zababa · 2021-09-19 · in Write in JavaScript, Render in Flutter -
…on, you can just swap out the old language feature (as a package) and swap in the new one. [0] https://github.com/dart-lang/language/issues/1482
comment by satvikpendem · 2021-09-19 · in Write in JavaScript, Render in Flutter -
Dart is looking at adding pattern matching and "record" types: https://github.com/dart-lang/language/tree/master/working/05...
comment by markdog12 · 2020-12-08 · in Why nullable types? -
…are curious that Dart is looking at adding pattern matching, since it's mentioned in the article. https://github.com/dart-lang/language/tree/master/working/05... @munificent, not sure if that's the link you'd want.
comment by markdog12 · 2020-12-07 · in Why Nullable Types? -
…and hopefully with the release of null safety, the team will have the time to implement ADTs! [0] https://github.com/dart-lang/language/issues/349
comment by eat_veggies · 2020-07-26 · in Understanding null safety in Dart -
newtype dart proposal: https://github.com/dart-lang/language/blob/master/working/st...
comment by markdog12 · 2020-07-25 · in Understanding null safety in Dart -
…classes, first class functions, everything's an object, duck typing with noSuchMethod, etc. [1] https://github.com/dart-lang/language/issues/110
comment by mythz · 2020-05-13 · in React Native for Windows and Mac -
As for nulls, non-nullability is currently in the works: https://github.com/dart-lang/language/blob/master/accepted/f...
comment by thosakwe · 2020-03-01 · in Flutter and Dart, or how to quickly build a mobile app without losing your hair -
> they still made every single type nullable NNBD is almost here: https://github.com/dart-lang/language/blob/master/accepted/f...
comment by wstrange · 2020-03-01 · in Flutter and Dart, or how to quickly build a mobile app without losing your hair -
…available that would give an idea as to when x, y, z language features may be implemented? [1] https://github.com/dart-lang/language/issues/546
comment by virtualwhys · 2019-11-06 · in TypeScript 3.7 -
…formatted as a paragraph in the final document. This allows for better diffs. Here is an example: https://github.com/dart-lang/language/blob/master/specificat...
comment by ultraism · 2019-10-24 · in US Constitution – A Git repo with history of edits -
…believed [0] that not having non-nullable types was a mistake in Dart 1.0. We are fixing it now: https://github.com/dart-lang/language/blob/master/working/01... There's a lot of work to do, but I'm really excited with the design. Unlike…
comment by munificent · 2019-04-25 · in Flutter desktop shells -
…they are working on adding many other language features, including NNBD (Non-null by default). https://github.com/dart-lang/language/issues
comment by markdog12 · 2019-04-25 · in Flutter desktop shells