HNHacker News
TopNewBestAskShowJobs

ivan4th

478 karma · joined November 24, 2014

submissionscomments
ivan4th··on Show HN: CandyJS – transparent bridge between Go and JavaScript
Nice project! One little remark: I see you're being slightly lazy and using JSON to save some value conversion work. One problem is that this is not very good from a performance standpoint. The other, more serious issue is that your code will not work if someone tries to pass around a data structure containing NaN value, like []float64{math.NaN()} Got bitten by this problem, had to fix it: https://github.com/contactless/wb-rules/commit/067ff7564f16a...
ivan4th··on Show HN: CandyJS – transparent bridge between Go and JavaScript
Duktape is good for scripting. My particular app is a simple rule engine for smart home applications which runs on relatively low-powered ARM board. It would hardly be practical to have Go compiler there, and duktape is resource-efficient ECMAScript engine which serves this purpose just fine.
ivan4th··on GitHub dropped Pygments
Seems like Common Lisp syntax highlighting suffered, too.
← PreviousPage 3 of 3