barskern

blogposts

Rust's awesome memory managment

11 minute read Published: 2018-03-13

Rust has a lot of cool features. It is a systems programming language that aims to be a safe, fast and simple. One of the core characteristics is that it can guarante memory and thread safety, without needing a garbage collector. The way it achieves this is through a feature that separates Rust from all other programming languages; ownership.

projects

homecloud

The puppet control repository for my homecloud setup. Configures and runs a cluster of Hashicorp services, namely Nomad, Consul, and Vault, including a PKI structure and bootstrapping scripts.
programming
puppet
automation

BASSAL

Barskern's Automatic Setup Scripts for ArchLinux (BASSAL) is inspired Luke Smiths excelent setup scripts for configuring and setting up fresh Linux machines. Used to setup new machines with some base configurations for ease of use.
scripting
linux

pizzabadger

When we have meetings in the student association LOGIN, we need pizza. However to choose pizzas can be hard when you are many people. Hence I made a simple web service which lets users vote for the pizzas they want. The stack consists of Rust, PostgreSQL, HTML and CSS.
programming
rust
service
web

hdrie

hdrie is a small library which can create HDR images and display them using different techniques. It was made as a part of the subject Scientific Programming (IMT3881) at NTNU.
programming
python
library

Paragliding

An online service written in Golang to browse information about IGC files. The service has persistent storage and webhook support. It was made as a part of the subject Cloud Technologies (IMT2681) at NTNU.
programming
golang
service

Pandoc filter - Run inline SQL queries

A small plugin to run SQL queries directly from a markdown file and then render the result as a table.
programming
python
plugin

Maanelander

Maanelander was made in 48 hours for as the exam in the subject Information Technology 2 in secondary school. The task was to make a replica of the famous game Lunar Lander.
programming
web
javascript
game

Meteor Shower

Meteor Shower is a small experimental project. It is inspired by Asteroids, the arcade space shooter from the 80s. Every meteor is procedurally generated and the destruction is relative to the mouse cursor.
programming
web
javascript
game

Kommando Kompe

My friend and I created Kommando Kompe during secondary school as an assignment in the subject Information Technology 2. The entire game engine was built as a part of this project, hence this game contains no external libraries at all.
programming
web
javascript
game