Languages That Can Be Used To Develop a OS
Languages That Can Be Used To Develop a OS
Hello,
I'm wondering to know what languages can be used to develop a OS instead of those on the Wiki.
At the time the only one that I know is C#, that you can read more at Cosmos Project
Please, remember to put a link for a tutorial. Just to make us see more and be interested.
Best Regards,
Nathan Paulino Campos
I'm wondering to know what languages can be used to develop a OS instead of those on the Wiki.
At the time the only one that I know is C#, that you can read more at Cosmos Project
Please, remember to put a link for a tutorial. Just to make us see more and be interested.
Best Regards,
Nathan Paulino Campos
Re: Languages That Can Be Used To Develop a OS
Every language .Net supports with a little hackage.
Seriously though, any language could be used to make an OS. Very few are actual "good" choices though.
Seriously though, any language could be used to make an OS. Very few are actual "good" choices though.
Re: Languages That Can Be Used To Develop a OS
Any links to make me interested?earlz wrote:Every language .Net supports with a little hackage.
Seriously though, any language could be used to make an OS. Very few are actual "good" choices though.
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: Languages That Can Be Used To Develop a OS
Well, you can build your house on a rock, on sand, or on swampland, or even in a river if you're patient.Seriously though, any language could be used to make an OS. Very few are actual "good" choices though.
Only one of them is actually a good idea.
Re: Languages That Can Be Used To Develop a OS
I know, but any link?
But at the time, I'm interested on Forth, Smalltalk and something of COBOL. All just for interest.
But at the time, I'm interested on Forth, Smalltalk and something of COBOL. All just for interest.
Re: Languages That Can Be Used To Develop a OS
Thing is, in a general sense, any language can be used for what can be coinsidered an operating system. C, C++, i86 assembly, FreeBASIC are common. Wasnt there someone wanting to create an HTML OS on these forums before?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: Languages That Can Be Used To Develop a OS
Dex? lolneon wrote:Thing is, in a general sense, any language can be used for what can be coinsidered an operating system. C, C++, i86 assembly, FreeBASIC are common. Wasnt there someone wanting to create an HTML OS on these forums before?
I don't know about Smalltalk, but Forth would probably be the easiest out of those because it is just about designed to be it's own OS. That one would actually be pretty neat though because you'd have a Forth shell... btw, creating a Forth compiler would take an experienced programmer about 2 days(for the "useful" subset, that is), so definitely possible to get something barebones up and working quickly.Nathan wrote:I know, but any link?
But at the time, I'm interested on Forth, Smalltalk and something of COBOL. All just for interest.
see http://www.forthos.org/
Re: Languages That Can Be Used To Develop an OS
HTML OS? Good idea. Maybe I'd use something like this for Sunlight OS.. Also, Nathan, I think your signature is too big. Maybe you could fit this code in two lines?
-- Andrew
-- Andrew
- AndrewAPrice
- Member
- Posts: 2303
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: Languages That Can Be Used To Develop a OS
Actually you can use any language, though some may require large run-time environments or ahead-of-time compiling to get up and running. In a microkernel the line is blurred even further, since servers differ very small (if at all) from standard applications, so you could use a Perl VFS, PHP file system driver, and a Javascript window manager, with only the kernel in a more traditional systems language like C.
My OS is Perception.
Re: Languages That Can Be Used To Develop a OS
The bottom line is that the boot loader and the core must be in machine code. In theory, any language could be compiled, but some are better interpreted.
- Combuster
- 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: Languages That Can Be Used To Develop a OS
As in "me 1337 becuz can program HTML"?neon wrote:Wasnt there someone wanting to create an HTML OS on these forums before?
I have seen several references to Web OSes, though. Dex included. But that's a design topic and not a development language.
If you are a SDPDer, you may want to try something in the likes of Haskell or Prolog as the kernel language, but expect it to be the analogy of Matt's quicksand.
OT: Nathan, please shrink your signature.
Re: Languages That Can Be Used To Develop a OS
Then how do you like this: http://haskell.org/haskellwiki/Librarie ... ing_system?Combuster wrote:If you are a SDPDer, you may want to try something in the likes of Haskell or Prolog as the kernel language
- Combuster
- 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: Languages That Can Be Used To Develop a OS
Its a C (micro)kernel with Haskell drivers. It looks pretty much how my OS handles Basic: there's a complete hardware interface in a standard kernel language, and then any hosted language can attach to that.
Re: Languages That Can Be Used To Develop a OS
It almost always comes down to C and assembler, doesn't it?