HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jamsinclair

no profile record

Submissions

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

jumpnbump.net
2 points·by jamsinclair·4 месяца назад·0 comments

Ode to Jump 'n Bump (1998 video game)

jamie.tokyo
2 points·by jamsinclair·3 года назад·3 comments

comments

jamsinclair
·3 месяца назад·discuss
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 года назад·discuss
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 года назад·discuss
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 лет назад·discuss
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.