Re: SRFI-151 (Bitwise Operations) Implementation

2020-01-08 Thread Linus Björnstam
I have a port of the SRFI code as well, using renaming of guile and srfi-60 procedures as necessary. It has the make-bitwise-generator from srfi-151. https://bitbucket.org/bjoli/guile-srfi-151/ I will move all that code to sourcehut whenever I have the time since bitbucket is shutting down HG s

Re: SRFI-151 (Bitwise Operations) Implementation

2020-01-08 Thread Zelphir Kaltstahl
Hello Frank, I think I might find good use for this library in one of my projects! Thanks for sharing! Regards, Zelphir On 09.01.2020 05:28, Frank Terbeck wrote: > Hey Guilers! > > Since I got a project that uses (potentially large) integers to encode > bits in registers, I was looking at SR

SRFI-151 (Bitwise Operations) Implementation

2020-01-08 Thread Frank Terbeck
Hey Guilers! Since I got a project that uses (potentially large) integers to encode bits in registers, I was looking at SRFIs that deal with that type of domain. The most recent entry is SRFI-151, which is in final status. Since Guile currently doesn't have an implementation of this SRFI, I

Re: configuring guile packages [was: GNU Guile 2.9.8 Released [beta]]

2020-01-08 Thread Nala Ginrut
Well, I shouldn't since autoconf should deal with it automatically. I remember I did this just because of a workaround, at that time Guile-2.2 has issue to detect the correct version number, and I was hurry to release. Long time ago, I forget to remove it. Best regards On Thu, Jan 9, 2020, 02:24

Re: configuring guile packages [was: GNU Guile 2.9.8 Released [beta]]

2020-01-08 Thread Jason Earl
On Wed, Jan 08 2020, Nala Ginrut wrote: > Finally I found the problem is that I left a m4/guile.m4 in Artanis for > some reasons. It's solved by remove it. > > Thanks for all the helps! > > Best regards > > On Mon, Jan 6, 2020 at 2:56 PM Nala Ginrut wrote: I am far from an expert at Autoconf, an

Re: configuring guile packages [was: GNU Guile 2.9.8 Released [beta]]

2020-01-08 Thread Nala Ginrut
Finally I found the problem is that I left a m4/guile.m4 in Artanis for some reasons. It's solved by remove it. Thanks for all the helps! Best regards On Mon, Jan 6, 2020 at 2:56 PM Nala Ginrut wrote: > Hi Matt! > Thanks for the help. > However, it seems doesn't work for me. I think your solut

Re: Limiting parallelism using futures, parallel forms and fibers

2020-01-08 Thread Chris Vine
On Wed, 8 Jan 2020 08:56:11 +0100 Zelphir Kaltstahl wrote: [snip] > So my questions are: > > - Is there a default / recommended way to limit parallelism for > recursive calls to parallel forms? > > - Is there a better way than a global counter with locking, to limit the > number of futures creat

Re: Limiting parallelism using futures, parallel forms and fibers

2020-01-08 Thread Linus Björnstam
Hi! I don't have much more input than to say that futures use a built in thread pool that is limited to (current-processor-count) threads. That could maybe be modified using setaffinity ? Hope this helps. -- Linus Björnstam On Wed, 8 Jan 2020, at 08:56, Zelphir Kaltstahl wrote: > Hello Gu