Re: [9fans] Porting 9front.net/go/draw to Plan 9

2015-07-10 Thread yy
On 9 July 2015 at 16:52, Friedrich Psiorz wrote: > Hi! > > I'm currently writing a graphical application in Go that I would like to > be able to run both in Unix and Plan 9. Currently the 9fans.net/go/draw > library only works in Unix, by connecting to p9p devdraw. I am sorry I do not have answer

Re: [9fans] Porting 9front.net/go/draw to Plan 9

2015-07-10 Thread Friedrich Psiorz
Thanks! I still think a real port would be better, and probably not too hard. But your post made me think … maybe it would be nice to separate the front end from the back end, so devdraw would be one possibility, the native file system another and possibly an imported 9fans.net/go/plan9/client a t

Re: [9fans] Porting 9front.net/go/draw to Plan 9

2015-07-10 Thread Skip Tavakkolian
for goplan9 i think the differences can be hidden in Go files with proper build directives (i.e. +build plan9 or +build !plan9). i think once you go past the naming convention and how a 9p connection is posted or opened, things should be the same for plan9 and posix-ish environments. On Fri, Jul 1