My handcrafted blog

Written from scratch in Go because I'm too lazy to read the Hugo docs.

Code syntax highlighting available!

After almost two years without updating this blog, I have changed the Markdown processor from Blackfriday to Goldmark, which includes an extension to highlight the code syntax according to the Alec Thomas' Chroma engine and styles.


Go functions: returning structs vs pointers

Despite copying a struct with several fields is slower than copying a pointer to the same struct, returning a struct value may be faster than returning a pointer if we consider escape analysis particularities.


Some instructions on using this blog

This post briefly explains how the blog is organized, and how to create new posts and templates.


Playing around with some markdown contents

Image


First post!!

This is the first post of my great blog.