IRC channel logs

2022-06-22.log

back to list of logs

*yewscion is back (gone for 00:02.03)
***yewscion is now known as yewscion_
***yewscion_ is now known as yewscion
***sneek_ is now known as sneek
***janneke_ is now known as janneke
***rgherdt_ is now known as rgherdt
<stis>Poetric Greetings Guilers!
<tohoyn>Is it possible to obtain the memory address of a guile object? I have used hashq to check if two objects are identical. Of course that method is uncertain.
<stis>object-address
<stis>will do the trick
<tohoyn>stis: tx
<stis>hashq should ne fine though in my experience
***rgherdt_ is now known as rgherdt
<maximed>sneek: later tell tohoyn: To check if two objects are identical, you can use eq?.
<sneek>Got it.
<maximed>sneek: later tell tohoyn: Caveat: eq? is not very meaningfully defined on numbers and c haracters, so maybe you need eqv? instead.
<sneek>Will do.
<tohoyn>maximed: I know. tx anyway.
<sneek>Welcome back tohoyn, you have 2 messages!
<sneek>tohoyn, maximed says: To check if two objects are identical, you can use eq?.
<sneek>tohoyn, maximed says: Caveat: eq? is not very meaningfully defined on numbers and c haracters, so maybe you need eqv? instead.
<maximed>object-address should work too but it just seems so low-level to me ...
<tohoyn>maximed: I use object-address in logging a large program (actually a bootstrapped Theme-D compiler/linker)
<maximed>Ok, seems a sensible use of object addresses to me.
<dsmith-work>Hey Hi Howdy, Guilers
<dsmith-work>sneek: botsnack
<sneek>:)
<dsmith-work>Goodbot
<stis>o/
***rgherdt_ is now known as rgherdt
***rgherdt_ is now known as rgherdt
***X-Scale` is now known as X-Scale