Monday, June 13, 2016

How to build a client-library in a programming language of your choice.

Recently I've finished the alpha version of a library-client in Rust for IMAP protocol. It's available at github at https://github.com/GildedHonour/atarashii_imap

If you wanted to create the same kind of client library for another protocol, say, FTP, how would you go about it? Here's the steps.

1) Pick a programming language.

2) Find the libraries that have already been implemented for FTP in this language. Examine them. Are they big? How much time will need to build your library? Can you beat them?

3) Do the same thing but for the libraries in other programming languages.

4) Grab the specification of FTP. Usually most of the network specifications can be found at https://tools.ietf.org After you've gotten it, read it.