954,132 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

was windows made with BASIC?

On the bill gates biography it says "Gates developed a version of the programming language BASIC for the first microcomputer" but did he use this language to make windows?

wraph
Newbie Poster
1 post since Apr 2004
Reputation Points: 10
Solved Threads: 0
 

im not thinking they used basic. my guess is they used c and assembly to create windows. and maybe some c++. i couldnt find anything to prove what windows was writen in but im pretty sure it was c and assembly

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 
On the bill gates biography it says "Gates developed a version of the programming language BASIC for the first microcomputer" but did he use this language to make windows?


The two have no relationship to each other. Billy "programmed" BASIC for theAltair 8800 in 1976 (actually, according to the evidence, he dumpster-dived Digital BASIC), the first version of Windows wasn't started until about 6 years later--by which time Gates was no longer a "programmer".

As was pointed out earlier, Windows is a mixture of C and machine language.

TallCool1
Practically a Posting Shark
Team Colleague
865 posts since May 2003
Reputation Points: 149
Solved Threads: 45
 

just having the thought of coding windows in BASIC is already a nightmare. Imagine all the lines of codes that you'll have to do just to make a window move with a mouse showing all its contents... geeesshh...

oalee
cyberkill(ed)
Team Colleague
533 posts since Feb 2004
Reputation Points: 72
Solved Threads: 14
 

it would be too slow with basic anyway. Its a combination of C, assembly/machine code.

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 

They used C, which explains why Windows crashes so often.

Real-tiner
Posting Whiz in Training
207 posts since Dec 2004
Reputation Points: 11
Solved Threads: 8
 
They used C, which explains why Windows crashes so often.


That's an ignorant overgeneralization. You meant to say "The used Cpoorly, which explains why Windows crashes so often."

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

William Gates' claim to the "Programmers Hall of Fame" is DOS, specifically MS-DOS for the the first IBM PC. I think that was written in assembler. It was a great achievement in those early PC days. This comes from a person who used some of the alternative disk operating systems.

The graphical user interface called Windows came later, patterned after an effort at Xerox, and later the Apple Lisa computer. A graphical user interface would have been too much for the slow speed and limited memory of early PCs.

vegaseat
DaniWeb's Hypocrite
Moderator
5,976 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,416
 

I have heard that present day Windows and the .Net framework are being increasingly written in C# (Csharp) rather than the more traditional C++

vegaseat
DaniWeb's Hypocrite
Moderator
5,976 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,416
 

Except that Gates didn't write DOS, he purchased it from some guy for like $10k or something and then turned around and sold it to IBM for tons more money than he paid.

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 
That's an ignorant overgeneralization. You meant to say "The used C poorly, which explains why Windows crashes so often."

No, I mean they used C, instead of some language with stronger runtime checking for errors.

Real-tiner
Posting Whiz in Training
207 posts since Dec 2004
Reputation Points: 11
Solved Threads: 8
 

I was reading his book some time ago.
He made a version for a really really old comp can't remember the name but I know it would not have been strong enough to make windows. I think windows was made in C but I am not sure.

The_Inferno
Newbie Poster
10 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 
Except that Gates didn't write DOS, he purchased it from some guy for like $10k or something and then turned around and sold it to IBM for tons more money than he paid.

It's also said that Gates's DOS was mostly 'dumpster-dived' OS/2, No wonder he grins all the time.

w00dy
Junior Poster in Training
70 posts since Jun 2005
Reputation Points: 11
Solved Threads: 2
 
It's also said that Gates's DOS was mostly 'dumpster-dived' OS/2, No wonder he grins all the time.

I don't think thats very true OS/2 is more of a unix like OS like xenix with lots of DOS support.And MS DOS was made before OS/2.

Elfshadow
Light Poster
27 posts since Jan 2007
Reputation Points: 10
Solved Threads: 0
 
They used C, which explains why Windows crashes so often.



Linux and UNIX are written in C and there the most stable operating systems around IMHO so your point is invalid. Windows is only unstable as it is badly written.

C is the best language in terms of speed (apart from maybe assembley, but thats very cryptic so c is better for writing large apps like whole oses in - i do believe that small parts of windows are in assembler though.)No, I mean they used C, instead of some language with stronger runtime checking for errors.

what other languages?

any modern languages (Python, Java, All of .NET) are all slower than C as they require some sort of framework or interpreter which must be made in a language such as C anyway.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

The most optimized execution speed can only be achieved with assembly code. However, Microsoft's 20,000 programmers would now be half way through the fist version of Windows.

You have to balance execution and development speed to make a little money in the trade.

Ene Uran
Posting Virtuoso
1,722 posts since Aug 2005
Reputation Points: 625
Solved Threads: 212
 

The first version of Windows was written in Pascal. It was so unstable that subsequent versions were written in C. C and Pascal are both compiled languages - they convert your program from something resembling human language into the primitive instructions understood by the machine. Basic was designed as an interpreted teaching language for beginners. Intepreters allow you to chop and change and deal with mistakes without crashing - great for rapid development and learning - but they tend to be much slower than compiled languages.
For that reason Basic would have been unsuitable for writing an operating system.

Thon
Newbie Poster
8 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

DOS was actually an improvement of CP/M.

Compiled Basic would have been suitable.

The reason Pascal was not suitable was that it is not designed to operate ports.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

Windows was originally an application written in Pascal that ran on top of DOS. Pascal was popular in the eighties because it embodied the principles of structured programming. It was a very restrictive language since it was intended to channel the programmer into good programming practice and forbid the bad. It was a real nanny language. Very frustrating. It was overtaken by C which gave the programmer greater freedom especially with hardware.

Thon
Newbie Poster
8 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

It is correct that The Bill didn't write DOS - see http://inventors.about.com/library/weekly/aa033099.htm for a quick history. Also note that the Altair BASIC was also used on the TRS-80, which sold a lot more units than Altair. Windows is indeed C and assembler, with C++ in the later versions. As for NET - it is mostly just a shell over Windows COM technology. COM is still being supported and upgraded by Microsoft, which makes me wonder if NET will ever become a 'real' OS, even in Redmond.

Terry Robinson
Light Poster
27 posts since Apr 2007
Reputation Points: 12
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You