build
moor
Our great sponsors
build | moor | |
---|---|---|
7 | 7 | |
763 | 149 | |
0.9% | - | |
7.8 | 9.7 | |
23 days ago | about 1 month ago | |
Dart | Rust | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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.
build
-
How to create a generator package
The official documentation is here. It's not very beginner friendly. Therefore, it might be easier to look at the examples.
-
Source code gen in Flutter & Dart: How to create a builder to generate SQL code
In the first part of this series of posts, we discussed how Flutter and -Dart in general- makes use of builders to generate source code during the build process.
- Generating interfaces from configuration file
-
Source code generation in Flutter & Dart (Part 1): Reflection and code gen
build: "Defines the basic pieces of how a build happens and how they interact."
-
Incidences App
build_runner
-
Why Flutter is the most popular cross-platform mobile SDK
Having spent about 6 months each with SwiftUI and Flutter I vastly prefer working with Flutter. Swift is a far more ambitious language but really doesn't live up to it's own marketing. Many of the features are half down (generics and protocols are both full of holes). Dart on the other hand doesn't have half as many nice features but the one's that are there are rock solid. Reified generics in particular is far nicer to work with (Swift's compiler gets regularly gets lost on type resolution and then doesn't give you any way to give it hints). Dart also seems to be heading in the right direction. It's added null safety and the upcoming metaprogramming features should fill in many of the gaps that are currently filled by the very practical but clunky https://pub.dev/packages/build.
-
Any good practices / articles / examples for a program written in dart capable of plugins?
I am one of the authors of the build package (https://github.com/dart-lang/build) which does effectively expose a plugin system. We take the approach of creating a wrapper script that actually just generates the real program (adds imports to the plugins, registers them, etc) and then it just runs that program. There are several downsides to this approach though (primarily, slow startup).
moor
-
Gleam
I think Haskell or OCaml would do a better job on the ADTs for a parse tree. When doing this, I found Rust's enums... anemic... and got very annoyed by the awkwardness of having to Box recursive types. I was reaching for the ability to continue to be able to pattern match on nodes while attaching common attributes (line numbers, etc.) and ended up having to bury everything 1 level deep in a struct which ended up feeling awkward.
That and Rust's iterators are terrible at introducing ownership agony.
In any case, I've ... done it (https://github.com/rdaum/moor/blob/main/crates/compiler/src/...) but can't say I liked it.
I do really like "pest" as a parser generator though.
- Show HN: I rewrote the 1990's LambdaMOO server from scratch
-
I rewrote 1990's LambdaMOO from scratch on a new foundation.. with the intent of a new system for tomorrow...
See: https://github.com/rdaum/moor
- Evennia a MUD/Mu* Creation System
-
LambdaMOO Takes a New Direction (1992)
I've been working on a rewrite of the server into Rust, for kicks: https://github.com/rdaum/moor
Unfortunately still lots of work there to be done, and I have no time.
What are some alternatives?
packages - A collection of useful packages maintained by the Flutter team
floor - The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications
flutter_phoenix - Easily restart your application from scratch.
Hive - Lightweight and blazing fast key-value database written in pure Dart.
flutter_file_picker - File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
tinyfugue - TinyFugue - Rebirth
rxdart - The Reactive Extensions for Dart
mudmixer - MUDMixer is an add-on for MUD clients that enriches the gaming experience with connection mixing functionality and a variety of other features.
encrypt - 🔒 A set of high-level APIs over PointyCastle for two-way cryptography.
gleam-otp-design-principals - Gleam OTP Design Principles User's Guide
appwrite_incidence_employe
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.