A TCP/IP Stack and Web Server In BASIC
A writes "Back in the day, a BASIC interpreter was standard on every home computer system and everyone had to know at least a little BASIC to be able to use their computer. But who would have thought that you could write some serious networking code in BASIC over 20 years later? Just a few days ago, Lee Davison released the BASIC source code for his 6502-based Ethernet web server. The web server runs under his EhBASIC interpreter on the 1 MHz 6502 CPU and is able to blast out web pages at an amazing speed of 20-35 seconds per page!" Sure, it's not really practical, but I give it cool points.
If you want to slashdot it, the IP address is visible in some of the screen shots. It's 169.254.226.132, but I'm not cruel enough to actually turn that into a hyperlink. :-)
ten out of ten for style, but minus several million for good thinking.
//e's lying around. Maybe I'll dig up an ethernet card and see if i can get this to work.
I actually have some Apple
Imagine a beowulf cluster of... Nah...
You cant fight in here, its a war room!
"Pre-slashdotted for your convenience."
with my fax machine. It's not nearly as cool though.
Can the code really be called BASIC? It looks more like tons of in-line assembly code, wrapped in a few ifs and loops.
Isn't he worried about someone else commercialising this?
I've looked at assembly and not understood it, I've looked at C and not understood it, and I think every time I have looked anything in perl I've not understood it. But, now the unthinkable has happened and I've looked at basic and not understood it.
Nyquil = Nectar of the devil
It's the chuncking through those data statements at the end that helps really beats up performance. Defining all those as strings at the beginning will ameliorate that problem.
And here I was thinking this was some sort of obscure Canadian BASIC..
Hmm... you're right.
/.'ed before it's address even makes it to /. to begin with. :-)
This "BASIC" Webserver & TCP/IP Stack will go down in the annals of History as being the first ever webserver to become