NIH

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

NIH

Post by Muazzam »

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.
User avatar
iansjack
Member
Member
Posts: 4689
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: What scripting should I use for building?

Post by iansjack »

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.
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

Re: What scripting should I use for building?

Post by Muazzam »

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.
mallard
Member
Member
Posts: 280
Joined: Tue May 13, 2014 3:02 am
Location: Private, UK

Re: What scripting should I use for building?

Post by mallard »

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
User avatar
iansjack
Member
Member
Posts: 4689
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: What scripting should I use for building?

Post by iansjack »

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).
User avatar
hometue
Member
Member
Posts: 100
Joined: Thu Dec 19, 2013 1:40 am
Location: Asia, Singapore

Re: What scripting should I use for building?

Post by hometue »

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.
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

Re: What scripting should I use for building?

Post by Muazzam »

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.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: What scripting should I use for building?

Post by Combuster »

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 ]
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: What scripting should I use for building?

Post by b.zaar »

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
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: NIH

Post by max »

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.
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: NIH

Post by b.zaar »

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
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: NIH

Post by max »

b.zaar wrote:I'm not that asm guy, I'm the 32 bit Firmware, make++ guy...
I mean the OP :)
Post Reply