No Computer at Home? How to Keep Coding for Class
Academic programming needs very little, specially in math (my case) assignments are usually one script, some computation, and a plot. That makes this a solvable problem, and usually a cheap one. Here's what works.
On your phone
- Termux (Android): a full Linux environment, Python, NumPy/SciPy, GCC, Octave, Git, SSH. Covers most coursework.
- Acode or similar editor apps, if you prefer something friendlier than a terminal.
- A Bluetooth keyboard makes long sessions comfortable and costs little.
- Avoid renting time at a cybercafé, per-hour costs add up quickly, and your phone already does the job.
In any browser
- OneCompiler, OnlineGDB: compile and run exercises in most course languages.
- Official language playgrounds: Go, Rust, Kotlin and many others have a "try it" site.
- x86-64 Playground: write and step through assembly in the browser — handy for architecture courses.
- GitHub Codespaces: real VS Code plus a Linux machine in a tab. Free monthly allowance; more with the GitHub Student Developer Pack.
- Keep your code in Github from day one, so any device picks up where the last one left off.
For math and science work
- Octave Online: MATLAB-compatible numerical computing, no install. Enough for most numerical methods courses.
- Google Colab: Jupyter notebooks with Python, NumPy, SymPy, matplotlib preinstalled, plots included, files saved to Drive.
- SageMathCell: symbolic math, number theory, algebra in a single cell.
- CoCalc: Sage, R, Octave, Julia and LaTeX in one place; the free tier works for coursework.
- webR / rdrr.io: run R in the browser for statistics assignments.
- Overleaf: LaTeX for reports and homework write-ups, compiled in the browser.
- Desmos and GeoGebra: quick graphing and geometry when a full environment is overkill.
Next to you
- A notebook. Think first, code after. Writing the algorithm on paper saves screen time, and some exams ask for it anyway.
Cheap hardware
- A Raspberry Pi plus any TV or monitor is a complete Linux desktop for the price of a textbook. It runs Python, Octave, R, and LaTeX without complaint, and doubles as a lab tool for physics and electronics courses.
- Secondhand office desktops and old ThinkPads are similar money and often faster worth checking before buying anything new.
When one file isn't enough
Bigger projects, simulations, multiple files, more compute, outgrow the phone. At that point:
- A VPS gives you a real Linux machine reachable from anywhere via SSH or a browser (code-server). DigitalOcean makes setup easy; basic droplets start around $5 USD/month.
- Split it with classmates. Five people sharing one VPS pay about a dollar each. One person administers it; everyone gets an environment for long-running computations too.
Why I wrote this
Of course university has computers, labs, libraries, all of it. But many students find trouble after: the evening before a deadline, the weekend, the semester break, when campus is closed and the homework isn't. I wrote this for my math classmates and for anyone in the same spot.
Hope this guide helps you in your STEM journey UwU