Live data from Hacker News

WebAssembly COBOL Pong

moxon6.github.io

31–36 of 36 posts

Re: WebAssembly COBOL Pong

#31

Earlier quoted context omitted.

A hidden swipe at evil/vim fans by an emacs author?

No, it's clearly just more sane. Without any knowledge of keyboard escape sequences, why should down come before up?

The existing mapping is ridiculous. A,D,J,L are all in a horizontal line, but are mapped to vertical motions.

There are many choices, but for example, using A/Z for left player up/down and J/M for right player up down would not require any mental work. Once you place your fingers, up is up and down is down.

Re: WebAssembly COBOL Pong

#32
That's impressive!

How did you remove all the bloat generated after Emscripten's compilation?

I've coded a snake game in C and when I compiled, the app.js file itself was ~2mb.

Re: WebAssembly COBOL Pong

#35
post #32

That's impressive! How did you remove all the bloat generated after Emscripten's compilation? I've coded a snake game in C and when I compiled, the app.js file itself was ~2mb.

Try Emscripten's new MINIMAL_RUNTIME option. You can often get js files of just a few Kb.
Post reply on HN