sam.mo...@gmail.com schrieb am Freitag, 28. August 2020 um 09:23:47 UTC+2:
>
>
> On Thursday, August 27, 2020 at 11:38:54 PM UTC-7, Johann Höchtl wrote:
>>
>>
>> Since long I am keeping my go installation up to date by compiling from
>> source. Today on my attempt to update from 1.14.4 to 1.15
On Tue, 2020-09-01 at 17:03 -0700, Ian Lance Taylor wrote:
>
> This is a bug. Sent https://golang.org/cl/252378.
>
> I think that currently cgo -godefs ignores #cgo lines. This was
> recently reported at https://golang.org/issue/41072.
>
> Ian
Thanks, Ian for both of those.
Dan
--
You
It's not a bit array, it's a bool array. Can you make it a bit array and
use bit != 0 for the boolean elsewhere?
-rob
On Wed, Sep 2, 2020 at 5:55 AM Oliver Smith <
oliver.sm...@superevilmegacorp.com> wrote:
> Do godbolt links get eaten? https://godbolt.org/z/vbeobs
>
> On Tuesday, September 1,
On Tue, Sep 1, 2020 at 12:10 AM 'Dan Kortschak' via golang-nuts
wrote:
>
> I am working on some C/Go interop code that includes this horror on the
> C side (TYPE_BITS is 5 and NAMED_BITS is 16):
>
> ```
> struct sxpinfo_struct {
> SEXPTYPE type : TYPE_BITS;
>
Do godbolt links get eaten? https://godbolt.org/z/vbeobs
On Tuesday, September 1, 2020 at 12:53:57 PM UTC-7 Oliver Smith wrote:
> In the process of developing a piece of middleware, I need to translate
> from a bit-array into a bitmask. I am struggling to find a way to express
> this in go that
In the process of developing a piece of middleware, I need to translate
from a bit-array into a bitmask. I am struggling to find a way to express
this in go that doesn't result in terrible performance.
The approaches I would try in most other languages were along the lines of:
```
mask = (bool1
Hi gophers,
We have just released Go 1.15.1 and Go 1.14.8 to address a recently
reported security issue. We recommend that all affected users update to one
of these releases (if you’re not sure which, choose Go 1.15.1).
When a Handler does not explicitly set the Content-Type header, the
net/http/
On Monday, August 31, 2020 at 8:49:00 PM UTC-4, p...@pjebs.com.au wrote:
>
> 1.
> For this Go 2 snippet: https://go2goplay.golang.org/p/vbfBBmjxaMi
>
> Why can't I use square brackets when calling the constructor?
>
This seems to be fixed now: https://go2goplay.golang.org/p/cpKKg5qG5Ve
--
Yo
I am working on some C/Go interop code that includes this horror on the
C side (TYPE_BITS is 5 and NAMED_BITS is 16):
```
struct sxpinfo_struct {
SEXPTYPE type : TYPE_BITS;
/* ==> (FUNSXP == 99) %% 2^5 == 3 == CLOSXP
* -> warning: