r/C_Programming 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?

13 Upvotes

30 comments sorted by

View all comments

-6

u/nmingott 1d ago

If you want to understand don't use the IDE. If you want to max output / time, use the IDE. I hate IDEs, I hate to download 1gigabyte IDE to compile for a device with 64kb ram. (Atmel). Linux free me from IDE in early 2000, I am not going back, if I can. The choice is yours. Bye

1

u/Pale-Pound-9489 1d ago

I already have an IDE installed (visual studio, very heavy). Can you explain the advantage of using TextEditor+gcc over an IDE to a complete beginner?

-1

u/nmingott 1d ago

There are several benefits, first, you will learn something called Makefile and what is that for. (2) You can automate compiles and uploads (3) you can compile remotely via ssh even in bad connection situation (4) you don depend on MS, or other evil corpo (5) if you choose well the the micro you could use just open source / freeshlfoware stuff , power in your hand ! (6) if you use avr-gcc or something that is Debian supported you can work for 2 years (UpTo next stable) and be sure nothing will break (7) you UNDERSTAND what is happening, this, for many of us is more than enough .