which language???

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
zedian
Posts: 3
Joined: Wed Nov 26, 2008 8:58 am

which language???

Post by zedian »

i want to make a OS and wanted to know which langusge is best for it...
I will be highly grateful to you if u tell this to me.. [-o< ..
Thnx..
User avatar
Combuster
Member
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: which language???

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Velko
Member
Member
Posts: 153
Joined: Fri Oct 03, 2008 4:13 am
Location: Ogre, Latvia, EU

Re: which language???

Post by Velko »

zedian wrote:i want to make a OS and wanted to know which language is best for it...
Usually it's C and (where necessary) ASM.
If something looks overcomplicated, most likely it is.
leledumbo
Member
Member
Posts: 103
Joined: Wed Apr 23, 2008 8:46 pm

Re: which language???

Post by leledumbo »

The one you know best
zedian
Posts: 3
Joined: Wed Nov 26, 2008 8:58 am

Re: which language???

Post by zedian »

thnx for all ur nice replies..
I will do c first and then assembly...
Any other lang. which i shoud do...?????
skyking
Member
Member
Posts: 174
Joined: Sun Jan 06, 2008 8:41 am

Re: which language???

Post by skyking »

zedian wrote:thnx for all ur nice replies..
I will do c first and then assembly...
Any other lang. which i shoud do...?????
If you have to ask: no/none.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: which language???

Post by Troy Martin »

I use pure assembly, but that's because I'm a low-level junkie.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
leledumbo
Member
Member
Posts: 103
Joined: Wed Apr 23, 2008 8:46 pm

Re: which language???

Post by leledumbo »

Any other lang. which i shoud do...?????
Any language is theoritically possible. There are OSes written in (Object) Pascal, Modula-X*, (Active) Oberon-X*, Ada, Java, Perl (not really sure), Ruby (only one and it seems dead), Smalltalk, and many more. My friend even wants to start OSdeving with Lua (multithreading support at language level, even on OS without multithreading capability), with the interpreter written in C or ASM. I myself use Pascal.

*) It can be 2 or 3 for Modula, and 1 or 2 for Oberon
zedian
Posts: 3
Joined: Wed Nov 26, 2008 8:58 am

Re: which language???

Post by zedian »

which c compiler is best for os development...
leledumbo
Member
Member
Posts: 103
Joined: Wed Apr 23, 2008 8:46 pm

Re: which language???

Post by leledumbo »

which c compiler is best for os development
gcc
User avatar
Combuster
Member
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: which language???

Post by Combuster »

Locked for consequently not doing research. This question was answered in the link that was provided earlier this thread, which was also directly linked from the forum rules.

If you plan on doing further OS development, you must have the capabilities to do your own research, and not by asking everybody here the fundamental questions over and over.

I urge you to read this nice document and stick to the forum rules, to show us that you're not some mindless drone.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Locked