this post was submitted on 06 Feb 2026
50 points (100.0% liked)

Programming

25323 readers
336 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Hello! First of all this is my first Lemmy post, so if I did anything wrong pls tell me!

Now, I'm 19yo in 4th semester of Computer Engineering, and while I'm doing good in college I realized that they give us good background in electronics (from the basics to microcontrollers. ICs. logical design, etc) but the programming aspect is high level and web-oriented (python. java, php)! I appreciate learning those, but I'm not interested on that but rather on a kernel/firmware development! So... I've been learning C for some weeks and while I do love it (mainly been learning from K&R and Zed A. Shaw - Learn C the Hard Way) I don't really know how to practice the skills required to do the proper bridge between hardware and software.

Basically, how does one begin their first real project to learn how to write drivers/baremetal and testing them? Thanks for reading and sorry if my question is dumb, I just feel a bit lost.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] CocoaBird@sopuli.xyz 6 points 1 day ago (1 children)

I'm going to give a slightly different suggestion.

You may find it interesting to develop an program without using libc.

Use raw syscalls and make a completely freestanding binary.

This is not as low level as bare-metal but might give you a better understanding of how operating systems work.

You could try writing some core utils replacements

This will only really work on Linux though. Any systems programming language with inline assembly will work fine.

[โ€“] wwaaaaa@lemmy.dbzer0.com 3 points 1 day ago

Now that you mention it I was actually messing around with that before commenthing this, I'm on Linux (Arch) already so the idea of writing utils replacement was already there haha, thanks for the suggestion, I'm doing that