Network programming with Java, Go, Python, Javascript, Rust and Julia
v0.6, 19 July 2020
An e-book on building network applications using
the Java, Go, Python, Javascript, Rust and Julia
programming languages.
This looks at how to do basic network programming
tasks in each of these languages.
The intention is that programmers will be able to compare
the languages and choose the most appropriate for their
tasks.
In writing this, I discovered the site
Rosetta Code
which is doing something similar, but on a much larger scale:
"The idea is to present solutions to the same task in as many different
languages as possible, to demonstrate how languages are similar and different,
and to aid a person with a grounding in one approach to a problem in learning another."
Cool!
Contents
PART 1: TCP/IP
-
Introduction (last modified v0.1)
-
IP (last modified v0.1)
-
TCP (last modified v0.1)
-
TLS (last modified v0.4)
-
UDP (last modified v0.3)
PART 2: Serialization
-
Text: Characters and Strings (last modified v0.2)
-
Serialization: General (last modified v0.3)
-
Serialization: JSON (last modified v0.3)
-
Serialization: Protocol Buffers (last modified v0.3)
PART 3: HTTP
-
HTTP (last modified v0.3)
-
HTTP Client (last modified v0.1)
- Resources
- Java
- Go
- Python
- Javascript
- Rust
- Julia
-
HTTP Server (last modified v0.1)
-
HTTPS (last modified v0.1)
- Resources
- Java
- Go
- Python
- Javascript
- Rust
- Julia
Copyright © Jan Newmarch, jan@newmarch.name
" Network Programming using Java, Go, Python, Rust, JavaScript and Julia"
by
Jan Newmarch
is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License
.
Based on a work at
https://jan.newmarch.name/NetworkProgramming/
.
If you like this book, please contribute using PayPal
Changes
version 0.6, 19 July, 2020
-
Rewrite of TLS general section
-
Rust added to TLS chapter
-
Tidy up of Java TLS section
version 0.5, 29 June, 2020
-
Rust added to UDP chapter
-
Menus restructured
version 0.4, 22 June 2020
-
Python and Go protocol buffers added
-
UDP for Java added
-
JSON serialisation for Go added
-
TLS chapter has Java and Go added
version 0.3, 3 June 2020
-
New chapters on serialization, Java only so far
version 0.2, 28 May 2020
-
Added TCP examples for Python
-
New chapter on Text: strings and characters
version 0.1, 23 May 2020
-
First created with chapters 1-3