Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Dart is still mostly for Flutter, but we're seeing it move into the server side as well with projects like Serverpod and Dart Frog.
I've been writing a CLI in Dart. It's such a good language now for stuff like this. You can compile to a small binary (it seems comparable to a Go binary in size and speed - though Go has an edge on speed it's not very far ahead), the test framework is so simple and easy and just gets out of your way... it's really been excellent. I highly recommend Dart (having written stuff in Java, Kotlin, Go and others) for CLIs. What I built is mostly based on my Dartle package, which is a task runner you can use both to build Dart code itself and to write task-based stuff like build tools - which is why i also wrote jb using it, a Java build system I am still finalizing (on top of my Java project, JBuild). I hope to one day write even a Flutter app for it.
I've been writing a CLI in Dart. It's such a good language now for stuff like this. You can compile to a small binary (it seems comparable to a Go binary in size and speed - though Go has an edge on speed it's not very far ahead), the test framework is so simple and easy and just gets out of your way... it's really been excellent. I highly recommend Dart (having written stuff in Java, Kotlin, Go and others) for CLIs. What I built is mostly based on my Dartle package, which is a task runner you can use both to build Dart code itself and to write task-based stuff like build tools - which is why i also wrote jb using it, a Java build system I am still finalizing (on top of my Java project, JBuild). I hope to one day write even a Flutter app for it.