Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Dart IO libraries for files and network

Posted by Seth Ladd

Dart is targeted to both the client and the server, and the recent addition of IO libraries makes Dart on the server even more useful.

We'll integrate the IO libs into our docs very shortly, but until then here's a peak at what you will be able to do:
A chat sample is available, which includes a simple HTTP server and client code. We expect to bundle a more complete HTTP library in dart:io in the near future.

This is early stuff, but we're already using it to rewrite our test scripts from Python to Dart. Please try these new IO libraries with the Dart VM and let us know what you think.