My First Rust Program - A Web Server Using Nickel.rs and rust-postgres
Rust is a new programming language, from Mozilla, which appeared on my radar recently.
I wanted to get my feet wet by writing a basic HTTP server that could read and write data from a database, and here is my first attempt: nickel-postgres
There are many things that I would like to improve about it - (see the numerous //TODO
comments) - but I thought I would share my rookie attempt!
Many thanks to Steve Fackler, author of rust-postgres, for giving me a couple of pointers in the right direction.
Excited to see people building stuff upon nickel.rs and blog about it. http://t.co/PDN5spSKH5 #rustlang #Rust
— Christoph Burgdorf (@cburgdorf) August 3, 2014