FAQ
I have some amd64 asm code at
https://github.com/golang/snappy/blob/master/encode_amd64.s

Preliminary numbers suggest that it's faster than the C++ Snappy
implemenation. One of the C++ Snappy maintainers asks: "Is your
assembler code position-independent?"

I don't know. Is it?

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Michael Hudson-Doyle at Apr 24, 2016 at 9:57 am

    On 24 April 2016 at 21:36, Nigel Tao wrote:
    I have some amd64 asm code at
    https://github.com/golang/snappy/blob/master/encode_amd64.s

    Preliminary numbers suggest that it's faster than the C++ Snappy
    implemenation. One of the C++ Snappy maintainers asks: "Is your
    assembler code position-independent?"

    I don't know. Is it?
    Yes. It's too late in the evening for me to be sure that it's
    impossible to write a position dependent amd64 .s file, but if you're
    unsure. compile it into a binary with -buildmode=pie and see if the
    host linker complains at you.

    Cheers,
    mwh

    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedApr 24, '16 at 9:36a
activeApr 24, '16 at 9:57a
posts2
users2
websitegolang.org

2 users in discussion

Nigel Tao: 1 post Michael Hudson-Doyle: 1 post

People

Translate

site design / logo © 2021 Grokbase