News for hackers. Stuff that matters.
Re:Writing my own init with Go by tkinom on Tuesday February 09, 2016 @02:00PM (#11067755)
Writing init in Go probably have size issue compare to typical C implementation. Last golang helloworld I built was 1.4MB. The /sbin/init in my ubuntu dist is only 194k. Busybox version of init optimized for size/features can be much smaller.

Tough to use it in OpenWRT, DDWrt type of embedded system where system might only have a few megabytes of RAM/ROM.

Re:Writing my own init with Go by CSDude on Tuesday February 09, 2016 @04:14PM (#11068827)
Yeah, you are right. Go is too heavy weight. But the nice thing in Go 1.4+, you can install go std and dynamically link your applications. I will do it in the next blog posts to save some space, but yeah, I would still need some huge lib.