My name is Peter Hellberg and I’m a Systems Developer in Stockholm, Sweden.

Peter Hellberg

Articles

WebAssembly Fantasy Consoles

There are various serious use cases of WebAssembly out there.

Experimenting with GLSL

I've been doing some minor experimentation with writing shaders in GLSL instead of doing software rendering like I usually do.

WebAssembly plugins for Typst, in Zig

While I was revisiting the typesetting system Typst, I noticed that it is capable of interfacing with plugins compiled to WebAssembly.

From Go to Zig

Getting to know Zig, a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Switching to vim-plug

I’ve switched to vim-plug, a minimalist Vim plugin manager.

From Go to Pony

Getting to know Pony, an open-source, object-oriented, actor-model, capabilities-secure, high performance programming language.

Go and Ruby-FFI

How to write a shared library in Go that can be loaded by Ruby-FFI.

From Go to ooc

Getting to know ooc, a small programming language that compiles to C99.

From Ruby to Lua

Getting to know Lua, a powerful, fast, lightweight, scripting language.

7-Segment Display

How to use Ruby to control a 7-Segment Display (via an Arduino).

Switching to Vundle

I’ve decided to use Vundle the Vim package manager.

Intro to Celluloid

A framework used for concurrent object oriented programming in Ruby.

Elasticsearch in Ruby

A tiny project using the search engine elasticsearch in Ruby.

From Ruby to Go

Getting to know Go, a fun little language from Google.

Tiny API with Nginx

How to build a tiny REST API using Nginx, Memcached and GeoIP.

From Ruby to Lisp

My first steps as a Ruby developer towards learning Lisp.

Goliath and Redis

Getting started with the non-blocking Ruby web server framework Goliath in combination with the advanced key-value store Redis.

Open Source Projects

This is just a few projects, you can find more on my GitHub profile.

Typ

A small Zig module, as a convenience for me when writing WebAssembly plugins for Typst.

w4-init ✨

Initialize a Zig WASM-4 cart project

Gfx

Convenience package for dealing with graphics in my pixel drawing experiments.

ACR122U

A Go package for the ACR122U USB NFC Reader.

Hashids

Ruby gem that generates YouTube-like hashes from one or many numbers.

Pinch

Retrieve a file from inside a zip file, over the network! Pretty sweet, eh?

Presentations

Graphics in Go

Presentation containing a (small) selection of my graphics experiments.

Introduction to The Go Programming Language

A quick look at Go and what makes it special.

Introduction to Digital Photography

A few pointers on how to take better photos.

Pinch - Some crazy HTTP ZIP Magic

The inner workings of Pinch.

Rates

My rates start at 1250 SEK per hour + Swedish taxes

Contact me

Street Address

Mosstenabacken 1,
124 32 Bandhagen