On Thu, May 17, 2018 at 9:56 AM, Juliusz Chroboczek <j...@irif.fr> wrote:
>> If you do this in Go, you should use golang.org/x/sys/unix package
>> rather than the syscall package.
>
> What's the advantage?  (In this particular case, not in general.)

The advantage in this particular case is likely minimal.  The main
advantage is portability.  For example, Go runs on Solaris, but the
syscall package does not support syscall.Select on Solaris.  The
golang.org/x/sys/unix package does.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to