Hacker GitHub

← All repos

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

Mentions per year 64 mentions · busiest year 2024 (14)
20082026
  1. Dart is also absolutely fantastic in this regard. https://github.com/dart-lang/language https://github.com/orgs/dart-lang/projects/90/views/1
  2. …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
  3. …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
  4. ▲ 4
    Macros in the Dart Programming Language
    story by fanf2 · 2025-04-27 · 1 comment
  5. …syntax[1]), except Rust doesn't have that because of its headlong pursuit of 'conciseness'. - [1] https://github.com/dart-lang/language/issues/2181
  6. ▲ 2
    Macros in Dart
    story by todsacerdoti · 2024-12-02 · 0 comments
  7. …JS and Dart. Considering your involvement with Dart, I find contradictory information [1]. [1] - https://github.com/dart-lang/language/issues/1461
  8. …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
  9. ▲ 3
    Shared Memory Multithreading for Dart
    story by tosh · 2024-10-04 · 1 comment
  10. …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
  11. …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
  12. ▲ 2
    Shared Memory Multithreading for Dart (Proposal)
    story by mdhb · 2024-09-19 · 0 comments
  13. …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#
  14. ▲ 4
    Shared Memory Multithreading for Dart
    story by markdog12 · 2024-06-13 · 1 comment
  15. 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
  16. …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
  17. 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
  18. 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
  19. This is the actual spec: https://github.com/dart-lang/language/blob/main/working/macr... Not really sure what the linked repo is about.
  20. …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
  21. …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...
  22. 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?…
  23. …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
  24. …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?
  25. …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…
  26. …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...
  27. ▲ 1
    Dart lang is still missing union types
    story by Alifatisk · 2023-03-21 · 0 comments
  28. …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
  29. …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
  30. …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
  31. Pattern Matching looks good too ! https://github.com/dart-lang/language/blob/master/accepted/f...
  32. …instantaneous hot code reloading being quite amazing -- a bizarre mix of promise and despair. [1] https://github.com/dart-lang/language/blob/master/resources/...
  33. …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:…
  34. …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...
  35. …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...
  36. 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
  37. …say coming from a Ruby background previously. Here is the section on pattern matching specifically https://github.com/dart-lang/language/tree/master/working/05... and this is the design spec itself https://github.com/dart-lang/language/blob…
    comment by mhoad · 2022-05-12 · in Flutter 3
  38. …We are also working on support for pattern matching and algebraic datatype-style programming: https://github.com/dart-lang/language/blob/master/working/05... I say "style" here because object-oriented languages like Dart can already mostly…
    comment by munificent · 2022-05-11 · in Flutter 3
  39. …actually use it much, hating on it). [1] https://medium.com/dartlang/dart-2-17-b216bfc80c5d [2] https://github.com/dart-lang/language/issues/1482
    comment by brabel · 2022-05-11 · in Flutter 3
  40. …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)
  41. ▲ 1
    Dart: Patterns Feature Specification (in progress proposal)
    story by burakemir · 2022-03-04 · 0 comments
  42. …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
  43. 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
  44. …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
  45. …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
  46. …next batch of features, which with luck includes pattern matching. Here's an in-progress proposal: https://github.com/dart-lang/language/blob/master/working/05...
    comment by munificent · 2021-03-04 · in Flutter 2
  47. 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?
  48. …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?
  49. …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
  50. 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