hydro-sdk
freezed
Our great sponsors
hydro-sdk | freezed | |
---|---|---|
13 | 43 | |
666 | 1,810 | |
0.0% | - | |
0.0 | 9.0 | |
4 months ago | 2 days ago | |
Dart | Dart | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hydro-sdk
-
What are the chances that React Native drops the whole bridge thing, and instead it rendered the UI similarly to how Flutter does with Skia? This would improve performance and would make custom UIs much easier to build.
There is already a project trying to bring Typescript into Flutter, but its on early development: https://github.com/hydro-sdk/hydro-sdk This will also probably create many extra pains for developers since existing Dart packages would have to be wrapped.
-
possible to ship binary package?
It's probably vastly more trouble than it's worth, but you could technically write the package in Typescript and use Hydro SDK to compile it to Lua bytecode that can run on the Dart VM with Flutter bindings, then distribute that bytecode with a package that wraps the Hydro API.
-
Bachelors Thesis Ideas
As an open source author, I've been thinking about some general and domain specific optimizations https://github.com/hydro-sdk/hydro-sdk/issues/797 I'd love to chat if OP has time.
- Drop down your Github repos if you think you have projects that are interesting and need stars.
-
Decoupling the Development Time Experience of Flutter from the Dart Programming Language
In terms of interoperability, the short answer is mostly-yes. Any Dart code can be made to interoperate with code written using Hydro. Taking an existing Dart package and making it useable from Hydro is automated. The tooling isn't quite ready for prime time (nor is the entire SDK) https://github.com/hydro-sdk/hydro-sdk/tree/master/lib/swid
-
Introducing dart_eval, an extensible Dart interpreter in pure Dart, enabling code push for AOT apps
Hydro-SDK has a small Dart-like language built into it to support binding generation (https://github.com/hydro-sdk/hydro-sdk/tree/master/lib/swid/frontend/swidi).
-
Programmatically Refactoring Dart Code?
The analyzer API is enormous. I've had a lot of success using the analyzer API, but abstracting over it with my own ASTs that can be manipulated and transformed (https://github.com/hydro-sdk/hydro-sdk/tree/master/lib/swid) and using code builder (https://github.com/dart-lang/code_builder) to emit Dart code.
- .NET MAUI: .NET Multi-Platform App UI
- Embedding Dart
-
Eight years ago, I wrote a Ruby parser in Dart which I recently rediscovered and now ported to sound null-safety. With < 1000 LoC for the parser plus 1000 LoC to transpile Ruby to Pseudo-Dart it might be an interesting example. For fun, I added a simple evaluator that only supports the fibonacci fn.
I've been having a lot of fun writing a compiler in Dart (in a pure functional style, with pattern matching and sum types!) over here https://github.com/hydro-sdk/hydro-sdk/tree/master/lib/swid
freezed
-
Dart 3.3
There is the `sealed` class modifier which allows for exhaustive matching on possible types: https://dart.dev/language/class-modifiers#sealed
There's also a package called freezed which offers similar utility (you might already be familiar with this seeing as you mentioned pattern matching): https://pub.dev/packages/freezed
I recall there being a reason unions aren't generally implemented, though I'm not sure where I read it. It was to do with union types being unnecessarily complex for the compiler and the code they tend to produce, at no real benefit to the programmer or the resulting program. Go's lack of unions is essentially based around the same reasoning.
-
Fluvera is a Flutter SDUI package designed to simplify the process of building user interfaces (UIs) based on JSON server responses.
Interesting. May I ask how this differs from something like Freezed https://pub.dev/packages/freezed and its from/ToJson features ? I haven't used it yet, but I'm just curious about the concept and use of these sort of packages.
-
Dart 3.0: Best New Features & Why You Should Care
The official site does show what you can use it for but to explain a bit more, it helps you work faster.
-
🎉 Introducing MODDDELS: A Powerful Package for Robust, Self-Validated Models in Flutter & Dart
One rather minor suggestion: it took me a while to understand exactly what the benefits were, but the example shown on this page of the docs summarized it well. I would suggest showing an example like that at the top of the main Readme and first page of the site, before or right after the motivation section, similar to how Freezed immediately shows its value proposition.
-
Maximizing Your Flutter App's Performance with (Async)NotifierProvider, Freezed & Riverpod Code Generators
Read more on what you can do with Freezed.
-
Class Constructor Plugins- Are there any?
freezed on pub.dev
-
Firestore partial doc updates and type safety
We use freezed for our models, and then use withConverter in the firestore SDK to easily translate between firestore and our models... however we run into issues with concurrent updates to documents.
-
🚀 Building a Fullstack App with dart_frog and Flutter in a Monorepo - Part 2
Once the package has been created, we will install freezed for JSON serialization and value equality , as this library provides helpful tools for these tasks. We will use json_serializable for JSON serialization. To install freezed and freezed_annotation, open your terminal inside the models package and use the command:
-
Flutter Production Boilerplate and tutorials on Medium
Data class: freezed
-
Is 'Freezed' code generator worth the boilerplate?
I've recently been exploring a codebase which is heavily using Freezed with Bloc. The resulting code base is almost an entirely different language altogether, and comes with almost triple the files of a non-freezed codebase.
What are some alternatives?
chimera_flutter_code_push - This repository has been migrated.
json_serializable.dart - Generates utilities to aid in serializing to/from JSON.
dart_eval - Extensible Dart interpreter for Dart with full interop
bloc - A predictable state management library that helps implement the BLoC design pattern
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
dart-petitparser - Dynamic parser combinators in Dart.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
flutter-fake-data-factory-pattern
Comet - Comet is an MVU UIToolkit written in C#
language - Design of the Dart language