4 ms·
Rob Pike tweeted about it (the Android version) recently [1]. I ported [2] the app to the web within a few hours. The port involves ~70 lines of Go, 22 lines of
by dmitshur 11y ago
Rob Pike tweeted about it (the Android version) recently [1]. I ported [2] the app to the web within a few hours. The port involves ~70 lines of Go, 22 lines of HTML, and 24 lines of CSS [3].
[1]: https://twitter.com/rob_pike/status/619995629566058496 https://twitter.com/rob_pike/status/619995629566058496
[2]: https://twitter.com/shurcooL/status/620084337401171968 https://twitter.com/shurcooL/status/620084337401171968
[3]: https://twitter.com/shurcooL/status/620343011671609344 https://twitter.com/shurcooL/status/620343011671609344
- ericfrederich 11y agoPython seems faster than this gopherjs solution. I thought they'd be about equal or the JS being faster since JS is supposed to be really fast at math. I ran 2123456 in both and Python was quite fast, Ivy on gohperjs quite slow
- gjm11 11y agoUnfortunately, if you write 2[star][star]123456 in a HN comment, the HN software will decide that this means a 2, then an emphasized empty string, then 123456, and the results will be indistinguishable to readers from the much smaller number 2123456.
- deleted 11y ago[deleted]
- shurcooL 11y agoDo you have a link to the Python version? What was used to generate it? Also, what browser did you use, I'm curious.