Advantage of Rust language: Amazing run speed Enables fine grain features such as rich patterns, syntax extensions, and novel embeddings. Interoperable with C, and FFI, amongst others. Zero-cost abstraction Predictable runtime behaviour Saves crashing, debugging time. Disadvantage of Rust language: Learning Rust is steeper than Go Between Go vs Rust, it is slow to compile It is slower […]
Install GoLang on Linux
First as root install GO1.1. Goto /usr/local1.2 Make go folder and cd to it1.3 Issue the wget command depending of the CPU you have $ wget -c https://golang.org/dl/go1.15.2.linux-amd64.tar.gz [64-bit] $ wget -c https://golang.org/dl/go1.15.2.linux-386.tar.gz [32-bit] 1.4 extract the tar archive files into /usr/local directory using the command sudo tar -C /usr/local -xvzf go1.15.2.linux-amd64.tar.gz Configuring GoLang Environment in Linux […]
How to Create a Simple Telegram Bot using GoLang
1. First we create our bot using BotFather. We set the name, the username and we receive a token. 2. We test the bot registration by writing in browser’s command line: or in a terminal: 3. We set for our bot a cool profile picture as well as an accurate description of what it does. […]
Learn Go
Learn Go in 12 Minutes Tutorial Description Getting started Say Hello, World with Go. Create a module A multi-part tutorial that introduces common programming language features from the Go perspective. A Tour of Go An interactive introduction to Go: basic syntax and data structures; methods and interfaces; and Go’s concurrency primitives. GolangBot Go by Examples […]