Hacker News new | ask | show | jobs
by coldtea 4127 days 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.
3 comments

Dart is great for scripting and server-side today.

Check out 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 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 :)

Also 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) – in time I plan to refactor to use them.
I'm not affiliated with or using dart at all, but what do you think is missing?