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.
SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
21–30 of 63 posts
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#22Hello 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…
And JS is a great choice.
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#23When I get the time I’d love to replicate this in Go (since I’m trying to learn Go at the moment). Nice work!
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#24"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!
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#25Earlier 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"
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#26Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#27I'm super jazzed about this. Wonder if there's anything gained by compiling to web assembly? Thanks for making this.
Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#28Re: SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javascript
#29Is there a sample game to view?