Mikail KhaninLevel Up CodingRepresenting Data Structures with First Class FunctionsI was talking to my roommate about how all data structures can be emulated through function compositions the other day so I thought I’d…3 min read·Oct 11, 2021----
Mikail KhaninCodeXWriting a LISP-y JSON Interpreter in 115 lines of codeA few days ago, I wrote Javascripth, a lispy scripting language that uses JSON as its concrete syntax. It’s a single phase treewalk…4 min read·Aug 9, 2021----
Mikail KhaninGeek CultureComparing Rust, C++, Scala, and other languages by implementing an ASTAbstract Syntax Trees (ASTs) are an interesting data structure because their representation varies widely across type systems. While I’m…8 min read·May 10, 2021--1--1
Mikail KhaninLevel Up CodingWriting a Tiny Stack VM in RustA few days ago I wrote a super simple postfix expression evaluator to demonstrate how stacks could be used. Afterwards, I decided to…11 min read·Apr 6, 2021----
Mikail KhaninLevel Up CodingI accidentally Wrote a Lua Game EngineI probably should’ve seen it coming4 min read·Jan 4, 2021----
Mikail KhaninLevel Up CodingFrom Go to Haskell + SvelteMy experience writing a simple web server with Haskell and Svelte8 min read·Oct 30, 2020----
Mikail KhaninCodeXSome cool fibonacci functions in a few different languagesTraditional recursion, infinite lists, and plenty of oneliners3 min read·Oct 24, 2020----
Mikail KhaninCodeXWhat Makes A Programming Language Too Complicated?One of the most important aspects of a programming language is its complexity. Languages that are too simple are often thought of as…4 min read·Aug 4, 2020--1--1
Mikail KhanUsing Lua As A Serialization FormatThis is somewhat of a followup to my post on Lua integration from a few days ago.4 min read·Jul 23, 2020----
Mikail KhanPitfalls when writing a go server for aws ec2I’ve recently been writing a Go server for my my website at mikail-khan.com. I’ve never used Go, and I’ve never deployed a server to a…3 min read·May 16, 2020----