HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jamsinclair

no profile record

投稿

Show HN: Jump 'n Bump DOS classic rebuilt for the browser with Gamepad API

jumpnbump.net
2 ポイント·投稿者 jamsinclair·4 か月前·0 コメント

Ode to Jump 'n Bump (1998 video game)

jamie.tokyo
2 ポイント·投稿者 jamsinclair·3 年前·3 コメント

コメント

jamsinclair
·3 か月前·議論
The bun build creates a large self-contained executable with no optimisations. Almost like a large electron build.

Deno also provides the same functionality, but with a smaller optimized binary.

Appreciate Bun helping creating healthy competition. I feel like Deno falls under most people's radar often. More security options, faster than Node, built on web standards.
jamsinclair
·3 年前·議論
I know other people have had success compiling the source to WebAssembly with pretty good success, but it's harder to customise in the ways that I wanted.
jamsinclair
·3 年前·議論
Thanks! Great question, the port is quite primitive. It was mostly manual work of copying each function and manually massaging it to JavaScript. TypeScript did a lot of heavy lifting alerting me to various issues and allowed safe refactors.

From there it was adding additional glue code to ensure it worked in the web context and canvas rendering.
jamsinclair
·5 年前·議論
As a local, I can assure you many Japanese do jaywalk in Tokyo. Perhaps it's slightly less frequent and considerate compared to other countries.