quot;don't blow
up", while it's very easy for code that uses generics to "blow up".
It is unclear whether this property will continue to hold if we
introduce abstraction over type constructors.
--
Aram Hăvărneanu
--
You received this message because you are subscribed t
Congratulations on solving the halting problem!
PS: use defer otherwise you aren't panic-safe.
--
Aram Hăvărneanu
--
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
it is purely existential. In fact, if one only wants plain
| ADTs, generics are not needed at all. Go can encode sum
| types, and was always able to.
You will need Go tip to compile this.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
&q
For this type of thing I'd recommend a debugger.
--
Aram Hăvărneanu
--
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...@g
I hope so.
--
Aram Hăvărneanu
--
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, v
Start with go/src/cmd/compile/internal/syntax and go from there.
--
Aram Hăvărneanu
--
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-nut
subscribe to that idea.
--
Aram Hăvărneanu
--
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.
Window's font rendering is simply wrong. Linux's is very similar to macOS's.
I tried the Go fonts in acme, but reverted to Lucida Grande.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubs
The solaris/sparc64 Go port project has been discontinued until further notice.
--
Aram Hăvărneanu
--
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 g
I can guess that you are building a mac binary and then try to run it on Linux.
You need to cross-compile your binary for linux/amd64:
GOOS=linux GOARCH=amd64 go build foo.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts&q
here:
https://github.com/golang/go/issues/23972#issuecomment-368077927
--
Aram Hăvărneanu
--
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+unsubs
ese files could be guarded by build-tags, so old compilers ignore
them, just like how old compilers ignore the go.mod file.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop recei
support function return we would have to change the Go calling
convention.
--
Aram Hăvărneanu
--
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-nut
rs in the
generated C kernel driver (whtout mangling), which then didn't even
compile.
--
Aram Hăvărneanu
--
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
m to be productive
time. Sorry.
--
Aram Hăvărneanu
--
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 op
And certainly neither Google Go nor Google golang.
--
Aram Hăvărneanu
--
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...@google
> nitpick. os3_solaris.go.go set stack size by itself, instead of
> using default one. is it intentional?
You mean why does it explicitely ask for a 2MB stack when 2MB stacks
are the default? I can't remember the exact reason I did that but
it was a workaround for some sort of bug
don't seem to force external
linking, but I am not sure whether internal linking is supposed to
work or not.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emai
The good parts.
--
Aram Hăvărneanu
--
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, v
Because in Go general purpose registers are caller save.
--
Aram Hăvărneanu
--
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-nut
What's the question?
Go works on Solaris 11 and later only (including illumos). It does not
work on Solaris 10 and likely never will because Solaris 10 lacks
event ports.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts&
go get ibm.com/mainframe
--
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.c
nfirm that the conversion done by fontsrv
(using either FreeType or Quartz) is not great.
Thanks,
--
Aram Hăvărneanu
--
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
ard-compatible this way) .
--
Aram Hăvărneanu
--
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 m
internal or external linking.
CGO_ENABLED=1 CC=sparcv9-solaris2.12-gcc GOOS=solaris GOARCH=sparc64 go
build -ldflags='-linkmode=external' foo
If I were you, I would rather find a way to build natively.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to
re assembly than Go these days, and I never have a problem
with the lack of this mapping.
That being said, for sparc64 there is indeed a much better documented mapping.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To
Hi Matt,
There isn't any such document, but you can read the source code or use objdump.
--
Aram Hăvărneanu
--
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, se
mmunity for every type of
individual. It does not mean you have the right to delete it.
--
Aram Hăvărneanu
--
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, sen
Hey, I have a better idea, why not delete golang.org, and the Go
language itself? After all, it is hosted on Google servers, and Google
engages in unethical and illegal behavior:
https://www.quora.com/What-are-examples-of-Google-acting-unethically-or-illegally
--
Aram Hăvărneanu
--
You
need to decide what to do with /r/golang
> (make it private, delete it, pass on ownership and request that
> it be labeled unofficial in the sidebar, etc).
Pass it on to whoever, and make it clear in the sidebar that this is
not officially associated with the Go project.
--
Aram Hăvărneanu
--
On Fri, Nov 18, 2016 at 4:41 AM, Caleb Spare wrote:
> Aram gave me the idea of using //go:linkname as a hacky workaround;
> this doesn't work within a single package
What do you mean exactly? It works here, in fact, I use this.
--
Aram Hăvărneanu
--
You received this message beca
They used to be supported but I think I dropped them with the old C assembler.
--
Aram Hăvărneanu
--
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 g
ual
property
2) someone who realized the thief's command of the
English language is so poor, he cannot be understood.
Thank you.
PS: I suspect it's the thief himself who reported me to your
organization, and because your extrajudicial court works so well,
you have managed to sentence t
/rc4 0.008s
ok crypto/rsa 0.002s
ok crypto/sha1 0.003s
ok crypto/sha256 0.004s
ok crypto/sha512 0.006s
ok crypto/subtle 0.008s
ok crypto/x509 0.002s
? crypto/x509/pkix [no test files]
: emerald:aram;
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the
ith the linker, and success is a binary that just exits
successfully.
--
Aram Hăvărneanu
--
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-
e.
>
> Also, bytes.Replace already exists.
>
Also, slice lengths are signed integers, not unsigned integers. I
suggest you familiarize more with slices before suggest these
"improvements".
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Googl
y exists.
--
Aram Hăvărneanu
--
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://g
You can't use fork in multithreaded programs (except to call exec),
and all Go programs are multithreaded.
You can use os/exec to start new programs, however.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
d and processed by a single program, however the assembly
code required for each target is very different.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails f
uthority over this, but believe it is wrong. The
control structure appeared in Tony Hoare's communicating sequential
processes, and it is present in Go's predecessors developed at Bell
Labs. It's present (at least) in Squeak (although that used the
original CSP, not the revised versi
After all, that
is how they were originally generated, before Go ran on that
platforms.
--
Aram Hăvărneanu
--
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
g is possible, it's just software.
Some people thing everything is feasible too, that's the problem with
our industry; however, in this case what you describe is very
feasible.
I have semi-concrete plans for such a port after I am done with
sparc64 and arm64 SSA.
--
Aram Hăvărne
You might also be interested in
GOOS=linux GOARCH=arm go build -gcflags='-S' foo
or
GOOS=linux GOARCH=arm go build -gcflags='-S' -asmflags='-S' foo
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google Groups
"
On Sun, Aug 7, 2016 at 4:37 AM, gaurav wrote:
> Please let me know if there is something I have missed to read regarding
> this or if there is already a way to achieve this?
There is not.
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Google
https://golang.org/doc/asm
--
Aram Hăvărneanu
--
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 opti
On Wed, Jun 29, 2016 at 3:28 PM, Jingguo Yao wrote:
> Could you point out where you find the format information?
As far as I know, it is not formally documented anywhere (and can
change at any time).
--
Aram Hăvărneanu
--
You received this message because you are subscribed to the Goo
> What is the meaning of +0x2d following the line number?
The address of the assembly instruction relative to the start of the function.
> And what is the meanings of the numbers in
> Commit(0xc8201a86e0, 0x0, 0x0)?
Those are the function arguments.
--
Aram Hăvărneanu
--
You rece
47 matches
Mail list logo