From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <0ce81c0d523e2d6b9e56042460ec61d6@coraid.com> References: <0ce81c0d523e2d6b9e56042460ec61d6@coraid.com> Date: Mon, 29 Apr 2013 14:22:20 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] [GSOC 2013] Implement plan9 commands in Go, Goblin Topicbox-Message-UUID: 4baafd44-ead8-11e9-9d60-3106f5b1d025 > do you envision a system with no shell at all? I haven't thought about a system, but as I was going through a similar exercise I decided that instead of copying the code I would put on my go hat on and implement from scratch with whatever tools go gave me. Freq for example uses the standard hashmap. Cmp, comm and uniq spawn readers that concurrently gobble up the inputs while a state machine implements the logic via select{} on channels. I can see those willing to build a system out of this leveraging go's fast compilation and distribute only a shell and compiler+linker, but I can't speak for them. Of course, the benefits of such a rewrite for the sake of "re-imagination" are only marginal in most cases because the Plan 9 programs are very well thought-out high quality code. I just don't want to see it blindly rewritten without any thought put into it. Or, rather, don't want to do it myself :)