Zurl - HTTP Request tool written in Zig


Zurl is a command-line tool written in Zig, designed to provide a simplified interface to perform HTTP requests, inspired by the functionality of curl. Motivation When building/testing APIs I often find myself executing a lot of api calls, multiple times, with different parameters, managing authentication manually and a lot of other funny things. Usually I use curl and postman but I find the last one faster due the fact that I can save the requests, execute them with just one click, managing enviroments variables (things such as host, apikey …) and use scripts to automate the authentication via pre-request scripts (there is a lot of dark magic you can achieve with pre-request script).…
Read more ⟶

Learning Zig and Bitcoin - Part 2 (BIP 38)


BIP 38 BIP 38 propose a method for encrypting and encoding a passphrase protected Bitcoin private key. This method use scrypt to resist brute force attack. This method propose two encoding metodologies, but I’m going to focus only on the one that permit any private key to be encrypted with any passphrase without using the EC multiplication. You can read more about BIP 38 here in particular you can find the steps of what I’ve implemented here…
Read more ⟶

Learning Zig and Bitcoin - Part 1


During this summer holidays I decided I want to learn both Zig and Bitcoin. I’m starting this series of posts both to talk about my path in learning Zig and Bitcoin, share my impressions and my knowledge and talk about the project I’m building. What is Zig? Zig is a general purpose programming language that is intended to be a replacement for the C programming language. The main features I love about Zig are: explicit compile-time evaluation, no macros, no hidden control flows, errors management, no hidden allocations, cross compiling toolchain and inversion of control for memory allocations.…
Read more ⟶

Mi sono laureato


Il 16 Giugno 2023 mi sono laureato in Statistica e Big Data, presso l’uniersità Mercatorum. Mi sono diplomato nel 2015, presso l’istituto tecnico Pino Hensemberger in informatica e telecomunicazione. Dopo il diploma, principalmente a causa delle disponibilità economiche, ho dovuto subito iniziare a lavorare. Ho iniziato con uno stage nel dipartimenti IT e dopo 4 mesi, un nuovo stage come software developer (fullstack web developer). Lavoravo in una piccola società, una web agency, dove ho imparato tantissimo e lavorato su tanti progetti diversi.…
Read more ⟶