Re: bigloo-4.5a, release time

Joseph Donaldson <[email protected]> Fri, 4 Nov 2022 01:57:49 +0000 (UTC)
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
------=_Part_1313923_2081636421.1667527069320
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 Hello, Manuel,
Following up on my last email, I have a very simple example demonstrating t=
he problem/oddity I was seeing with vector and tvector. I expect the code b=
elow to print #t but for optimizations -03 and above it prints #f due to tv=
ector optimizations.=C2=A0
;;;; example=20
(module test)
 =C2=A0(typeof (list->vector '(1 0)))
=C2=A0(typeof (vector 1 0))
=C2=A0(print (equal? (list->vector '(1 0))=C2=A0 '#(1 0)))

Thanks,Joe


    On Thursday, November 3, 2022 at 10:42:47 AM PDT, Joseph Donaldson <don=
[email protected]> wrote: =20
=20
  Hello, Manuel,=20

I have also come across another oddity recently with Bigloo and vectors/tve=
ctors; I don't believe it was introduced recently.=C2=A0=C2=A0 equal? does =
not handle tvectors at all, comparing 2 tvectors always returns #f. This ca=
used some problems while porting srfi231 to Bigloo. My test program used ve=
ctor literals which were optimized to tvectors, resulting in test errors wh=
en compared to the normal vectors returned from srfi231. This raised a ques=
tion in my mind. Are vectors and tvectors intended to be distinct? If not, =
should a vector and a tvector with the same contents be equal?
Thanks,Joe=20

    On Wednesday, November 2, 2022 at 12:57:15 AM PDT, Manuel.Serrano@inria=
.fr <[email protected]> wrote: =20
=20
 Hi Everyone,

Bigloo-4.5a is now almost ready and it is time to release it. Please try
to give it a try in the coming days. Unless someone reports a serious probl=
em
this version will be released by next week. In the meantime, I will start
preparing the debian, rapsberry, android, and brew versions. Thanks in adva=
nce
for your help.

--=20
Manuel
   =20
------=_Part_1313923_2081636421.1667527069320
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div class="ydp698524f1yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hello, Manuel,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Following up on my last email, I have a very simple example demonstrating the problem/oddity I was seeing with vector and tvector. I expect the code below to print #t but for optimizations -03 and above it prints #f due to tvector optimizations.</div><div dir="ltr" data-setdir="false">&nbsp;<br></div><div dir="ltr" data-setdir="false">;;;; example <br></div><div dir="ltr" data-setdir="false"><div>(module test)</div><div><br> </div><div>&nbsp;(typeof (list-&gt;vector '(1 0)))<br>&nbsp;(typeof (vector 1 0))<br>&nbsp;(print (equal? (list-&gt;vector '(1 0))&nbsp; '#(1 0)))<br><div><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" 
 data-setdir="false">Joe<br></div></div><div><br></div></div><div><br></div>
        
        </div><div id="ydp3b83393byahoo_quoted_8465935616" class="ydp3b83393byahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, November 3, 2022 at 10:42:47 AM PDT, Joseph Donaldson &lt;[email protected]&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp3b83393byiv7119019733"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="ydp3b83393byiv7119019733ydpf775d11eyahoo-style-wrap"><div></div>
        <div dir="ltr">Hello, Manuel, <br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">I have also come across another oddity recently with Bigloo and vectors/tvectors; I don't believe it was introduced recently.&nbsp;&nbsp; equal? does not handle tvectors at all, comparing 2 tvectors always returns #f. This caused some problems while porting srfi231 to Bigloo. My test program used vector literals which were optimized to tvectors, resulting in test errors when compared to the normal vectors returned from srfi231. This raised a question in my mind. Are vectors and tvectors intended to be distinct? If not, should a vector and a tvector with the same contents be equal?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks,</div><div dir="ltr">Joe <br clea
 r="none"></div><div><br clear="none"></div>
        
        </div><div id="ydp3b83393byiv7119019733yqt97930" class="ydp3b83393byiv7119019733yqt0557876280"><div id="ydp3b83393byiv7119019733ydp71b59601yahoo_quoted_8379904444" class="ydp3b83393byiv7119019733ydp71b59601yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, November 2, 2022 at 12:57:15 AM PDT, [email protected] &lt;[email protected]&gt; wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div dir="ltr">Hi Everyone,<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Bigloo-4.5a is now almost ready and it is time to release it. Please try<br clear="none"></div><div dir="ltr">to give it a try in the coming days. Unless someone reports a serious problem<br clear="none"></div><div dir="ltr">this version will be released by next week. In the meantime, I will start<br clear="none"></div><div dir="ltr">preparing the debian, rapsberry, android, and brew versions. Thanks in advance<br clear="none"></div><div dir="ltr">for your help.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">-- <br clear="none"></div><div dir="ltr">Manuel<br clear="none"></div></div>
            </div>
        </div></div></div></div></div>
            </div>
        </div></body></html>
------=_Part_1313923_2081636421.1667527069320--