r/lowlevel

I built a DSA library in C and it got selected for an open-source program, looking for contributors
▲ 9 r/lowlevel+3 crossposts

I built a DSA library in C and it got selected for an open-source program, looking for contributors

I built C_DSA_interactive_suite, a fully modular, console-based DSA library written entirely in pure C11. No frameworks, no abstractions. Just raw C, manual memory management and real implementations built from scratch. The codebase has a clean modular architecture with one .h/.c pair per module, reusable APIs across modules. A single interactive executable as the entry point, Valgrind-clean memory, CI/CD on every push, and .clang-format enforced style throughout. The project just got selected in SSOC, an open-source program similar to GSoC and I am the project admin, which means this summer, project is open for contributiors! If you've been wanting to:

  • Start your Open Source journey
  • Contribute to a real C codebase with proper architecture and planning
  • Implement something like AVL trees, heaps, priority queues, tries, Dijkstra, or DP
  • Get your hands dirty with actual C, not school level C
  • Have your contribution acknowledged by a reputable community

This is your shot. Everybody else is doing MERN. Come touch some real memory. I'm available to walk anyone through the codebase, clear doubts, explain concepts, or help you get your first PR merged. No gatekeeping. Register as contributor for SSOC. Only 5 days left - https://www.socialsummerofcode.com/ GitHub: https://github.com/darshan2456/C_DSA_interactive_suite Drop a comment or open an issue if you're interested. Let's build something worth putting on a resume.

hows this?

u/Straight_Coffee2028 — 10 hours ago
▲ 12 r/lowlevel+1 crossposts

Thinking of writing a user-space ext4 driver for Windows from scratch. Am I insane?

I use Ubuntu for almost everything (except gaming 😞), but I need a reliable way to read (and eventually write) my ext4 partitions from Windows. There are some existing tools out there, but I'm thinking of building my own implementation from the ground up, mostly as a deep dive into filesystem internals.

I’ve been doing a lot of low-level systems programming in Go lately, so I've got a decent grasp on memory management and bit-twiddling. But filesystems are a whole different beast.

current roadmap:

  • start with a read only
  • traverse extent trees and HTrees for massive directories
  • mount it as a read-only virtual drive using WinFSP
  • implement block allocation and eventually JBD2 journaling

A few questions for anyone who has ideas :

  • I'm heavily leaning toward Go for the concurrency and easy struct unpacking, wrapping it with WinFSP via cgofuse. Am I going to regret not doing this in C or Rust when it comes to memory mapping raw blocks?
  • implementing the JBD2 protocol for safe writes is gonna be the main challenge. Is it feasible for a solo dev to build write support?
  • Any specific edge cases with ext4 legacy baggage I should watch out for on day one?

Any advice, reality checks, or recommended reading (currently digging through the kernel docs and lwext4) would be hugely appreciated.

reddit.com
u/SuperCoolPencil — 17 hours ago
▲ 28 r/lowlevel+3 crossposts

hi!
i made a memory allocation library/learning resource. i wanted to learn more about them and i couldn't find one comprehensive source of knowledge, so i decided that i'll make one of my own:].
it currently has these basic allocator types: arena (linear), stack, pool, free list, free tree, tracking, buddy, slab.
i gave my best to describe everything clearly in the readme, also added svg diagrams (written in Typst, btw). i plan to implement a bucket/size-segregated free list allocator as well.
hoping anyone will find this resource useful!
https://github.com/nihiL7331/oo-alloc

Help with low-level programmer path

Hey everyone. I want to become a low-level programmer, even though I'm 15 and I only know C at a good level imho (here's my github profile for those who are interested: https://github.com/remyone). I'd like to dive even deeper but i don't know in what direction I should go. I don't really wanna switch to ASM. Recently I ran into a vulnerability in my program and got really excited about learning this vulnerability and trying to hack it. I think it'd be great to combine some kind of ethical hacking and computer science (maybe there's a job that combines these two fields that idk) cuz I love coding more:) I'd like to find out your opinions and advice!

u/_remy-coder — 3 days ago
▲ 33 r/lowlevel+15 crossposts

48 saatlik HASBLCTF'26 CTF yarışması

Öncelikle bu konunun bir reklam olmadığını, sadece liseli gençler olarak düzenlediğimiz bu etkinliğin daha fazla kişiye duyurulması amacıyla paylaşıldığını belirtmek isterim.

Kısaca: Biz 4 kişi HASBL CTF adında Jeopardy formatında olacak bir CTF düzenliyoruz, katılım linki en aşağıda mevcuttur.

