r/C_Programming • u/hex-lover • Oct 09 '26
Best IDEs for C and C++ in virtualbox
Hello,
im taking a course in university about malware development and its all in C so i want to install vscode like the teacher said, but since its in vm the pc is dead and there is no storage for it after install it takes 30G , so is there any light IDE for C in windows ?
5
Upvotes
11
u/mgruner Oct 09 '26
VSCode consumes 30GB??? that cannot be true I hope.
I like Zed
5
u/Sakulle Oct 09 '26
Vs code itself is under 500 mb installed, so maybe your looking at the full visual studio which a different ide and is much larger. With any of the ide’s listed you still need the toolchain (visual studio includes them), msys2 uses the gcc compiler and is also around 500 mb. Microsoft does have a (free) console toolchain separate from Visual studio that works with vs code fine, I’m not sure on size, probably larger than the gcc one, but it would be way smaller than visual studio, definitely well under 5gb installed.
Also if your that starved for space, you can get a 16gb usb drive for almost nothing and install it on there from windows, or just install a full Linux distro that you can boot into on it and download vs code to that. That might only work if it’s your pc, if it’s a school machine you have a small VM on they probably lock down the usb ports.
4
u/ffd9k Oct 09 '26
are you trying to run vscode inside virtualbox?
You can just run it directly on the host, and ssh into the vm to run the compiler, see https://code.visualstudio.com/docs/remote/ssh
8
u/wisegod62 Oct 09 '26
Learn Vim!
2
u/jI9ypep3r Oct 09 '26
Emacs or helix
2
u/[deleted] Oct 09 '26
Neovim
1
u/gudetube Oct 09 '26
Geany, but you'll need GCC installed
1
u/d1722825 Oct 09 '26
Qt Creator (just the IDE) installer is about 400 MB
Code::Blocks installer is about 50 MB
Notepad++ (not really an IDE, but a fancy text editor) portable is about 8 MB
Many IDEs support remote development, so if you have more space on the host, you could try that. Or grow the disk of the VM.
1
u/30fpsisbetter Oct 09 '26
Visual C++ 6.0
1
u/wwabbbitt Oct 09 '26
If you can access the VM with ssh, then vscode + remote ssh from your own PC. You access the files and build/debug tools on the VM through your local vscode.
1
u/Ok_Spare_7473 Oct 09 '26
Code blocks, kate or geany. If you like cli application - vim. I recommend trying emacs. Emacs contains more features, but it's hard (keybindings). Exists cli version and gui.
1
u/YakubReddit Oct 09 '26
vim
1
u/tony_saufcok Oct 09 '26
Is your VM a Linux system? C works great with Linux and gcc simply comes default on pretty much every distro. I found it difficult to install gcc (or mingw, or msvc I don’t even know what they are really) on Windows and setting VS Code was bothersome too. If you’re sure you want to stay on Windows, you can just download VS Code and then you can check out its extensions page later if you want
1
u/penguin359 Oct 10 '26
edit.exe (yes, it's back!)
1
u/Vladislav20007 Oct 10 '26
you got some serious memory leaks, if vscode is taking 30GB.
1
u/wanabeeengineer Oct 11 '26
vim terminal and gcc or g++. No need any IDE. If you still need it EMACS is good even though it is not completely IDE.
1
u/aeropl3b Oct 11 '26
Vim
1
u/burlingk Oct 12 '26
I was going to suggest WSL2 until you mentioned WHAT you are working on. ^
1
u/Responsible-Bar7165 Oct 13 '26 edited Oct 13 '26
vscode
you can run vscode on your host and use the remote-ssh extension to connect to the windows VM guest. just google the 2 powershell commands you need to set the windows sshd service to automatically startup at boot and add a firewall rule.
1
u/KanjiCoder Oct 14 '26
Notepad++ . That is what PHOSIMP is coded in .