language

Design of the Dart language (by dart-lang)

Language Alternatives

Similar projects and alternatives to language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better language alternative or higher similarity.

language reviews and mentions

Posts with mentions or reviews of language. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-17.
  • Why do we have to put the const keyword in Flutter?
    1 project | /r/FlutterDev | 6 Dec 2023
  • Playing around with Extension Types
    1 project | /r/FlutterDev | 26 Oct 2023
    I noticed that I can enable inline-class as an experiment to play with Extension Types. You need to also add sdk: ^3.3.0-0 to your pubspec.yaml.
  • Entendendo Algoritmos: Recursão
    1 project | dev.to | 20 Oct 2023
  • Dart 3.1 and a retrospective on functional style programming in Dart
    7 projects | news.ycombinator.com | 17 Aug 2023
    Current syntax is not all that bad if you are going to do OO and add various helper methods on `Message` and its subclasses, but if 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

  • Macro example for Flutter widgets
    1 project | /r/FlutterDev | 3 Jul 2023
    Reference
  • HTML template languages?
    4 projects | /r/dartlang | 6 Jun 2023
    A future version of Dart will probably support macros which should make this all a bit easier to use, similar to how Swift 5.9 works which makes already fantastic use of its new macro capabilities by integrating mobx (or solidjs) like reactivity into SwiftUI by a harmlessly looking @Obervable annotation.
  • What’s New in Swift 5.9?
    1 project | news.ycombinator.com | 6 Jun 2023
    Coming from a Dart context here where that team is also looking at adding 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...
  • Build clean & concise UI components with Flutter similar to styled-components in React Native
    2 projects | /r/FlutterDev | 6 Jun 2023
    Yes, that needs a bit of boilerplate for the constructor declaration and the extra build method, but I personally don't mind and with implicit constructors this will become much easier. Also, you get a performant UI as Flutter knows to not redraw widgets that didn't change.
  • A Guide to State Management in Flutter | Mobile App Development
    1 project | /r/FlutterDev | 6 Jun 2023
    I know that it would be nice not to use the generator at all, but we have to wait until static metaprogramming is implemented in dart. https://github.com/dart-lang/language/issues/1482
  • Why is Swift so slow (timeout) in compiling this code?
    5 projects | news.ycombinator.com | 30 May 2023
    I implemented a prototype version of the algorithm in that paper when exploring exhaustiveness checking for pattern matching in Dart.

    I found it pretty easy to understand, but also really easy to get it to generate huge combinatorially large spaces. Some careful memoization and deduplication helped, but even so I never got the performance to a state I considered acceptable.

    Instead, I went with Luc Maranget's classic approach and figured out a way to adapt it to a language with subtyping (with 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 make pattern matching go combinatorial, but I haven't seen any real-world switches get particularly slow with our approach yet, and we have some fairly large tests of matching on tuples of enums.

  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic language repo stats
146
2,548
8.9
7 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com