dart_eval
hydro-sdk
dart_eval | hydro-sdk | |
---|---|---|
9 | 13 | |
297 | 666 | |
- | -0.2% | |
8.8 | 0.0 | |
15 days ago | 4 months ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" 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.
dart_eval
-
Is it possible to create Android apps using Rust?
...which is what xml_layout and dart_eval are there for. However, at that point I wouldn't call it "writing Flutter applications in Rust" any more (which of course is just a subjective interpretation).
-
dart_eval v0.6: The Dart interpreter for Dart now with support for dart:io, permissions, Streams, try/catch, and much more
I also want to note that dart_eval now has over 100 tests running in CI! If you're interested in contributing to the project, writing even more tests might be one of the easier places to start - head on over to the GitHub repo and don't be shy to ask any questions.
-
Executing dart code at runtime
Check out dart_eval
-
Question regarding dart
I learned about this because I wrote dart_eval lol. I'm sure there is a less time-consuming way, maybe some intro to programming tutorials would teach it. But tbh I don't think it's critical to know to be a good programmer.
-
Introducing flutter_eval, one large step towards seamless Flutter code push
I've been working for a few years now on dart_eval, the pure-Dart interpreter for Dart with a focus on interop (that's also now super fast :D). While dart_eval has technically been usable in Flutter apps for a while, actually doing so was pretty painful and definitely didn't meet the ultimate goal of enabling simple, automatic code push.
-
Introducing dart_eval v0.2: the Dart interpreter for Dart now up to 350x faster with bytecode, support for multiple files, type inference, async/await, new code push features, and the world's fastest Dart compiler
Maintaining this support was of course a high priority and it's also received a full rewrite, making it both easier to use than ever and also with a significantly reduced performance cost. Of course interop performance will still be better using wrappers if you don't need to extend the class, and code push support continues to evolve with the addition of runtime overrides (see previous link).
-
Introducing dart_eval, an extensible Dart interpreter in pure Dart, enabling code push for AOT apps
If you want to understand how it works, I think a good place to start learning would be to learn about how programming languages work in general - like what is a 'declaration' vs 'expression' vs 'statement' and then maybe see if you can understand the contributing document?
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
What are some alternatives?
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
chimera_flutter_code_push - This repository has been migrated.
flutter_eval - Code push for Flutter, powered by dart_eval
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
android_rust_service - Android App with foreground service using Rust Native Libraries
freezed - Code generation for immutable classes that has a simple syntax/API without compromising on the features.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
bullseye - [WIP] A pure functional language that compiles to Dart.
dart-petitparser - Dynamic parser combinators in Dart.
xamarin-forms-samples - Sample apps built using the Xamarin.Forms framework