Goroutines and channels

One of Go’s initial design requirements was to make it easy to create multi-threaded applications. While many languages support multi-threading, it’s not always easy to implement. Go wanted to make it easy to do this. Consider the following code where it runs sequentially. If you run this, every function call to PrintHello() has to complete…

Working with Maps in Go

Working with a Map in Go is like Dictionaries in Python, or Maps in Java. A Map stores information as key/value pairs. This is a nice thing about data structures, they are often found in other languages. Defining the Map When you define one in Go, you need to define the variable as a type…

Installing Ruby

Installing Ruby is relatively simple. There is an install page as part of the Ruby documentation: https://www.ruby-lang.org/en/documentation/installation/ While they would prefer you to have a Unix, or Unix like environment, you can scroll down to find the best way to install this language runtime software. I personally went to the Ruby Installers section of the…

Overview of Ruby

Ruby is a high-level, interpreted programming language that was designed to make coding as enjoyable as possible. Created by Yukihiro Matsumoto in the mid-1990s, Ruby prioritizes readability, simplicity, and productivity. The language is dynamically typed, object-oriented, and often praised for its clean, expressive syntax, which resembles natural language. Ruby is particularly popular in web development,…

About Rust

Rust is a systems programming language that’s designed to combine safety, speed, and concurrency. Created by Mozilla in 2010 and currently maintained by the Rust Foundation, Rust aims to overcome some of the biggest challenges faced by programmers in languages like C and C++. Its primary goal is to eliminate common programming errors like null…