[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] gnu: Add go-1.4.
From: |
Efraim Flashner |
Subject: |
Re: [PATCH 2/3] gnu: Add go-1.4. |
Date: |
Thu, 14 Jan 2016 23:12:50 +0200 |
On Thu, 14 Jan 2016 16:12:35 +0100
address@hidden (Ludovic Courtès) wrote:
> Efraim Flashner <address@hidden> 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 <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
pgp5_xAunkgcC.pgp
Description: OpenPGP digital signature