Can COBOL be used as a language for Operating System?

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

Can COBOL be used as a language for Operating System?

Post by Akshya Chopra »

Hi,

Subject line says it all -- Can we use the COBOL language to develop an Operating System?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post 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.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

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

Post by Akshya Chopra »

Thanks Anuj.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post 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.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

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

Post by Akshya Chopra »

Thanks Anuj.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post by Anuj Dhawan »

Glad, you find it helpful. Good Luck.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”