Adding Set Types to the C Programming Language

Well, it's been over a month since my last post, so it's high time I got back into it. I kinda got distracted by other stuff on other sites, most notably DeviantArt and Discord. But I'm back now, and hopefully I'll be able to post more consistently in the future. This is my third article … Continue reading Adding Set Types to the C Programming Language

Drawing State Diagrams in SVG

SVG is ideal for a lot of drawing applications that are vector-oriented in nature. Specifically it's very good for drawing diagrams and charts. A diagram drawn in SVG will take up far less space on the hard drive than one drawn in a raster graphics editor like GIMP, and it will also be far easier … Continue reading Drawing State Diagrams in SVG

Data Science in C: Programming a Turing Machine to Parse CSV Code

Okay, so maybe I ripped my featured image from the Hack-A-Day site, but that image of a personification of a Turing machine as an intelligent robot was too relevant to the topic of this post to pass up, so sue me. 😛 I want to talk about the first step to building data science or … Continue reading Data Science in C: Programming a Turing Machine to Parse CSV Code

Adding Rational Types to the C Programming Language

One of the main problems with the C programming language as opposed to something like Python is that it doesn't provide any of the convenient amenities that more high-level languages provide in terms of abstract data types. Basically, you have to implement everything yourself. C provides integer types and floating point types, and that's basically … Continue reading Adding Rational Types to the C Programming Language

Writing an Emulator for the MIX Architecture

I've been reading a lot of TAOCP lately (that's The Art of Computer Programming by Donald Knuth for you plebes out there 😛 ). This classic book series consists mainly of designing a lot of algorithms in machine language. The machine language used is that of the fictional MIX architecture, which Knuth created specifically for … Continue reading Writing an Emulator for the MIX Architecture

Factorial Overflow

Okay, this is gonna be kind of an off-the-cuff post here. I'm writing this because I just made a fascinating discovery that sheds some light on why the factorial function overflows so quickly when you use integers, as well as a simple way that you can determine just when the factorial function will overflow without … Continue reading Factorial Overflow