<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel">
    <title>gmane.comp.lang.go.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39315"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39314"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39313"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39312"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39311"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39310"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39307"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39306"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39303"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39302"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39301"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39300"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39299"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39298"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39297"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.go.devel/39296"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39315">
    <title>Re: code review 6258050: cmd/cgo: give error if imported "C" but not used (issue 6258050)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39315</link>
    <description>&lt;pre&gt;as explained in
https://groups.google.com/group/golang-nuts/browse_thread/thread/b7276c91b9cd4df8#
I think unused import "C" might not match the user's expectation
(only uses the side effect of that C code).

if we must preserve the validity of all Go 1 programs, how about
change it to a warning? (I still believe this is a cgo bug, if it's,
then we are free to correct it)

I've found only one use of unused import "C", that is, packageA
links in a C library, but doesn't use it; while another packageB
imports packageA, use the linked C library without specifying
LDFLAGS again; that will work, but it's very weird and arguably
not idiomatic Go.

http://codereview.appspot.com/6258050/

&lt;/pre&gt;</description>
    <dc:creator>minux.ma-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-26T04:30:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39314">
    <title>Re: code review 6258050: cmd/cgo: give error if imported "C" but not used (issue 6258050)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39314</link>
    <description>&lt;pre&gt;I thought it was incompatible with the 'Go 1' contract to make
programs that previously compile not compile anymore?

&lt;/pre&gt;</description>
    <dc:creator>Rémy Oudompheng</dc:creator>
    <dc:date>2012-05-25T19:45:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39313">
    <title>code review 6258050: cmd/cgo: give error if imported "C" but not used (issue 6258050)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39313</link>
    <description>&lt;pre&gt;Reviewers: golang-dev_googlegroups.com,

Message:
Hello golang-dev-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org (cc: golang-dev-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org),

I'd like you to review this change to
https://code.google.com/p/go/


Description:
cmd/cgo: give error if imported "C" but not used
     runtime/cgo is a special case, so it uses a workaround.

Please review this at http://codereview.appspot.com/6258050/

Affected files:
   M src/cmd/cgo/ast.go
   M src/pkg/runtime/cgo/cgo.go


Index: src/cmd/cgo/ast.go
===================================================================
--- a/src/cmd/cgo/ast.go
+++ b/src/cmd/cgo/ast.go
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -58,6 +58,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;

  // In ast1, find the import "C" line and get any extra C preamble.
  sawC := false
