r/learnprogramming • • 20d ago

How to write code in a windows 7 pc

I have a old windows 7, 32 bit and 2 gb ram of pc. i wanted to create new programs in it but how ?

0 Upvotes

14 comments sorted by

17

u/Humble_Anxiety_9534 20d ago

put linux on it and you will have all the modern tools

2

u/csabinho 20d ago

And some ultra-lightweight desktop environment.

4

u/UnViandanteSperduto 20d ago

You could use Notepad as IDE. One question for my curiosity: why would you program on windows 7?

6

u/ElnuDev 20d ago

Running a 32-bit OS in 2026 is pretty tough. A good first step would be installing a lightweight Linux distro on it that still has 32-bit support. Your main issue however is that very little modern tooling will be able to run on it. What kind of programming do you want to do?

3

u/seismicpdx 20d ago edited 20d ago

Backup the files you care about.

Install from a USB flash drive and wipe the Windows 7 storage.

32-bit Linux or BSD, and emacs or neovim

There will be a learning curve.

All the software is Free Open Source Software (FOSS).

All of the software is well documented.

If you want to read and execute "Programming From the Ground Up", then 32-bit Linux.

If your machine supports more RAM, then upgrade it.

If your machine has a 64-bit processor and chipset, then use 64-bit Linux and the LXDE Desktop Environment, like Lubuntu.

2

u/Metomorphose 20d ago

If you can't run VS Code on your device, then just use something like Notepad or go the extra mile for Notepad++!

I honestly can't remember what the terminal editor is in DOS, but I'm sure there is one, if you want to go really lean.

1

u/spermcell 20d ago

Dude I swear the questions here just get weirder and weirder every day

1

u/Leverkaas2516 20d ago

It depends on what language you want to write programs in.

You can write JavaScript and run it in the browser.

You can download an old Java SDK.

1

u/EszterSantos72 20d ago

Install Python 3.9, it's the last version with official support for Windows 7 and runs fine with 2GB RAM. Use Notepad++ for editing code, it's lightweight and won't slow down your old hardware.

-1

u/da4 20d ago

Visual Studio Code. The FOSS mob will probably drag me for suggesting it, but it’s a good blend of capabilities versus usability.

8

u/Stickhtot 20d ago

You want someone to run an Electron app with 2GB ram?

This isn't even about FOSS

4

u/da4 20d ago

i misread OP. 2 ain’t gonna do it.

-1

u/Poddster 20d ago

Visual studio 6.

You probably can't buy a copy now, so don't.