Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #123298

Re: ANN: Dogelog Player 1.1.5 (HTTP Server)

Path csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.javascript
Subject Re: ANN: Dogelog Player 1.1.5 (HTTP Server)
Date Wed, 21 Feb 2024 13:37:51 +0100
Message-ID <ur4qqu$dq1q$1@solani.org> (permalink)
References <uojet0$phpb$2@solani.org> <uoo65n$ru5h$3@solani.org> <uoqmjs$t68e$3@solani.org> <upiggd$18ave$3@solani.org> <uq6nnt$1jfbj$2@solani.org> <ur2ish$ci33$2@solani.org> <ur2v8l$2lhr7$3@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Wed, 21 Feb 2024 12:37:50 -0000 (UTC)
Injection-Info solani.org; logging-data="452666"; mail-complaints-to="abuse@news.solani.org"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1
Cancel-Lock sha1:6k7vcSu2q96g+eV+IB5rtcRUabg=
X-User-ID eJwFwYEBwCAIA7CXRGgL5zjQ/09YAqexFQQDD28ibQ9x6y50uCbssjqdtcPTXn0656ztOSEYpS0JAr3n+wEt/hQx
In-Reply-To <ur2v8l$2lhr7$3@dont-email.me>
Xref csiph.com comp.lang.javascript:123298

Show key headers only | View raw


Thanks for asking. I made the Prolog system
source code docu a little bit clearer now:

 From the JavaScript file "machine.mjs":

/**
  * Run a callback once, i.e. no choice point or trailing left
  * behind. Callbacks are run with auto-yield disabled and
  * promises are not accepted, i.e. run "stackless" on top of the
  * given main stack or side stack. "stackless" because completion,
  * i.e. return or exception by the callback, is the only context switch.
  */
export function launch(form, buf, params);

/**
  * Run a task once, i.e. no choice point or trailing left
  * behind. Tasks are run with auto-yield enabled and promises are
  * accepted, i.e. run "stackfull" on top of the given main stack
  * or side stack. "stackfull" because not only completion, i.e.
  * return or exception by the task, cause a context switch, but
  * also await of an auto-yield or promise.
  */
export async function launch_async(form, buf, params);

You find this in the Dogelog Player GIT.

Lawrence D'Oliveiro schrieb:
> On Tue, 20 Feb 2024 17:09:53 +0100, Mild Shock wrote:
> 
>> The idea is that threads use a bouncer semaphore to get a permission to
>> execute and thus become “coroutines”.
> 
> But they are still stackful coroutines, not stackless.
> 

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-10 03:41 +0100
  Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-20 17:09 +0100
    Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-02-20 19:41 +0000
      Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 00:54 +0100
        Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 00:56 +0100
          Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 01:13 +0100
            Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <bursejan@gmail.com> - 2024-02-20 16:20 -0800
      Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 13:37 +0100
        Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-03-03 20:26 +0100

csiph-web