Setup Love2D and Lua with coc.nvim

02 Oct 2025

I’ve been coding in Lua lately, mostly writing games using Love2D. Neovim already supports Lua well, as it’s the language used for writing its plugins, but I did install coc-lua for better completion, inline documentation and more linting support.

Continue reading →

How-to use strftime with setlocale

15 Aug 2025

Recently I was puzzled when I was attempting to use libc.strftime in Odin, trying to understand how to make it behave respecting the system localization setting.

Continue reading →

About Linux and library loading

19 May 2025

The Linux documentation project has a nice Program Library HOWTO explaining several concepts around libraries on Linux.

Continue reading →

Using libsndfile in Zig

24 Jan 2025

Continuing on my journey learning Zig and audio programming, and also making a good follow-up to the time I wrote Zig to manually generate a WAVE file, today I decided to generate a WAVE file using libsndfile.

Continue reading →

Parsing command-line args in Zig using only stdlib

24 Dec 2024

In my Zig learning journey, for some problems I have found the standard library documentation a bit too curt.

Continue reading →

Debugging Zig: with lldb and inside Neovim

10 Aug 2024

Today I learned how to use a debugger to debug Zig programs. The lldb way (gdb style) First, I learned how to use lldb, the debugger provided by the LLVM project.

Continue reading →

Debugging inside Neovim with nvim-dap and nvim-dap-ui

08 Aug 2024

Today I took some time to configure my Neovim with a plugin that I had recently bumped into: a the nvim-dap debug adapter and its UI nvim-dap-ui.

Continue reading →

Generate WAVE file in Zig, choosing the bit depth

04 Aug 2024

In the last post, I told you how I learned the basics of generating a WAVE file, both in Python and Zig.

Continue reading →

How to create a WAVE file

29 Jul 2024

Today I set out to learn how to create a WAVE file. I had recently gone through an article about reading and writing wave files in Python, which whet my appetite to do somewhat the same in Zig.

Continue reading →

Pratt parsing, aka top-down precedence parsing, aka precedence climbing

23 Jul 2024

Since last weekend I’ve been toying around implementing a calculator in Zig. One of my favorite algorithms I learned in college from my data structures classes were the shunting yard algorithm to parse and evaluate expressions, converting to the reverse Polish notation.

Continue reading →