Building a CLI tool with Go part II
In the previous article we’ve seen how to build a minimal CLI program to read files in the terminal using golang. Let’s see if we are able to taking things up a notch. We wil update our code for a little performance bump, and had a feature to read many files. Previously Last time we build a small program to read a file from disk and display the raw content in the terminal. While it’s OK to dump...
Building a CLI tool with Go
I started digging through the Golang programming language in 2023 and I really liked it. In fact, it’s really powerful and composable and modular, and in a sense more accessible than other low-level languages like Rust. We are far from the developer happiness that a programming language like Ruby is providing, yet I find it very pleasant to work with. There is a wide variety of packages and frameworks that make it a great candidate to build any kind of...
Your first CLI tool with Rust
In the wonderful world of programming, you may have heard about this new shiny language called Rust. It is an open-source systems programming language that focuses on speed, memory safety, and parallelism. It allows you to do low-level programming à la C/C++. You might have heard about it in the context of Web Assembly. Rust is capable to compile WASM applications, you can find a wide variety of use cases on the Web Assembly FAQ. It is also...