News for hackers. Stuff that matters.
Re:Iocage – A FreeBSD jail manager by 4ad on Monday November 14, 2016 @06:36AM (#12949104)
Why do you think Go is not the best language for this task?
Re:Iocage – A FreeBSD jail manager by rhabarba on Monday November 14, 2016 @09:47AM (#12950066)
As iocage pretty much only wraps FreeBSD system tasks, I can't see why a language different than "shell scripting" would be an improvement here - does it use API calls instead?
Re:Iocage – A FreeBSD jail manager by 4ad on Monday November 14, 2016 @10:28AM (#12950356)
I have no idea how iocage is being rewritten, but if I were to rewrite iocage in Go I would call the relevant system calls directly. I would not wrap exiting programs or shell scripts.

The iocage shell script was totally unmaintainable. I know because I forked it and used it for my own purposes, until I stopped and wrote my own thing (coincidentally, also in Go). Implementing state machines correctly in shell script is painful.