Advertisement · 728 × 90

Posts by

Preview
GitHub - Tmimstv/alloc_lite_v2 Contribute to Tmimstv/alloc_lite_v2 development by creating an account on GitHub.

Still learning a lot about systems engineering. Currently I'm working on a memory allocator. This iteration of it has a both a bump allocator and a free_list to recycle space if it finds one that has been freed. Still have a lot to learn but it's been a fun struggle.

github.com/Tmimstv/allo...

3 months ago 0 1 0 0

They say if you can’t build it, you don’t own it. 🦾

New milestone reached: created a Bump Allocator. 16-byte aligned, ASAN clean, and hitting NULL exactly where the OS says the page ends.

Building the foundation for high-performance systems. 🚀 #Netrunner #lowlevel #C

3 months ago 0 0 0 0

Built a custom Arena Allocator in C.

Bypassed malloc for mmap

Implemented 8-byte alignment via bit-masking

Verified the mapping in /proc/pid/maps

It’s still early but, memory management is starting to feel a lot less like magic. #CProgramming #SystemsProgramming #Coding

3 months ago 2 0 0 0

Learned some virtual memory basics! Built a tiny mmap playground that maps an anonymous private region, writes into each page, then munmaps it.

At the very least, I can point at a /proc/<pid>/maps entry and say: “that’s my allocator arena.”

3 months ago 0 0 0 0

Week 1 of writing a tiny allocator: struct layout/alignment/padding.

Confirmed w/ sizeof/alignof/offsetof that field order changes where padding lives (internal vs tail) but not necessarily total size.

Key rule: struct size rounds up to struct alignment so arrays stay aligned... still a bit lost

3 months ago 2 0 0 0
Preview
GitHub - Tmimstv/cat-lite Contribute to Tmimstv/cat-lite development by creating an account on GitHub.

Today I start my journey into becoming a systems engineer. I'm not sure how long it will take me but I'm going to do/try my best. I hope I'll be able to make an impact on the world!

Here's my first project, just a mini version of cat (linux)
github.com/Tmimstv/cat-...

3 months ago 2 0 0 0