Re: Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
gt;> There is NO WARRANTY, to the extent permitted by law. >> ~ >> >> Are you suggesting, that I copy the code for SRFI 151 from >> somewhere and put it into my project? >> >> Regards, >> >> Zelphir

Re: Use core or SRFIs?

2019-10-24 Thread John Cowan
t; ~ >> >> Are you suggesting, that I copy the code for SRFI 151 from somewhere and >> put it into my project? >> >> Regards, >> >> Zelphir >> On 10/24/19 7:02 PM, John Cowan wrote: >> >> For bitwise integers, I recommend SRFI 151. If

Re: Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
Thanks for your input! This also reads reasonable. On 10/24/19 7:01 PM, Taylan Kammer wrote: > On 24.10.2019 17:55, Zelphir Kaltstahl wrote: >> Hello Guile Users! >> >> I have a question regarding usage of SRFIs in Guile code. >> >> Sometimes there are core fu

Re: Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
gt; For bitwise integers, I recommend SRFI 151.  If you use your >> implementation to provide the seven core functions bitwise-not, >> bitwise-and, bitwise-ior, bitwise-xor, arithmetic-shift, >> integer-length, and bit-count, all of which have definitions in >&g

Re: Use core or SRFIs?

2019-10-24 Thread John Cowan
twise integers, I recommend SRFI 151. If you use your > implementation to provide the seven core functions bitwise-not, > bitwise-and, bitwise-ior, bitwise-xor, arithmetic-shift, integer-length, > and bit-count, all of which have definitions in bitwise-core.scm that are > very slow, then you&

Re: Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
integer-length, and bit-count, all of which have definitions in > bitwise-core.scm that are very slow, then you'll have a package that > can do pretty much what all the bitwise SRFIs provide and more with > acceptable performance. > > There is a conversion table at the end of the

Re: Use core or SRFIs?

2019-10-24 Thread John Cowan
27;ll have a package that can do pretty much what all the bitwise SRFIs provide and more with acceptable performance. There is a conversion table at the end of the SRFI between the names used by other SRFIs and the names used by SRFI 151; they are as close to SRFI 33 and SRFI 60 as practical. It is pa

Re: Use core or SRFIs?

2019-10-24 Thread Taylan Kammer
On 24.10.2019 17:55, Zelphir Kaltstahl wrote: > Hello Guile Users! > > I have a question regarding usage of SRFIs in Guile code. > > Sometimes there are core functions, which are also available from an > SRFI implementation. One example I am currently dealing with are bitwis

Re: Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
t the standard doesn't have. > > On Thu, Oct 24, 2019 at 11:56 PM Zelphir Kaltstahl > mailto:zelphirkaltst...@posteo.de>> wrote: > > Hello Guile Users! > > I have a question regarding usage of SRFIs in Guile code. > > Sometimes there are core fu

Re: Use core or SRFIs?

2019-10-24 Thread Nala Ginrut
; Hello Guile Users! > > I have a question regarding usage of SRFIs in Guile code. > > Sometimes there are core functions, which are also available from an > SRFI implementation. One example I am currently dealing with are bitwise > operations for integer numbers. There is SRFI 60 an

Use core or SRFIs?

2019-10-24 Thread Zelphir Kaltstahl
Hello Guile Users! I have a question regarding usage of SRFIs in Guile code. Sometimes there are core functions, which are also available from an SRFI implementation. One example I am currently dealing with are bitwise operations for integer numbers. There is SRFI 60 and there are the core

Re: SRFIs

2017-09-19 Thread Taylan Ulrich Bayırlı/Kammer
Christopher Howard writes: > Hi, I was just wondering if Guile developers are planning to implement > all the SRFIs eventually, or if they are just picking and choosing a > few here and there? Put another way, is it just a matter of someone > volunteering the time to do each SRFI,

Re: SRFIs

2017-09-18 Thread Ludovic Courtès
Arne Babenhauserheide skribis: > Christopher Howard writes: > >> Do the SRFIs typically require any C hacking? It seems in Guile there >> is usually a C function for each built-in scheme function, but I'm not >> sure how that applies to SRFIs. > > Most should

Re: SRFIs

2017-09-18 Thread Arne Babenhauserheide
Christopher Howard writes: > Do the SRFIs typically require any C hacking? It seems in Guile there > is usually a C function for each built-in scheme function, but I'm not > sure how that applies to SRFIs. Most should not, but they do need good mapping to the performance char

Re: SRFIs

2017-09-18 Thread Christopher Howard
Do the SRFIs typically require any C hacking? It seems in Guile there is usually a C function for each built-in scheme function, but I'm not sure how that applies to SRFIs. On Mon, 2017-09-18 at 16:49 +0200, Ludovic Courtès wrote: > Hello Christopher, > > Christopher Howard skri

Re: SRFIs

2017-09-18 Thread Ludovic Courtès
Hello Christopher, Christopher Howard skribis: > Hi, I was just wondering if Guile developers are planning to implement > all the SRFIs eventually, or if they are just picking and choosing a > few here and there? Put another way, is it just a matter of someone > volunteering the tim

Re: SRFIs

2017-09-17 Thread Amirouche Boubekki
Le 17 sept. 2017 16:49, "Christopher Howard" a écrit : Hi, I was just wondering if Guile developers are planning to implement all the SRFIs eventually, or if they are just picking and choosing a few here and there? Put another way, is it just a matter of someone volunteering the time

SRFIs

2017-09-17 Thread Christopher Howard
Hi, I was just wondering if Guile developers are planning to implement all the SRFIs eventually, or if they are just picking and choosing a few here and there? Put another way, is it just a matter of someone volunteering the time to do each SRFI, or are some not being done on purpose? -- https