HNHacker News
TopNewBestAskShowJobs

bgongfu

84 karma · joined April 23, 2018

submissionscomments
bgongfu··on Ask HN: What are your favorite terminal programs?
Tetris:

https://github.com/basic-gongfu/cixl/blob/master/examples/ci...

PNG viewer:

https://github.com/basic-gongfu/cximage/blob/master/examples...

Linux/64 binaries may be found here:

https://github.com/basic-gongfu/cxbin/blob/master/linux64

bgongfu··on Why I'm leaving Open Source
I spent decades perfecting my code, never got anything worth mentioning done. To me it was important to realize that it's a way to escape reality, to protect the fuzzy bubble of intellectual masturbation. Truth is; if it doesn't work, no one cares; and rightly so. These days I try hard to stick with solving actual problems and continuously improving solutions; writing code like marathons rather than 100m sprints, growing it like a garden rather than constructing cathedrals.
bgongfu··on Python startup time: milliseconds matter
I'm pretty sure it's too late by now for Python, but I've had some success with compiling C-based interpreters [0] to C; that is, generating the actual C code that the interpreter would execute to run the program. That way you can reuse much of the interpreter, keep the dynamic behavior and still get nimble native executables.

[0] https://github.com/basic-gongfu/cixl#compiling

← PreviousPage 2 of 2