Comment by petilon

6 hours ago

Credit should be given to Digital Equipment Corporation. Back then software isn't what companies made money on, it is hardware. Source code wasn't guarded as a secret as it is today, and you could find print outs in the dumpster [1]. Bill Gates and Paul Allen found the source code of DEC Basic [2] and ported it. (Wikipedia says Microsoft Basic was "inspired by" DEC's PDP-10 BASIC-PLUS.)

[1] https://www.businessinsider.com/10-things-you-didnt-know-abo...

[2] https://www.theregister.com/software/2000/06/29/bill-gates-r...

The Microsoft BASIC syntax is certainly inspired by DEC BASIC, but the actual implementation is completely different. DEC BASIC compiles the program source code into bytecode, while Microsoft BASIC tokenizes each line as it's entered and then interprets the tokens at runtime. You have to remember that minicomputers had vastly different capabilities from 8-bit microcomputers. Even if Gates did look at the code for DEC BASIC, there's not much there he could have used.

From [2]:

> Gates said: "I'd skip out on athletics and go down to this computer center. We were moving ahead very rapidly: Basic, FORTRAN, LISP, PDP-10 machine language, digging out the operating system listings from the trash and studying those."

Is there more context clarifying this means they studied the source code of DEC Basic?