Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Embed a JavaScript website inside a binary with Go 1.16 (lawrencejones.dev)
2 points by lawrjone on Feb 16, 2021 | hide | past | favorite | 1 comment


Author here! If you have any cool ideas of how to use this new feature, I'd be really interested to hear them.

One suggestion that is probably a terrible idea is bundling other go binaries into your app. Say fzf, which really wants to be used as a external binary? Embed it and ship the compiled asset alongside your program.

There are many reasons why this might be a bad idea, but I'm sure people are going to try. Might be interesting to see how they go wrong...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: