OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 6:57 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: is cmake worth studying / using?
PostPosted: Sat Aug 15, 2020 5:11 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
That is very true nullplan. What I think is that you need to balance less code to not introduce bugs and enough optimization to make it fast. In my OS, I use a bitmap physical memory manager, as it is very simple. Not nearly as fast as a free stack approach by default, but in about 10 or 20 lines of code, I managed to optimize to make it almost as fast as a free stack system by using a cache for the allocator. The end result? Simple code, yet optimized to make it fast. But in the production world, speed trumps most things (except security), so perfect speed requires complexity. But "good enough" speed can be done simply.

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group