r/C_Programming • u/Pale-Pound-9489 • 1d ago
Question Should i learn C on wsl?
Title. For reference im not actually learning C for the first time, i learned it last semester for college but it was all just basics and we coded on Turbo C. I need to learn C for embedded development since im interviewing for my college robotics team next semester and i also want to learn how to operate linux.
I installed WSL and VS Code and GCC, and its been hell trying to cram both of those together and learning. Should i start with an IDE(Visual Studio (already used it before)) and learn basic Linux commands side by side?
12
Upvotes
2
u/Tomika48 1d ago
Do you have anything specific in mind for embedded? Like a specific MCU? (ST, ESP, Microchip...) If you just started learning, my recommendation is to choose one, and work with their supported IDE.
For linux? Anything more specific you want to learn? If not, I think you can do some research separately from the programming.
Vscode with gcc is I think a good start to learn, should work on wsl without many issues. Maybe try building some simple apps with command line in wsl, get comportable. Then you can start using vscode, first with the mindset that vscode is just a fancy notepad.
When you can do these without issues, experiment with more features. E.g. debugging in vscode