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 Sun, Aug 7, 2016 at 4:37 AM, gaurav <gauravagarw...@gmail.com> 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 ar
On Wed, Jun 29, 2016 at 3:28 PM, Jingguo Yao <yaojing...@gmail.com> 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 be
> 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
le.
I also ask for this, and confirm 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 emai
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 the Google
ompatible 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 more o
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
"golang-nuts" group.
To u
tecture, so it
can be parsed 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 r
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.
To u
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
to g
terpret this?
Everything 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.
--
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 the wrong person.
--
Aram Hăvărneanu
Go contributor
Not a thief
Crit
dy has
> claimed to have.
>
> 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
ve.
Also, bytes.Replace already 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
compiler, but a nop
when called with 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
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, send an email
to golang-nut
On Fri, Nov 18, 2016 at 4:41 AM, Caleb Spare <cesp...@gmail.com> 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
--
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, sen
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 unsubsc
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
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&q
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
ive
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 options, visit ht
t 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 emails from it, send an email
to golang-nuts+uns
> 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.
--
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
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
to
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
iles 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 receiving
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
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
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
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 unsubscribe from
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
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.
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
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...@google
,
| 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
"g
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, sen
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 to the Google Groups
41 matches
Mail list logo