FAQ

On Friday, September 12, 2014 3:27:09 PM UTC+2, Ian Lance Taylor wrote:
On Fri, Sep 12, 2014 at 5:27 AM, Jens Frederich <jfred...@gmail.com
<javascript:>> wrote:
Russ, are addresses fix in memory or can they change on program launch, like
heap addresses in C?
Addresses are fixed while a program is running.

At the moment, when using the gc compiler, addresses will be fixed at
the time the program is built. That is, every time you run the
program you will always get the same address. However, that will not
necessarily always be the case in the future.

Ian
Thanks, good to know.


--
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

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 12, '14 at 10:49a
activeSep 12, '14 at 2:17p
posts6
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase