Live data from Hacker News

SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

script-8.github.io

21–30 of 63 posts

Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

#21
post #15
post #13

Earlier quoted context omitted.

Everything compiles to JS these days, so it is an easy lowest common denominator. Lua is a semantically cleaner alternative but it has relatively less mindshare and hence less third-party support.

>Everything compiles to JS these days, so it is an easy lowest common denominator. That's not even remotely true. JS is only a common denominator for running code in a browser, but the lowest common denominator is still C/C++ and Java, even with native applications vs. Electron.

Shh don't burst the web dev's bubble

Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

#22

Hello everybody, author here. I hope you enjoy my tiny project. Regarding language, I chose Javascript for three reasons: - the (ab)use of `eval` lets you do all sorts of sorcery, like instant evaluation - the JS Redux library makes it easy to work with state, and I couldn't have implemented SCRIPT-8's time-traveling debugger without it - I dream in Javascript I love Lua's small footprint, and very early on I conside…

This is amazing! I'll be letting my kids play with it tomorrow!

And JS is a great choice.

Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

#24
post #3

"8-bit" You keep using that word. I do not think it means what you think it means. Javascript has no 8-bit types, nor does it have memory limits that 8-bit machines had. Pixelated graphics are cool and all, but it does not place you in the same league with people who made games fit in 128 bytes of ram and 2K of ROM, sorry!

You shouldn't take everything so serious, dude. Relax. Enjoy. It's fun.

Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

#25

Earlier quoted context omitted.

Other than the phrase 8-bit fantasy, I couldn't find the phrase 8-bit anywhere on the linked page.

title of submission is " SCRIPT-8: An 8 Bit Fantasy Computer"

There is a big difference between a 8 bit computer and a 8 bit FANTASY computer. But you don't get it, sorry!

Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript

#29

Is there a sample game to view?

There are game-like demos:

- https://script-8.github.io/?id=07b50badd10dc9be002ecb9f9031f...

- https://script-8.github.io/?id=cd8d6811adb3afb472aaf7505729c...

- https://script-8.github.io/?id=7f370bc716aff805f593a3f800087...

Post reply on HN