Page 1 of 1

Can COBOL be used as a language for Operating System?

Posted: Sat May 25, 2013 1:04 pm
by Akshya Chopra
Hi,

Subject line says it all -- Can we use the COBOL language to develop an Operating System?

Re: Can COBOL be used as a language for Operating System?

Posted: Sat May 25, 2013 6:06 pm
by Anuj Dhawan
The simple answer is No. COBOL is a language developed for the Business Programs' Development and not for developing Operating Systems.

If you are interested in developing Operating Systems - C, C++ can be your choices among many others.

Re: Can COBOL be used as a language for Operating System?

Posted: Sun May 26, 2013 10:55 pm
by Akshya Chopra
Thanks Anuj.

Re: Can COBOL be used as a language for Operating System?

Posted: Mon May 27, 2013 8:17 am
by Anuj Dhawan
You're welcome.

If you're interested to develop an OS of your own - my opinion is to start with FreePascal (http://www.freepascal.org" onclick="window.open(this.href);return false;).

It is portable and you can throw in assembler where you need to, it calls subroutines/functions in a manner that is native to Intel Architecture (something C/C++ does not do) (this is something to do with how it handles the stack - ) much more efficient than C/C++ on Intel unless you reverse the stack growth flag in the Intel Chip itself in your OS to be different from everything else - which would probably not be a good idea.

Re: Can COBOL be used as a language for Operating System?

Posted: Sat Aug 03, 2013 10:18 am
by Akshya Chopra
Thanks Anuj.

Re: Can COBOL be used as a language for Operating System?

Posted: Mon Aug 05, 2013 3:18 pm
by Anuj Dhawan
Glad, you find it helpful. Good Luck.