r/AskProgrammers • u/Jeetard15072003 • 2d ago
How to do learn resource Optimization in UI,data speed ?
I have been a programming since a year in job after CS Grad, but I find lot of modern applications like Windows , ReactUI , web browser , Game engines and even individual application to be resource heavy . As we had past decades examples in games , applications for resource efficiency ,
Currently ,I can work with choosing correct Data structure or having same resource from memory,but wanted to learn how I can learn more on it . I did try to read Alexander Stepenov C++,Metal programming or linus related items . But ,lot of it seems complex currently .
I am trying to make my personal widgets like analog clock ,calculator and notes dashboard just as light and fast ui as possible
1
u/feudalle 1d ago
Language has alot to do with it. A web browser is a ton of over head same for react. Ive been programming 30+ years. I started with 512k of ram and a 11 megabyte hard drive. You had to be efficient. Compared to the older dev im a sloppy mess. Your app took 120k of ram, I used to have 64k of ram total kind of thing.
Boot up linux and write something in straight c. Youll see a world of difference. Someone recently built an os to run interface models. It was straight assembly and was only 24k of space.