OSDev.org

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Re: Glidix re-write
PostPosted: Sat Nov 02, 2019 9:17 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 999
Whenever people talk about rewriting their code, I advise them to reconsider that. Rewrites are rarely productive. It is usually much faster (and less error-prone) to start with some semi-working project and refactor the bad parts than it is to rewrite the project from scratch. If I look at my own projects, I notice that some parts of them have been refactored a lot. Managarm's memory management has been completely refactored at least 2 times. If I look at my stats on GitHub, I notice that I tend to refactor *a lot* of code (e.g., in managarm: 207,750 ++ 154,902 --, not including third party code). LAI has also been completely refactored at least once. Still, it is much more productive to refactor existing components than it is to rewrite them from scratch.

Hint: once you have rewritten your code, you will still not be satisfied with all aspects of its architecture. The latter is just a state that you (or any other software developer) will ever reach for non-toy projects.

_________________
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].


Top
 Profile  
 
 Post subject: Re: Glidix re-write
PostPosted: Sat Nov 09, 2019 7:30 pm 
Offline

Joined: Fri Nov 08, 2019 6:59 pm
Posts: 5
Your OS looks amazing, good luck :mrgreen:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 19 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