Help - Search - Members - Calendar
Full Version: Appropriate Language For Writing An Operating System
Sal's RuneScape Forum > Everything... Not RuneScape > Tech Talk > Programming & Web Development
Kev
I would like to start looking at building an operating system, i don't expect to have it finished within the next 3/4 years but i would like to start learning the languages to do it.

What do you recommend?

Can you use C++?

I'm fluent in Visual Basic (No use, obviously), C# and Java.
Veni vidi vici
I would go with C# and C++.
It is going to take quite some time, and unless you can do thousands of graphics, like Microsoft, it would have to be quite simple.
~Vincent

Do you even know what you're saying? Please don't post here if you are sure of your answer.

^ Oh, fini... Never can get a pun can he?
Kev
QUOTE (Veni vidi vici @ Oct 24 2009, 09:56 PM) *
I would go with C# and C++.
It is going to take quite some time, and unless you can do thousands of graphics, like Microsoft, it would have to be quite simple.
~Vincent


C# isn't capable because it requires the Microsoft framework, i know it's going to take a long time, but it's something that i'm interested in.
Veni vidi vici
You know, in theory, you could build an os purely off of Java and C++.

It wouldn't be much, but it would have some simple things.
~Vincent
cjgone
What do you mean by fluent? Knowing how to use all the basic programming commands isn't good enough to write an operating system.
Kaibamanjrs
use C, thats what it was made for.
Samarkov
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif
cjgone
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .
Kaibamanjrs
QUOTE (cjgone @ Oct 31 2009, 06:26 PM) *
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .

write with c, use assembly to rewrite things that perform slowly in c
cjgone
QUOTE (Kaibamanjrs @ Nov 2 2009, 11:52 AM) *
QUOTE (cjgone @ Oct 31 2009, 06:26 PM) *
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .

write with c, use assembly to rewrite things that perform slowly in c

What's wrong with C++?
Kaibamanjrs
QUOTE (cjgone @ Nov 2 2009, 04:20 PM) *
QUOTE (Kaibamanjrs @ Nov 2 2009, 11:52 AM) *
QUOTE (cjgone @ Oct 31 2009, 06:26 PM) *
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .

write with c, use assembly to rewrite things that perform slowly in c

What's wrong with C++?

its slower. you cant have slowness
cjgone
QUOTE (Kaibamanjrs @ Nov 2 2009, 06:57 PM) *
QUOTE (cjgone @ Nov 2 2009, 04:20 PM) *
QUOTE (Kaibamanjrs @ Nov 2 2009, 11:52 AM) *
QUOTE (cjgone @ Oct 31 2009, 06:26 PM) *
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .

write with c, use assembly to rewrite things that perform slowly in c

What's wrong with C++?

its slower. you cant have slowness


I'm not sure about it being slower, but the time it will take to write it in C++ will be worth it. The benefits of C++ are most definitely worth it.
Arctic Wolf
QUOTE (Veni vidi vici @ Oct 25 2009, 12:54 AM) *
You know, in theory, you could build an os purely off of Java and C++.

It wouldn't be much, but it would have some simple things.
~Vincent


There is accually a few Java OS around for open source viewing.
http://sourceforge.net/projects/jnode/ - is the one is was told about a while back.
It hasn't changed much since I revised it.
Kev
QUOTE (cjgone @ Nov 4 2009, 07:20 AM) *
QUOTE (Kaibamanjrs @ Nov 2 2009, 06:57 PM) *
QUOTE (cjgone @ Nov 2 2009, 04:20 PM) *
QUOTE (Kaibamanjrs @ Nov 2 2009, 11:52 AM) *
QUOTE (cjgone @ Oct 31 2009, 06:26 PM) *
QUOTE (Samarkov @ Oct 29 2009, 11:55 PM) *
I've heard using assembler is the way to go. It's one hell of a trek, but you can do really anything you need with it..

~~Samarkov king.gif



Assembler with C or C++ .

write with c, use assembly to rewrite things that perform slowly in c

What's wrong with C++?

its slower. you cant have slowness


I'm not sure about it being slower, but the time it will take to write it in C++ will be worth it. The benefits of C++ are most definitely worth it.


I've heard theres some things you cannot use for an operating system in C++ and C is the way to go, but i'll definitely take a closer look into assembly.

Thanks for everyones help, further opinions appreciated. smile.gif
Peace
Or you could create your own Linux Operating System... It's not easy but it's easier then the task your looking at. I created a really simple bare bone's O.S. that ran off a thumb drive only to have that thumb drive lost/stolen sad.gif If this sound's more appeasing then all that C coding I'm sure I have the bookmarks from that project somewhere on my computer to give to you.

BTW, Nice to see you again Kev.
Caboose
I'm pretty sure they weren't trying to start from scratch... It would be interesting to see a Java OS.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.