Setup Love2D and Lua with coc.nvim
02 Oct 2025I’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.
How-to use strftime with setlocale
15 Aug 2025Recently 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.
About Linux and library loading
19 May 2025The Linux documentation project has a nice Program Library HOWTO explaining several concepts around libraries on Linux.
Using libsndfile in Zig
24 Jan 2025Continuing 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.
Parsing command-line args in Zig using only stdlib
24 Dec 2024In my Zig learning journey, for some problems I have found the standard library documentation a bit too curt.
Debugging Zig: with lldb and inside Neovim
10 Aug 2024Today 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.
Debugging inside Neovim with nvim-dap and nvim-dap-ui
08 Aug 2024Today 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.
Generate WAVE file in Zig, choosing the bit depth
04 Aug 2024In the last post, I told you how I learned the basics of generating a WAVE file, both in Python and Zig.
How to create a WAVE file
29 Jul 2024Today 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.
Pratt parsing, aka top-down precedence parsing, aka precedence climbing
23 Jul 2024Since 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.