Program Structure and Composability

Part 0: Introduction This post is focused on a concept I call “program structure,” which I will try to shed some light on before discussing complex program structures. I will then discuss why complex structures can be problematic to deal with, and will finally discuss a pattern f…
Read more...

Interacting with Go from React Native through JSI

Introduction There are 3 parts that let JS talk to Go: The C++ binding Installing the binding Calling Go Not all the code is shown, check out the source code for specifics. Part 1 - The C++ Binding The binding is the C++ glue code that will hook up your Go code to the JS runtim…
Read more...

Visualization 1

First I want to appologize if you’ve seen this already, I originally had this up on my normal website, but I’ve decided to instead consolidate all my work to my blog. This is the first of a series of visualization posts I intend to work on, each building from the previous one. …
Read more...

Visualization 2

goog.require("viz.core"); This visualization builds on the previous. Structurally the cartesian grid has been turned into an isometric one, but this is more of an environmental change than a behavioral one. Behavioral changes which were made: When a live point is decid…
Read more...

An Intro to Functional Reactive Programming in UIs

Maybe you've heard of React, Om, or Elm, and wondering: what's the deal with functional reactive programming (FRP)? This post will act as primer on FRP using vanilla JS, but the ideas presented here translate pretty easily in any language and UI system. So let's start with an inf…
Read more...