+var importCPos token.Pos
  for _, decl := range ast1.Decls {
  d, ok := decl.(*ast.GenDecl)
  if !ok {
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -69,6 +70,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  continue
  }
  sawC = true
+importCPos = s.Path.Pos()
  if s.Name != nil {
  error_(s.Path.Pos(), `cannot rename import "C"`)
 &lt;/pre&gt;</description>
    <dc:creator>minux.ma-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T17:55:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39312">
    <title>Re: code review 6248049: cmd/6g, cmd/8g: move panicindex calls out of line (issue 6248049)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39312</link>
    <description>&lt;pre&gt;This is great.

I've done this in the code gens of V8 and the JVM in the past - always
moved every code branch that was unlikely to be executed the end. The
IR had a special mechanism just for that (and often those stubs - of
which there were many - could be shared as well, thus reducing the
overall code size).

Results look good. Don't know what happened to Mandelbrot. It doesn't
use complex numbers (the one in shootout).

- gri



On Thu, May 24, 2012 at 11:44 PM,  &amp;lt;rsc-iFWiy5xATs8dnm+yROfE0A&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Robert Griesemer</dc:creator>
    <dc:date>2012-05-25T17:37:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39311">
    <title>Re: code review 6225051: 5a, 5l, math: Add support for ABSD, ABSF floating point... (issue 6225051)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39311</link>
    <description>&lt;pre&gt;Don't you also have to add case 0xeeb10bc4 to src/pkg/runtime/softfloat_arm.c?

Russ

&lt;/pre&gt;</description>
    <dc:creator>Russ Cox</dc:creator>
    <dc:date>2012-05-25T16:14:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39310">
    <title>Re: Re: wanna atomic func..</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39310</link>
    <description>&lt;pre&gt;The general discussion mailing list golang-nuts-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org would
be a more appropriate place for this thread.  Please try asking there.

Russ

&lt;/pre&gt;</description>
    <dc:creator>Russ Cox</dc:creator>
    <dc:date>2012-05-25T16:05:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39309">
    <title>Re: wanna atomic func..</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39309</link>
    <description>&lt;pre&gt;fmt.printf(%d)    ///////  mistake
fmt.Printf("%d",i)  /////// correct

On 5月25日, 午後9:45, まにらふ &amp;lt;plu...-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>まにらふ</dc:creator>
    <dc:date>2012-05-25T15:40:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39308">
    <title>Re: Showstoppers with cross-compilation to TI C6x architecture</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39308</link>
    <description>&lt;pre&gt;

Without libffi support reflect.Call doesn't work and
runtime.Setfinalizer doesn't work.  Everything else should work.  If you
had to you could get runtime.Setfinalizer to  work, but reflect.Call
would be hard.

I took a quick look at the C6x calling convention, and it's quite
simple.  A libffi port should be fairly straightforward.



Segmented stacks are definitely desirable but many Go programs will run
without them.



Yes, getcontext/setcontext/makecontext are easy to implement.
getcontext/setcontext are basically the same as setjmp/longjmp.
makecontext lets you set the stack pointer and the PC.

Ian

&lt;/pre&gt;</description>
    <dc:creator>Ian Lance Taylor</dc:creator>
    <dc:date>2012-05-25T13:39:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39307">
    <title>code review 6225051: 5a, 5l, math: Add support for ABSD, ABSF floating point... (issue 6225051)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39307</link>
    <description>&lt;pre&gt;R=rsc

(sent by gocodereview)

&lt;/pre&gt;</description>
    <dc:creator>dsymonds-iFWiy5xATs8dnm+yROfE0A&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T13:28:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39306">
    <title>Re: code review 6252048: cmd/gc: fix parallel assignment in range (issue 6252048)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39306</link>
    <description>&lt;pre&gt;
lgtm



http://codereview.appspot.com/6252048/

&lt;/pre&gt;</description>
    <dc:creator>ken-hpIqsD4AKlfQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T13:21:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39305">
    <title>Re: code review 6258049: cmd/8c: better fix for 64-bit register smash (issue 6258049)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39305</link>
    <description>&lt;pre&gt;
lgtm



http://codereview.appspot.com/6258049/

&lt;/pre&gt;</description>
    <dc:creator>ken-hpIqsD4AKlfQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T13:18:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39304">
    <title>wanna atomic  func..</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39304</link>
    <description>&lt;pre&gt;4 exmple

a:=int{1,2,3,4,5}
b:=int{3,2,4}

for _,i:=range a|b {
  fmt.printf(%d)            // stdout is 1 2 3 4 5
}

for _,i:=range a&amp;amp;b{
  fmt.printf(%d)            // stdout is 2 3 4
}

if its logical array function, very useful..

&lt;/pre&gt;</description>
    <dc:creator>まにらふ</dc:creator>
    <dc:date>2012-05-25T12:42:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39303">
    <title>wanna atomic  func..</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39303</link>
    <description>&lt;pre&gt;4 exmple

a:=[]int{1,2,3,4,5}
b:=[]int{3,2,4}

for _,i:=range a|b {
  fmt.printf(%d)            // stdout is 1 2 3 4 5
}

for _,i:=range a&amp;amp;b{
  fmt.printf(%d)            // stdout is 2 3 4
}

if its logical array function, very useful..

&lt;/pre&gt;</description>
    <dc:creator>まにらふ</dc:creator>
    <dc:date>2012-05-25T12:45:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39302">
    <title>Showstoppers with cross-compilation to TI C6x architecture</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39302</link>
    <description>&lt;pre&gt;I have a cross-compilation toolchain (derived from codesourcery) towards 
the C6x architecture from TI ( a HOST to C6x-uclibc chain).
The toolchain is able to produce C,C++ compilers.

I started this effort to attempt to run Go on this multi-core DSP.
I know that C6x is a specialized architecture and freshly supported. But 
I would like to use Go on it for it's robustness and the convenience of 
Go operating in a heterogeneous platform.

Starting with GCC 4.7, both Go and C6x are supported. However, the 
combination of these two is not. I will outline my findings, and would 
like some feedback whether this combo is a nogo ;) or that I should 
invest some porting effort to do so.

Currently, Go builds upon two pillars that are currently prohibiting the 
build:

* libffi:
   the C6x architecture is not available within libffi
   the runtime can be build without libffi support, at the cost of 
broken reflection support; we could port libffi to the C6x architecture 
to fix this. So, for an initial attempt this i&lt;/pre&gt;</description>
    <dc:creator>Timon ter Braak</dc:creator>
    <dc:date>2012-05-25T09:53:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39301">
    <title>Re: Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39301</link>
    <description>&lt;pre&gt;

I think we can use crypto++: individual files are placed in public domain.
&lt;/pre&gt;</description>
    <dc:creator>minux</dc:creator>
    <dc:date>2012-05-25T07:04:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39300">
    <title>code review 6248049: cmd/6g, cmd/8g: move panicindex calls out of line (issue 6248049)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39300</link>
    <description>&lt;pre&gt;Reviewers: golang-dev_googlegroups.com,

Message:
Hello golang-dev-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org,

I'd like you to review this change to
https://go.googlecode.com/hg/


Description:
cmd/6g, cmd/8g: move panicindex calls out of line

The old code generated for a bounds check was
                 CMP
                 JLT ok
                 CALL panicindex
         ok:
                 ...

The new code is (once the linker finishes with it):
                 CMP
                 JGE panic
                 ...
         panic:
                 CALL panicindex

which moves the calls out of line, putting more useful
code in each cache line.  This matters especially in tight
loops, such as in Fannkuch.  The benefit is more modest
elsewhere, but real.

 From test/bench/go1, amd64:

benchmark                old ns/op    new ns/op    delta
BenchmarkBinaryTree17   6096092000   6088808000   -0.12%
BenchmarkFannkuch11     6151404000   4020463000  -34.64%
BenchmarkGobDecode        28990050     28894630   -0.33%
&lt;/pre&gt;</description>
    <dc:creator>rsc-iFWiy5xATs8dnm+yROfE0A&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T06:44:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39299">
    <title>Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39299</link>
    <description>&lt;pre&gt;Actually, screw it.

&lt;/pre&gt;</description>
    <dc:creator>Russ Cox</dc:creator>
    <dc:date>2012-05-25T06:21:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39298">
    <title>Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39298</link>
    <description>&lt;pre&gt;*** Abandoned ***

http://codereview.appspot.com/6259043/

&lt;/pre&gt;</description>
    <dc:creator>rsc-iFWiy5xATs8dnm+yROfE0A&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-25T06:22:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39297">
    <title>Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39297</link>
    <description>&lt;pre&gt;PTAL

&lt;/pre&gt;</description>
    <dc:creator>Russ Cox</dc:creator>
    <dc:date>2012-05-25T06:21:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39296">
    <title>Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39296</link>
    <description>&lt;pre&gt;Never mind, you're right: we shouldn't bother with OpenSSL.  Sigh.

Luckily the author of the assembly-generating Perl has made the SHA1
available under a new BSD license, so we can use that.  Now this CL is
just the SHA1 assembly and some refactoring to make assembly easier to
integrate in the other places, but no assembly yet.

Russ

&lt;/pre&gt;</description>
    <dc:creator>Russ Cox</dc:creator>
    <dc:date>2012-05-25T06:21:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.go.devel/39295">
    <title>Re: code review 6259043: crypto: amd64 assembly for hashes (issue 6259043)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.go.devel/39295</link>
    <description>&lt;pre&gt;
Sorry, I didn't select enough lines in the tool.  This is equally
problematic:

* 3. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"

+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"

+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * "This product includes cryptographic software written by
+ * Eric Young (eay-DzJ7PIepUGbby3iVrkZq2A&amp;lt; at &amp;gt;public.gmane.org)"
+ * The word 'cryptographic' can be left out if the rouines from the library
+ * being used are not cryptographic related :-).

At the very least, you should include these required notices in the
top-level license f&lt;/pre&gt;</description>
    <dc:creator>Florian Weimer</dc:creator>
    <dc:date>2012-05-25T06:19:52</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.go.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.go.devel</link>
  </textinput>
</rdf:RDF>

