the SPOUT

<- back to home

this is where i'll spout random things i want to share

none of this will be structured besides me adding a new entry/date

will probably show "mini-projects" here that i don't think would fit into the actual project page

expect nothing i'm working on here to be finished

the discovery of C#

september 7th, 2025

the title is a tiny bit misleading, which i guess is going to be a running theme with all these spout posts. i've known about C# for a while, even trying it with Unity over 6 years ago, but i haven't really looked very closely at it. i've been trying to move to Godot for my game project developmentings instead of Roblox, as Roblox hasn't exactly been the best platform to contribute to. i don't like how they're handling predators, and i would rather not contribute to a platform that almost endorses them.

with Godot, i've been using GDScript for the most part, as it's an easy language with a simple syntax, and it's integrated really well. however, recently, i've realized i don't enjoy writing in GDScript all that much. the python-like syntax is not enjoyable and feels restricting, plus there's not very good strict typing, which is some i value in a language. and thus, it led me to try C#.

now, at first, i didn't enjoy using C# with Godot. setting it up was a pain on multiple devices, and it didn't play nice at all with VSCode. so, i gave up and went back to using GDScript. after a while, i kept running into the same grievances as i did before, which led me to take another look, using an IDE since they seem to be better for game dev like this than VSCode is. and, let me tell you it was a LOT better.

i chose Rider, as it seemed to have the best support with Godot, and was still (mostly) free. it is so much nicer to code Godot scripts with C#, having access to all of the nice things about C# with the same engine is great. static typing, decent naming conventions, faster code due to compilation, and a more enjoyable way to use Git/GitHub compared to using GitHub Desktop or *shudder* the Godot Git plugin.

maybe in the future, i'll try out the non-game dev aspects of C#, such as WinUI 3, XAML, ASP.NET, and all that jazz. maybe i'll even embed it into my own game engine if/whenever i make that. depends how good i am at C++ at that time, might have to embed Lua instead since embedding C# seems to be a much more daunting task compared to Lua. either way, i love C# now that i'm a bit more familiar with it, and will continue learning it probably for a bit

C shenanigans - part 1

august 11th, 2025

before i start, this isn't entirely about C, but i am implementing it in C. i've been working on my own CPU (currently "codename" pcpu), and most of the conceptual design of it is done, with me now writing an emulator for it in C. i've been wanting to learn C as low level languages like it have fascinated me for a while. i eventually want to get into OS dev as a hobby, but i definitely don't understand C well enough at this point to do so, hence the CPU emulator.

currently, "pcpu" is an 8-bit cpu, with 6 generic registers, 2 special registers and probably way too many instructions lol. i probably could've optimized instructions better but likeee whateverrr, they aren't complex anyway, most of them are just for dealing with register operations.

oh yeah, link is here if you want to look at my terrible C code