Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Programming language for making OS

I am speculating about suitable pl(programming language) which enable to me create my own OS. I now that this choice is very important for whole development. I am not satisfied with existing pl so I shall design my own. But this problem hold back whole project. So if somebody know please help me.
«1

Comments

  • kuramakurama Posts: 1Member
    have you tried linux?
    it will help you understand the systems behind an os and will probably help you make one...
    do not think that it is more on console...
    you can create a gui for it...
    try it...

  • PrzemekG_PrzemekG_ Posts: 595Member
    I arrived to the same conclusion like you. I'm writing a compiler myself for the purpose of creating an OS.
  • DennisRDennisR Posts: 2Member
    : I'm writing a compiler myself for the purpose of creating an OS.
    :

    Consider http://www.pld2.com which is already a mature language for developing embedded systems. Highlights: no runtime, extensive compile-time programmability, processor instruction set programmable, rapid context compile-time switching between 4 codesets, more.

    Dennis
    DennisR@dair.com http://www.dair.com
  • vytzkavytzka Posts: 17Member
    : have you tried linux?
    : it will help you understand the systems behind an os and will probably help you make one...
    : do not think that it is more on console...
    : you can create a gui for it...
    : try it...

    Oh, yes, this is really true, not only for Linux, but also for *BSD and HURD. And do you really think you'll need your own programming language? I mean *really*? Although I'd be really glad to participate in such a great project anyway :).

  • compuchipcompuchip Posts: 273Member
    I have seen various times now, that programmers like to do a lot of work, and always want to re-invent the wheel.
    I must admit, it gives more satisfaction to make something yourself, but isn't it quicker and better to use things that someone else has already done for you?
    I do believe C++ and ASM together are very powerful, though there are of course some disadvantages.
    Now if everyone who posted here would work together, instead of writing 2 compilers, 4 OS's and some programming languages, maybe that would be more useful.
    I'd be happy to "help" and learn something!!!

    : : I'm writing a compiler myself for the purpose of creating an OS.
    : :
    :
    : Consider http://www.pld2.com which is already a mature language for developing embedded systems. Highlights: no runtime, extensive compile-time programmability, processor instruction set programmable, rapid context compile-time switching between 4 codesets, more.
    :
    : Dennis
    : DennisR@dair.com http://www.dair.com
    :

  • vytzkavytzka Posts: 17Member
    : Now if everyone who posted here would work together, instead of writing 2 compilers, 4 OS's and some programming languages, maybe that would be more useful.
    I give up :).
    Vytzka.
  • Dr.MobiusDr.Mobius Posts: 14Member
    Well...
    Before time, I wanted to join to some os project so as I will be helpful but I didnt find nothing appropriate. Mostly it was some inconsiderable little os project with educational purposes. I found a few good project but everything was created in C and mostly based on Unix. I found AtheOS on www.atheos.cx but it is based on unix too. I found that frequently used pl is just C. It is good but too complicated
    and too old. There are many better pl, but C is the most wide-spread.(I'm afraid :-)). What about smalltalk, modula or other?(I dont know many).
    However, this isnt my general problem. I look to future and I realize that I will have to write pl for my OS(to make app in it). So I can write it now and only rewrite in future. Another requirement is that I need compile my OS to different platform(in the concrete for my microcomputer with Z80 CPU, later with I8086) It is a long story.. Additional nowaday pls is to complicated and It is easy to make a mistake.
    Obviously It was look crazy but I am not content because I am more ambitious...

    Rather I would write Czech language..."Anglictina je sice jednoduch jazyk, ale clovek se ho nenauc pres noc."...but it looks understandable.
  • PrzemekG_PrzemekG_ Posts: 595Member
    I don't know how smalltalk but modula is an interpreted language, as so, it can ron be run in a pure hardcore environement with only bios calls.

    To make a portable OS, unfortunatly you need C or Pascal (they have the greater portability), but you won't be able to hardcore any assembler code (like small drivers).
  • jasonpsagejasonpsage Posts: 37Member
    : I am speculating about suitable pl(programming language) which enable to me create my own OS. I now that this choice is very important for whole development. I am not satisfied with existing pl so I shall design my own. But this problem hold back whole project. So if somebody know please help me.
    :
    I've read the other threads and my opinion is to go with FreePascal (www.freepascal.org)
    It is portable, writes lean mean code, 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) (has to do with how it handles the stack - much more effiecient 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)


  • brain_insidebrain_inside Posts: 40Member
    : To make a portable OS, unfortunatly you need C or Pascal (they have the greater portability)

    I'm also planning to write my own OS (who doesn't :) ) and I want to use Pascal and Asm. Do you know any usable Pascal compiler which can output NASM compatible code? I have tried FreePascal which is very good IMHO but haven't found something to do this.
«1
Sign In or Register to comment.