OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Apr 15, 2024 10:30 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: NIH
PostPosted: Thu Sep 18, 2014 5:49 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 16, 2014 5:59 am
Posts: 543
Location: Shahpur, Layyah, Pakistan
Combuster wrote:
"simple" shell scripts don't reduce compiling 400kloc to the set that actually changed.

But real programmers should use them. If they want to automate this process they should write their own utilities.


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Thu Sep 18, 2014 6:00 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
muazzam wrote:
Combuster wrote:
"simple" shell scripts don't reduce compiling 400kloc to the set that actually changed.

But real programmers should use them. If they want to automate this process they should write their own utilities.


Why? There are perfectly good, well-developed tools available so why not use them?

A cabinet-maker doesn't have to forge his own saws and chisels.


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Thu Sep 18, 2014 6:30 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 16, 2014 5:59 am
Posts: 543
Location: Shahpur, Layyah, Pakistan
iansjack wrote:
Why? There are perfectly good, well-developed tools available so why not use them?

A cabinet-maker doesn't have to forge his own saws and chisels.

Why? There are perfectly good Operating Systems, Why create your own and not use them.
My Advise: Do not depend upon tools made by others, be self-sufficient as long as you can.


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Thu Sep 18, 2014 7:03 am 
Offline
Member
Member

Joined: Tue May 13, 2014 3:02 am
Posts: 280
Location: Private, UK
muazzam wrote:
iansjack wrote:
Why? There are perfectly good, well-developed tools available so why not use them?

A cabinet-maker doesn't have to forge his own saws and chisels.

Why? There are perfectly good Operating Systems, Why create your own and not use them.
My Advise: Do not depend upon tools made by others, be self-sufficient as long as you can.


If you want to write your own built system; by all means, go ahead, but if you want to write your own operating system, don't feel compelled to write a build system as well. Even Microsoft used/uses a variation of "make" (nmake) to build their OS.

Also, you're not Microsoft (or Apple or Sun/Oracle or IBM, etc.). You don't have a team of hundreds/thousands working on your OS. It's completely impractical (if not impossible) to build absolutely everything from scratch in a "one-man" project. Choose carefully what you want to build yourself and what you want to "import" from elsewhere.

_________________
Image


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Thu Sep 18, 2014 8:04 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
muazzam wrote:
iansjack wrote:
Why? There are perfectly good, well-developed tools available so why not use them?

A cabinet-maker doesn't have to forge his own saws and chisels.

Why? There are perfectly good Operating Systems, Why create your own and not use them.
My Advise: Do not depend upon tools made by others, be self-sufficient as long as you can.


So I should write my own microcode? In fact, I guess, I'd better build my own processor, which is going to involve mining my own silicon.

You have to draw a sensible limit somewhere. Me, I'm interested in operating systems. I'm not really interested in reinventing vim, make, etc. (perhaps for the final OS, but not for the development host).


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Thu Sep 18, 2014 8:06 am 
Offline
Member
Member
User avatar

Joined: Thu Dec 19, 2013 1:40 am
Posts: 100
Location: Asia, Singapore
Also, if you are using your own tools, you have to compile your tools to let the others use it (I don't think you should be distributing the binaries). So..., what are you gonna compile your tools with :wink: (I mean unless you don't plan on letting anyone else compile your OS)

_________________
CookieOS. Want a cookie? Its only black and white for now though, probably as bad as my baking skills.


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Fri Sep 19, 2014 4:10 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 16, 2014 5:59 am
Posts: 543
Location: Shahpur, Layyah, Pakistan
Combuster wrote:
contrast, NIH is considered a disease by some, and you might make it look contagious as well.

If NIH is a disease then it is not a bad disease.


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Fri Sep 19, 2014 9:06 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
muazzam wrote:
If NIH is a disease then it is not a bad disease.
It is one that can cost you a job.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: What scripting should I use for building?
PostPosted: Wed Oct 15, 2014 4:46 am 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
Topic wrote:
What scripting should I use for building?


make++

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: NIH
PostPosted: Wed Oct 15, 2014 10:38 am 
Offline
Member
Member
User avatar

Joined: Mon Mar 05, 2012 11:23 am
Posts: 616
Location: Germany
If you actually manage to implement a buildsystem that is usable and suits my needs written in Assembler; then congrats, you wasted an immense amount of time and its not even architecture independent, possibly not even system independent.

I spent a quite good amount of time with implementing Capri and its written in C++ (for many good reasons).

You should maybe understand that we dont want to do you bad when telling you to write in C.

_________________
Ghost OS - GitHub


Top
 Profile  
 
 Post subject: Re: NIH
PostPosted: Wed Oct 15, 2014 12:59 pm 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
max wrote:
If you actually manage to implement a buildsystem that is usable and suits my needs written in Assembler


I'm not that asm guy, I'm the 32 bit Firmware, make++ guy...

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: NIH
PostPosted: Wed Oct 15, 2014 3:54 pm 
Offline
Member
Member
User avatar

Joined: Mon Mar 05, 2012 11:23 am
Posts: 616
Location: Germany
b.zaar wrote:
I'm not that asm guy, I'm the 32 bit Firmware, make++ guy...

I mean the OP :)

_________________
Ghost OS - GitHub


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

All times are UTC - 6 hours


Who is online

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