unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/3] gnu: Add go-1.4.
Date: Thu, 14 Jan 2016 23:12:50 +0200	[thread overview]
Message-ID: <20160114231250.4c93fef1@debian-netbook> (raw)
In-Reply-To: <87lh7sp53w.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2313 bytes --]

On Thu, 14 Jan 2016 16:12:35 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
>  [...]  
> 
> [...]
> 
> > +        (replace 'build
> > +          (let* ((bash   (assoc-ref %build-inputs "bash"))
> > +                 (gccgo  (assoc-ref %build-inputs "gccgo"))
> > +                 (output (assoc-ref %outputs "out")))
> > +            (setenv "CC" "gcc")
> > +            (setenv "GOROOT" (getcwd))
> > +            (setenv "GOROOT_BOOTSTRAP" gccgo)
> > +            (setenv "GOROOT_FINAL" output)
> > +            (setenv "CGO_ENABLED" "0")
> > +            (lambda _
> > +              ;; all.bash includes the tests, which fail because they require
> > +              ;; network access, and access to /bin
> > +              (zero? (system* (string-append bash "/bin/bash") "make.bash")))))  
> 
> Why not:
> 
>   (replace 'build
>     (lambda* (#:key inputs #:allow-other-keys)
>       (let ((bash …) …)
>         …
>         (zero? (system* …)))))
> 
> ?

I got that one the same time I changed go-1.5 :)

> > +    (synopsis "Compiled, statically typed language developed by Google")
> > +    (description "Go, also commonly referred to as golang, is a programming
> > + language developed at Google.  Designed primarily for systems programming, it
> > + is a compiled, statically typed language in the tradition of C and C++, with
> > +garbage collection, various safety features and CSP-style concurrent programming
> > +features added.")  
> 
> I would remove “developed by Google” and focus on the technical
> characteristics.
> 
> Also, what’s CSP-style?  :-)

I have no idea :) I scanned golang.org but didn't see anything that looked
usable, so I hit up Wikipedia and that's what it spit out. It seems wikipedia
says: https://en.wikipedia.org/wiki/Communicating_sequential_processes "In
computer science, communicating sequential processes (CSP) is a formal
language for describing patterns of interaction in concurrent systems."

> 
> Thanks!
> 
> Ludo’.

:)

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-01-14 21:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 16:31 [PATCH 0/3] WIP: Go-lang Efraim Flashner
2016-01-12 16:31 ` [PATCH 1/3] gnu: gccgo: Update to 4.9 Efraim Flashner
2016-01-14 15:09   ` Ludovic Courtès
2016-01-12 16:31 ` [PATCH 2/3] gnu: Add go-1.4 Efraim Flashner
2016-01-14 15:12   ` Ludovic Courtès
2016-01-14 21:12     ` Efraim Flashner [this message]
2016-01-15 16:14       ` Ludovic Courtès
2016-01-12 16:31 ` [PATCH 3/3] gnu: Add go-1.5 Efraim Flashner
2016-01-12 20:25   ` Ricardo Wurmus
2016-01-13  9:36     ` Efraim Flashner
2016-01-14 15:13   ` Ludovic Courtès
2016-01-14 15:08 ` [PATCH 0/3] WIP: Go-lang Ludovic Courtès
2016-01-14 19:14   ` Jeff Mickey
2016-01-14 21:40     ` Efraim Flashner
2016-01-14 21:37   ` Leo Famulari
2016-01-14 21:42   ` Efraim Flashner
2016-01-14 19:17 ` Jeff Mickey
2016-01-14 21:37   ` Efraim Flashner
2016-01-14 22:27     ` Jeff Mickey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160114231250.4c93fef1@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).