Re: mmap for guile

2022-07-19 Thread Maxime Devos
Ludovic Courtès schreef op ma 04-07-2022 om 12:09 [+0200]: > > Also, what if you mmap a region, use bytevector->pointer and pass > > it to > > some C thing, which saves the pointer somewhere where boehm-gc can > > find > > it and boehm-gc considers it to be live, is there something that > > prevent

Re: mmap for guile

2022-07-19 Thread Maxime Devos
Ludovic Courtès schreef op ma 04-07-2022 om 12:09 [+0200]: > But we could provide special semantics: the bytevector would become > zero-length (possible, but weird, as Maxime points out), or it would > be turned into a /dev/zero mapping (weird as well). > > Thoughts? The former is weird and can c

Re: mmap for guile

2022-07-19 Thread Maxime Devos
Ludovic Courtès schreef op ma 04-07-2022 om 12:09 [+0200]: > I don’t think the optimizer makes any such assumption, except for > literal bytevectors. It _does_ assume that bytevector lengths don't change: ,use (rnrs bytevectors) ,compile (bytevector-u8-ref some-variable 999) ;;; : warning: possi

Tom Lord passing

2022-07-19 Thread Andy Tai
Thomas Lord was an early (or the first?) maintainer of guile from https://berkeleydailyplanet.com/issue/2022-06-26/article/49837 Obituaries Thomas Lord 1966-2022 Trina Pundurs Monday June 27, 2022 - 05:21:00 PM Thomas Lord was born April 26, 1966 in Pittsburgh, Pennsylvania, where he lived unt