epsilon-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No-threading Poke, PVM correctness


From: Luca Saiu
Subject: No-threading Poke, PVM correctness
Date: Mon, 21 Dec 2020 12:38:22 +0100
User-agent: Gnus (Gnus v5.13), GNU Emacs 27.0.50, x86_64-pc-linux-gnu

Hello.

I am sending a résumé of our recent IRC conversation.

Apart from the problems still to fix in Jitter, on poke's side I have
seen no serious obstacles to support no-threading.

The only real problems I see is the use of large literal arguments or
non-wrapped pointers to static/global data from VM instructions (this in
practice means string literals).

This can be solved by any of the following:
* Making VM instructions using such data non-relocatable;
* not directly using string literals from VM instructions, and instead
  using wrapped globals.
* moving the code using globals to C functions, and call the C functions
  (wrapped!) from VM instructions.

This should be enough to solve poke's side of the issue.  I can help and
send patches when Jitter's side is ready as well.

In my private branch much of Poke just works, this way.  This part does
not worry me.

-- 
Luca Saiu
* My personal web site:  http://ageinghacker.net
* GNU epsilon:           http://www.gnu.org/software/epsilon
* Jitter:                http://ageinghacker.net/projects/jitter

I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]