2 ms·
Can you make Dart better for scripting / server side purposes? Batteries (a standard library) with the breadth of Python's or at least Go's would be handy.
by coldtea 12y ago
Can you make Dart better for scripting / server side purposes? Batteries (a standard library) with the breadth of Python's or at least Go's would be handy.
- simulacrum 12y agoI'm not affiliated with or using dart at all, but what do you think is missing?
- woven 12y agoAlso curious as to what you think is missing. In my experience, server side Dart is full featured and awesome. There are also the Shelf libraries (https://pub.dartlang.org/search?q=shelf https://pub.dartlang.org/search?q=shelf) – in time I plan to refactor to use them.
- sethladd 12y agoDart is great for scripting and server-side today. Check out https://api.dartlang.org https://api.dartlang.org for our core libraries... lots of good stuff in there (collections, async, networking, files, sockets, etc). And if you don't find what you're looking for, check out https://pub.dartlang.org https://pub.dartlang.org for third-party packages. Everything from crypto to game loops to graphics to frameworks to database drivers, etc. As for scripting, you can definitely use Dart for console scripts. You can write really simple scripts with just functions. You can read stdio and stdout. (you can even do it synchronously, which is much easier for console scripts :)