Looking for Books on Writing Highly Efficient Code

0
4
Asked By CodeNinja77 On

I'm really frustrated with how inefficient many applications are these days, especially those built with frameworks like Electron. For instance, using tools like Todoist, Google Calendar, and other similar apps can eat up to 3.4 GB of RAM just for basic tasks. I want to learn how to create highly efficient applications and eventually replace some of these resource-heavy apps with my own or open-source alternatives. What are the best books I can read to help me master this?

2 Answers

Answered By TechSavvy123 On

To really improve efficiency, I think the focus shouldn't just be on extreme performance but also on avoiding unnecessary complexity. Stick to native GUI systems like GTK, limit custom styling, and minimize dependencies. Only include libraries when you need them, and consider the impact of each feature you add. For things like keypress events, add some delay before executing code to avoid performance hits. It's important to analyze where your code is slow before optimizing it.

Answered By C_Learner88 On

Learning C is a great starting point! It gives you a solid understanding of how computers work, which can be super helpful when you start optimizing code. It’s about grasping the fundamentals, like how data structures in JavaScript compare to C.

CodeNinja77 -

Thanks! Do you have a specific book in mind for learning C?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.