martandr's Avatar

martandr

@martandr.bsky.social

πŸ‡¬πŸ‡· Computer Engineering hobbyist and university student.

8 Followers  |  10 Following  |  18 Posts  |  Joined: 04.12.2024  |  1.6081

Latest posts by martandr.bsky.social on Bluesky

Preview
Vector on Arena Overhead

Circumstances made me want to know if a dynamic array was worth it ontop of an arena allocator. After quite a bit of math, it seems like the optimal growth factor is ~3.51286, with an average overhead of ~2.4554, so, I guess it's feasible?
#programming #math www.desmos.com/calculator/b...

16.11.2025 20:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - martandrMC/x86-osdev: Figuring out OSDev on x86 Figuring out OSDev on x86. Contribute to martandrMC/x86-osdev development by creating an account on GitHub.

All it took was one exam about UML to send me spiraling into the madness that is OSDev in x86. Already committed sins such as actually using segmentation, unreal mode, and putting my stuff on a FAT12 floppy image. Better that than using UML. github.com/martandrMC/x... #programming #osdev #x86

28.09.2025 23:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The way Forth operates is delightful. The whole thing is a VM with the dictionary as its bytecode set, dynamically expandable. DOES> words are literally just closures. The dictionary entry for those contains all the captured values. And to think Forth came out in 1970... #programming #forth

02.09.2025 16:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Secondly, I looked into Forth, and oh boy was I in for a revelation. I went through JonesForth and implemented my own version in URCL (a pseudo-assembly of sorts). However I didn't just replicate JonesForth. I wrote my own DOES> implementation for it, among other things. #programming #forth

02.09.2025 16:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I spent my vacation days learning two programming languages. Firstly, I looked into Haskell. I figured out what a monad is in practice, implemented my own parser combinators, and used them to deserialize JSON. Overall, quite a shift in thinking compared to my beloved C. #programming #haskell

02.09.2025 16:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Turns out, after digging through the source code for CC: Tweaked, the audio data is sent over to the client encoded as DFPWM, so decoding QOA is never gonna make it sound better. This is tragic and my efforts have been for naught, but at least I got to implement QOA. #computercraft

31.07.2025 15:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Got myself into the world of audio codecs today by implementing a QOA decoder in Lua for my music player application for CC: Tweaked. It provides a positively massive quality boost over DFPWM but at 3.2 times the size. #computercraft #minecraft #lua #qoa
github.com/martandrMC/c...

31.07.2025 01:22 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Smack in the middle of July all I can think of is how shitty of a season summer is. All of your friends have left for vacations so all you do is sit in your house with the AC on lest you be drenched in sweat while your sleep schedule drifts into oblivion.

14.07.2025 10:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I am so grateful to have been given the opportunity by my university to attend this year's European Test Symposium as well as Test Spring School. Hoping to learn a great deal from this unique experience. Thank you to all involved! ❀️ #ETS2025

18.05.2025 18:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - Immediate-Mode-UI/Nuklear: A single-header ANSI C immediate mode cross-platform GUI library A single-header ANSI C immediate mode cross-platform GUI library - Immediate-Mode-UI/Nuklear

After having bodged my way into a working static library environment with GLFW and GLAD, I went looking for a competent GUI library. Turns out, Nuklear is everything I could ever want. github.com/Immediate-Mo...
#programming #GUI #GLFW

08.03.2025 23:55 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Just making sure you know: Your mileage may vary. It is definitely not gonna work for every system. You are encouraged to modify the script if you are to use it. Besides, if you are as desperate as I am to not use CMake, then you probably know what you are doing.

08.03.2025 12:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A bash script that compiles GLFW and returns you the required files to use it in your project.

A bash script that compiles GLFW and returns you the required files to use it in your project.

Let's just say I have a grudge with CMake. So, to whom it may concern, here's a script that builds a static library of GLFW without using CMake. It's not the best but it works! πŸ™ƒ #programming #bash #GLFW

08.03.2025 12:42 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Mandelbrot set with hue coloration for the unstable points and plain black for the stable ones.

Mandelbrot set with hue coloration for the unstable points and plain black for the stable ones.

Had some fun today going through the basics of OpenGL by writing a Mandelbrot set generator on a fragment shader. My setup involved GLFW and GLAD in plain C.

28.02.2025 01:51 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Software engineers have been working tirelessly to erase all the performance improvements made by hardware engineers.

20.01.2025 21:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Nature continues to amuse with its endless variety!

20.01.2025 17:29 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

They're gonna freeze to death just like the Germans invading the USSR back in WW2 lol

20.01.2025 15:07 β€” πŸ‘ 11    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Did I mention I love coding in C? I love coding in C.

10.12.2024 18:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Hello world!

04.12.2024 22:06 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@martandr is following 10 prominent accounts