Skip to content

2018

Life Update And Some Rust

Writing code and writing words about said code is not my forte. While the coding continued on the WASM renderer I was working on, the blog posts stopped. Life gets busy and habits die hard. Well a lot has happened since then and while I continued the coding portion up until mid-August I have stopped since then. I got to the point of having a full Shader and ShaderProgram class implementation wrapping the OpenGL code. Alas you work on projects to figure out what sticks and this has not stuck.

Little Red Box

It may not look like much but this little red box is the start of a personal project which I hope will continue on for quite some time. It was in fact the reason why I built this website. You see back in the Summer of last year I was working on my own rendering engine as a learning project. It was a few months after that I learnt of WebAssembly and that I could take my engine and render it directly in any compatible browser. One day I want to work in the video game industry so I thought that it might be a good showcase of my skills if I can demo directly in the browser. Through some inspiration I realized I could post along as I write the code in the form of live demoes. And this, although very simple, is the start of that. I also want to use this website as an opportunity to play around in the Rust programming language. I like the idea that a whole project need not be made in one language and that in fact Rust is a good language with it's useful FFI and interoperability. I would like to show that it is possible to link C++ and Rust together in a WebAssembly project. The code for this simple demo is below.