Jump to content

Writing an OS

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Bioshox

Bioshox

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 207 posts
Hey guys

Is it possible to write an OS and boot it in Java???

If so anybody got any Tutorials? Even if it's just a basic OS that boots and asks for a name and outputs the name you have typed.

Thanks guys.

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Well, microsoft, google, linux, mac... (all the os writer guy) have thousand and thousand of programmer.
If you wish to write your own os by your self, you will have the job of thousand of people.

Plus Java use a virtual machine to load his software, and since virtual machine work on os, you will have to write your own virtual machine (in a other language).

Plus you will have to code each driver for each card you have in your computer, so you will have to do the job of the os compagny, plus the job of the composant compagny...

In other word, this could be done... but this will be very very very very hard... impossible

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
It would be possible, if the hardware had built-in support for the JRE. That's going to be the real sticking point, though it has been done. Java was originally an embedded language for things like microwaves.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Bioshox

Bioshox

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 207 posts
So if you had to recommend a language to learn out of C/C++/C#/Java in order to develop GUI programs, which would you recommend?

Is it possible to develop an OS in any C language?

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Any of them works, but C or C++ will require you to select a GUI library to use. Yes, you can create an OS in C (many are, in fact), though it's pretty common to use some Assembly as well.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
Writing an operating system requires a lot of mental preparation. I jumped at the idea once about a year ago. After about a week or two of research i lost motivation. Motivation to start is one thing motivation to finish is another. Make sure you understand the volume of work required in writing an operating system before you go head first.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users