Skip to content

Instantly share code, notes, and snippets.

View vorburger's full-sized avatar

Michael Vorburger vorburger

View GitHub Profile
@vorburger
vorburger / latency.markdown
Last active August 22, 2018 13:47 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 1K bytes over 1 Gbps network ....... 10,000 ns  =  10 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@vorburger
vorburger / proposal.md
Last active January 12, 2018 22:27 — forked from edewit/proposal.md

Teaching programming to children using Minecraft on OpenShift/Kubernetes

When we were younger, getting enthusiastic about programming and computers in general was a lot easier than it is now. They where these "magical" machines that would do whatever you wanted them to do. Today, computers are in everybody's day to day lives and have lost that "magical" feeling. The challenge is to get children excited about programming by reducing the time to setup and learning concepts, but get started right away with something they love - like Minecraft! We'll show you how with Kubernetes, OpenShift and Minecraft we can progressively do just - at first using our ScratchX extension to get started with graphical programming, and then with a push on a button you can have a full Java development environment set up to start learning and teaching programming. We set up an Eclipse Che IDE with continuous builds of the modifications, and a Minecraft server with our OSGi extension that can hot reload changes, so that we can ha