Tomas Tulka's Blog

Random thoughts about programming and other stuff.


My Favorite Esolangs

It’s Sunday, a perfect day to do something useless and impractical, yet beautiful, like esoteric programming languages.

Compiling to WebAssembly with Binaryen

Compile your own programming language to WebAssembly binary instruction format (Wasm) using Binaryen’s JavaScript API.

Rethinking API Versioning with Domain-Driven Design

How to manage breaking changes elegantly and get rid of version IDs for good by being nice to your clients.

How to Test Date and Time in Spring Boot

Testing temporal events in Spring Boot Java applications with JUnit 5 and Spring Boot Test.

React Custom Context Hook

Updatable React context Hook with custom logic in TypeScript.

Learning WebAssembly #10: Image Processing in AssemblyScript

WebAssembly is a great fit for image processing. We will manipulate image data with a simple Wasm function written in AssemblyScript and run it in the web browser.

Learning WebAssembly #9: AssemblyScript Basics

AssemblyScript is a free and open source TypeScript-like language that gives developers low-level control over Wasm features.

Learning WebAssembly #8: Compiling into Wasm

There are plenty of languages Wasm can be compiled from. C, Kotlin, and AssemblyScript are only a few of them.

Learning WebAssembly #7: Introducing WASI

Accessing operating system features from Wasm with examples in Wat.

Learning WebAssembly #6: Running Wasm in Node.js

Running Wasm code in Node.js, the popular backend platform.