Tag:go
All the articles with the tag "go".
Running Go tools in a browser
Posted on:September 6, 2025 at 10:30 AMQuick overview of how Go tools for the Mrav custom CPU are run inside a browser by leveraging WASM. The project is built with Bazel using Go rules.
Simple Lua integration in Go
Posted on:July 20, 2025 at 01:30 PMLearn how to use Bazel to easily integrate (with a single command) mainline Lua in Go and potentially other languages (e.g. embedded C programs).
Cross-compiling C and Go via cgo with Bazel
Posted on:May 31, 2025 at 10:15 AMWalkthrough for cross compiling a mixed C and Go binary for another platform using cgo and Bazel. Example is done with x86_64/Linux compiling for RISC-V/Linux.
OCI containers with Bazel in one command
Posted on:April 27, 2024 at 09:30 AMGuide on building and running OCI containers using Bazel with one command. Bazel builds your software, packages the layers and builds the tarballs that can be imported by something like Docker to run your workloads.
Easy to build and deploy Go servers with no tooling and external dependencies
Posted on:April 20, 2024 at 11:30 AMQuick introduction to building HTTP servers in Go without having any tooling set up and requiring no external dependencies. Bazel is the preferred build system for this exercise. Cross compiling to other platforms is also briefly covered.
Go gRPC servers with Bazel in one command
Posted on:April 20, 2024 at 11:30 AMIn-depth guide on building gRPC servers in Go programming language using Bazel. The end result is a single command that builds the proto definitions and links them into the server business logic. Includes the modern Bazel module mechanism for dependencies.