unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Re: GNU Guile branch, master, updated. v2.1.0-163-g283ab48
       [not found] <E1S5LBe-00014e-4I@vcs.savannah.gnu.org>
@ 2012-03-08  2:29 ` Mark H Weaver
  2012-03-08  9:09   ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2012-03-08  2:29 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Hi Andy,

> commit 283ab48d3f20a5c5281cafc29f0c30c8d8ace9ee
> Author: Andy Wingo <wingo-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
> Date:   Wed Mar 7 19:01:56 2012 +0100
>
>     faster (make-prompt-tag); default-prompt-tag is a parameter
>     
>     * module/ice-9/boot-9.scm (default-prompt-tag): Once parameters have
>       booted, redefine as a parameter.

I fear that making 'default-prompt-tag' a parameter might slow things
down quite a bit on platforms with a slow implementation of thread local
storage.

What's the anticipated use case for this?

     Thanks,
       Mark



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GNU Guile branch, master, updated. v2.1.0-163-g283ab48
  2012-03-08  2:29 ` GNU Guile branch, master, updated. v2.1.0-163-g283ab48 Mark H Weaver
@ 2012-03-08  9:09   ` Andy Wingo
  2012-03-08 14:28     ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Wingo @ 2012-03-08  9:09 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guile-devel

Hi,

On Thu 08 Mar 2012 03:29, Mark H Weaver <mhw@netris.org> writes:

>> commit 283ab48d3f20a5c5281cafc29f0c30c8d8ace9ee
>> Author: Andy Wingo <wingo-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
>> Date:   Wed Mar 7 19:01:56 2012 +0100
>>
>>     faster (make-prompt-tag); default-prompt-tag is a parameter
>>     
>>     * module/ice-9/boot-9.scm (default-prompt-tag): Once parameters have
>>       booted, redefine as a parameter.
>
> I fear that making 'default-prompt-tag' a parameter might slow things
> down quite a bit on platforms with a slow implementation of thread local
> storage.

Not the case!  It shouldn't depend on thread-local storage at all
actually since the VM already has a handle on the current thread and
dynamic state.

> What's the anticipated use case for this?

Parameterizing default prompts?  It allows users to re-set the
user/system process boundary for a dynamic extent.

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GNU Guile branch, master, updated. v2.1.0-163-g283ab48
  2012-03-08  9:09   ` Andy Wingo
@ 2012-03-08 14:28     ` Mark H Weaver
  2012-03-08 14:34       ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2012-03-08 14:28 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Andy Wingo <wingo@pobox.com> writes:

>> I fear that making 'default-prompt-tag' a parameter might slow things
>> down quite a bit on platforms with a slow implementation of thread local
>> storage.
>
> Not the case!  It shouldn't depend on thread-local storage at all
> actually since the VM already has a handle on the current thread and
> dynamic state.

Ah yes, indeed that is true.

>> What's the anticipated use case for this?
>
> Parameterizing default prompts?  It allows users to re-set the
> user/system process boundary for a dynamic extent.

Okay, makes sense.  Sorry for the bother.

   Thanks!
     Mark



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GNU Guile branch, master, updated. v2.1.0-163-g283ab48
  2012-03-08 14:28     ` Mark H Weaver
@ 2012-03-08 14:34       ` Andy Wingo
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2012-03-08 14:34 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guile-devel

On Thu 08 Mar 2012 15:28, Mark H Weaver <mhw@netris.org> writes:

>>> What's the anticipated use case for this?
>>
>> Parameterizing default prompts?  It allows users to re-set the
>> user/system process boundary for a dynamic extent.
>
> Okay, makes sense.  Sorry for the bother.

No problem.  I don't have a deep understanding of how default prompts
can / should be used.  Something that needs some experience, I think.

Regards,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-08 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1S5LBe-00014e-4I@vcs.savannah.gnu.org>
2012-03-08  2:29 ` GNU Guile branch, master, updated. v2.1.0-163-g283ab48 Mark H Weaver
2012-03-08  9:09   ` Andy Wingo
2012-03-08 14:28     ` Mark H Weaver
2012-03-08 14:34       ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).