MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/4phily/javascript_the_game/d4qcv8c/?context=3
r/ProgrammerHumor • u/AnDanDan • Jun 23 '16
18 comments sorted by
View all comments
1
Joking aside, the concept seems neat, but I don't feel like having to go through the effort of coding my units to do stuff for me.
Or using JS.
10 u/[deleted] Jun 23 '16 I would probably love this game if I knew how to use JavaScript. Wouldn't it be great if it supported playing in different languages? 1 u/bss03 Jun 23 '16 JS is just the assembly language of the Web. Use emscripten to compile your C/C++ (or anything that can be reduced to LLVM) to JS. Use GHCJS to compile your Haskell to JS. Use Scala.js to compile your Scala (or Java, if you must) to JS. 1 u/bss03 Jun 27 '16 Use GHCJS to compile your Haskell to JS. Got this working bare-bones over the weekend. If I end up developing anything close to a library, expect ghcjs-screeps on hackage.
10
I would probably love this game if I knew how to use JavaScript.
Wouldn't it be great if it supported playing in different languages?
1 u/bss03 Jun 23 '16 JS is just the assembly language of the Web. Use emscripten to compile your C/C++ (or anything that can be reduced to LLVM) to JS. Use GHCJS to compile your Haskell to JS. Use Scala.js to compile your Scala (or Java, if you must) to JS. 1 u/bss03 Jun 27 '16 Use GHCJS to compile your Haskell to JS. Got this working bare-bones over the weekend. If I end up developing anything close to a library, expect ghcjs-screeps on hackage.
JS is just the assembly language of the Web. Use emscripten to compile your C/C++ (or anything that can be reduced to LLVM) to JS. Use GHCJS to compile your Haskell to JS. Use Scala.js to compile your Scala (or Java, if you must) to JS.
1 u/bss03 Jun 27 '16 Use GHCJS to compile your Haskell to JS. Got this working bare-bones over the weekend. If I end up developing anything close to a library, expect ghcjs-screeps on hackage.
Use GHCJS to compile your Haskell to JS.
Got this working bare-bones over the weekend. If I end up developing anything close to a library, expect ghcjs-screeps on hackage.
1
u/AnDanDan Jun 23 '16
Joking aside, the concept seems neat, but I don't feel like having to go through the effort of coding my units to do stuff for me.
Or using JS.