Peki CTF nedir? CTF yani; Capture The Flag (Bayrağı Yakala), siber güvenlik alanında farklı kategorilerdeki becerilerimizi test etmek ve geliştirmek amacı güden bir yarışma formatıdır. Amacımız kategoriye göre verilen sorudaki açığı bularak cevaba (flag'e) erişmektir:

Kendimizden bahsetmem gerekirse biz sosyal bilimler lisesinde 11. sınıf öğrencisi olan 4 kişiyiz ve birçok CTF'e katıldıktan sonra; "Neden soru yazmayı da denemiyoruz?" dedik ve kendi CTF yarışmamızı yapmak istedik. Elimizden gelenin en iyisini yaparak bir şeyler yaptık işte...

Etkinlik detaylarına geçmek gerekirse:

Kategoriler:​

  • Web: Açtığınız Instance'da zafiyet bulup flag'e ulaşmak.
  • OSINT (Açık Kaynaklı Bilgi/İstihbarat): Soruda verilen foto/video, sosyal medya hesap adı vb. ortamlarda kanıt inceleme ve analiz ederek flag'e ulaşmak.
  • Cryptography (Kriptografi): Şifre kırma diyebiliriz basitçe. Kod ve/veya verinin mantığını çözerek şifrelenmiş flag'i okunabilir hale getirerek flag'e ulaşmak.
  • Reverse/Reverse Engineering (Tersine Mühendislik): Derlenmiş bir yazılımı yada makine kodunun bazı programları kullanarak nasıl çalıştığını çözüp okunabilir hale getirme ve flag'e ulaşmak.
  • Pwn (Zaafiyet/Sömürü): Hedef olarak verilen sistemin güvenlik açıklarını bularak sisteme sızıp yetki yükseltme ve flag'e ulaşmak.
  • Forensic (Adli Bilişim): Dijital kanıtların (log, disk görüntüsü, wireshark vb.) inceleyerek flag'e ulaşmak.

Kategorilerin tanımını yaparken ben bile kötü bir şey yapıyormuş hissiyatına kapıldım ama emin olun öyle bir şey yapmıyoruz kesinlikle 

Tarih:​

  • 29 - 30 - 31 Mayıs tarihlerinde 48 saat sürecek.

Platform:​

  • CTFd altyapısı üzerinden kendi sunucularımızda (Google Cloud) gerçekleşecek.
  • CTF Time üzerinden de yarışma duyurusu yaptık ama kabul bekliyoruz, CTF'lerde önemli olduğu için kabul aldığında eklerim buraya.

Kurallar: Kurallar sitemizde yer almakta ama kısaca önemli birkaç kurala değineyim.​

  • Takımlar en az 1, en fazla 4 kişilik olabilir.
  • Flag paylaşımı yapmak yasak.
  • Yarışma boyunca write-up yayınlamak yasak.
  • Yarışma sürecinde yarışmacıların birbirine saygılı olması ve sportmen olması önem arz etmekte.

Kayıt ve Daha fazla bilgi için:​

  • Kayıt ve daha fazla bilgi için sitemizi bağlantı kımından ziyaret edebilirsiniz.
  • Yarışma sürecince kayıtlar açık olacak ve belirli bir şart olmaksızın isteyen herkes katılabilecek.
  • Ödüller daha belli değil (TBA) maalesef..
  • Lise düzeyinde kısıtlı süre ve bütçede hazırladığımız bu etkinlikte hata olacaktır ama bunları düzeltmeye ve kendimizi geliştirmeye özen gösteriyoruz.
  • Sitede ve yarışma genelinde bir öneriniz, sorunuz olursa; bunları duymakta, cevaplamakta ve geliştirmekten memnuniyet duyarız.

Şimdiden ilgi gösteren herkese ve CuteTopia Sub'ına bu konuyu açamama izin verdiği için teşekkür ederim.

hasblctf.tech
u/Rav3nnd — 3 days ago
▲ 134 r/lowlevel+3 crossposts

AI sucks at low level programming.

I'm gonna take a hot take, I think that AI is absolutely terrible at coding in low level (C/C++/ASM) the code it generates is absolute SLOP, and functions terribly. (AI SLOP)

reddit.com
u/Clear_Safe_5408 — 5 days ago
▲ 32 r/lowlevel+2 crossposts

Now Aurora OS gets Serious now because Of MVTDM Emulator and Aurora OS can run DOOM though DOS emulator and not just that many DOS software

u/Fluid-Ad2995 — 9 days ago

need help with roadmap for low level dev

hey, i know basic c. i am good with JS, still learning the async parts of js in a deeper level. i want to be a good low level developer so i will learn cpp after learning js. during my js journey i have focused on the inner parts more than the syntax so that it can help me be a better low level dev. i just want to be very good with low level stuffs so that i can get into game development and build games using c++ solely without any engines or so. making my own game engine maybe. i have made a few games using c#(unity) and a few projects using js(basic canvas games using js too)

i mailed a bunch of low lvl devs who have spent a lot of years tinkering with low lvl stuff and they suggested me to focus more on profiling and being able to optimize code. they suggested me to focus on the algorithms, the fundamentals more than the syntax. they told me that in this age of AI, being able to know how to optimize the ai generated code is a real skill and being able to adapt and learn any language in a short timeframe is a great skill. they suggested me to start contributing to ffmpeg, vlc so that i can get a good exposure. but as a completebeignner, i feel like that should be my step 50 and not step 1 as abeginner. what should i keep in my during my development journey?

reddit.com
u/Illustrious_Bake_885 — 10 days ago
▲ 29 r/lowlevel+1 crossposts

My bare-metal OS project

Hello! I'm Mila. I'm developing an OS project since 9 months, and I'm now developing the 0.1 X Alpha release of my project. The project name's "Codename: MRC". That's just a codename, I will release the actual name of the project after It really become a big project, don't worry. It now can run 12+ commands, and I'm now writing the GUI (Graphical User Interface) for my OS Project at current. More details and the source of the project can be found at the Github repository link below.
[ https://github.com/M1lamrc/bare-metal-operating-system ]

https://preview.redd.it/1ctxluovm30h1.png?width=858&format=png&auto=webp&s=6870c743c2ff87cf4f399a710bd68a3806378db5

reddit.com
u/Dramatic_Initial_961 — 14 days ago