<

Erik Stenman

Erlang Programmer (HappiHacking)

Erik Happi Stenman has been programming for fun since 1980, and for profit since 1989 when he started his first company. He received his Master of Science in Computer Science in 1996 from Uppsala University. Erik was one of the driving forces behind the High Performance Erlang project (HiPE) from the start in 1996 until he successfully defended his Ph.D dissertation against opponent Simon Peyton-Jones. During his post-doc as a project manager in Martin Odersky’s Scala group he helped bringing the project to a successful release of Scala 1.0. Before joining Klarna he worked at Virtutech with low-level optimizations of Virtutech Simics. As Head of Development, CTO and Chief Scientist at Klarna, Erik was responsible for the development and operation of Klarna Online, a system providing creative payment solutions to Internet shops. He also built up the engineering department at Klarna from the start. Today, Happi is working as CEO and a consultant for HappiHacking. In his limited spare time, Erik is writing a book about the Erlang Runtime system and programming board games and a board game engine for HappiStudios.

Past Activities

Erik Stenman
Code BEAM SF 2018
Tutorial/ 17 Mar 2018
20.19 - 09.00

BEAM AND ERLANG RUNTIME SYSTEM

The tutorial will cover:

Processes

  • How it is represented in memory
  • The PCB
  • The Stack and the Heap and tagging
  • How message passing is implemented
  • Tools for inspecting processes

 

The compiler

  • Some options
  • How to inspect generated code
  • The BEAM instruction set and BEAM modules
  • The BEAM interpreter/VM
  • Native code through HiPE
  • Tools for tracing and profiling

 

The scheduler

  • The scheduler loop
  • The ready queue
  • Timing wheels
  • Ports
  • Flags for controlling the scheduler

 

Memory

  • How the GC works
  • How memory allocation works
  • Flags and tweaks for memory
  • Memory profiling tools
Erik Stenman
Code BEAM SF 2018
15 Mar 2018
17.15 - 17.40

Aeternity: Scalable Smart Contracts Interfacing With Real World Data

In this talk I will tell you about a new blockchain that is built in Erlang and Elixir to run on top of BEAM. I will give you a brief introduction to blockchain technology and then present the AEternity project and some of the features of AEternity, such as State Channels and Oracles.

I will also talk about the execution of smart contracts on the blockchain, the whys and hows. The AEternity smart contracts can be written in a functional programming language, and I will explain how it currently is implemented in and some of the things we plan to do in the future with smart contracts.