Initial Commit: Zig Build System

This is step 2 in my “Initial commit” series, which focuses on the Zig programming language. In this step, I will delve deeper into the Zig build process. I have been thoroughly testing and experimenting with the build step in Zig to explore its functionality and the extent of its capabilities. One of the many aspects of Zig’s build system that I find most intriguing is its ability to conditionally build a project, which allows for more flexibility in the development process....

May 15, 2023 · 10 min

Initial Commit: Zig

“Initial Commit” is a series of posts where I explore different topics that interest me. In this post, we will look at Zig. Recently, I overheard a conversation at work about the programming languages Rust and Zig. Later that evening, I stumbled across the Twitch streamer kristoff_it. Loris, the VP of Community in the Zig language, was working on auto-documentation for the Zig language, which caught my interest. So, I decided to look into it further....

May 5, 2023 · 10 min

Rust: Procedural Macros

Hello and welcome to the second part of our series on writing Rust macros! In this article, we’ll be focusing on procedural macros, which can help extend your functions. If you missed the first part of this series, don’t worry - you can find it here. If you’re not yet familiar with macros in Rust, I highly recommend checking out the first article where I explain them in an easy-to-understand way....

April 26, 2023 · 9 min

Rust: Declarative macros

Let’s discuss Macros. They are one of many features in Rust that help you write better software. Macros enable you to write concise, clear code and reduce repetition. Introduction Macros are not functions, but can be called as if they were. They help write less code efficiently and are a useful tool for Rust applications. Macros are a way of writing code that generates other code, known as metaprogramming. Metaprogramming is a way for a program to write or manipulate other programs....

February 11, 2023 · 11 min

Hello Rust

I started to write Rust in the autumn of 2022 and have loved it ever since, even if the learning curve is kinda steep but when you start to understand how the language works it is pretty easy to work with it. This is some stuff I’ve learned since I started to write Rust that I think is useful information. Short about Rust Rust is a highly flexible, type-safe, blazingly fast high-performance language without a runtime or garbage collector that can be used on a wide area of domains ranging from web to embedded....

February 1, 2023 · 12 min