On Tue, 1 Dec 2020 21:05:23 +0100 Marco Sulla Marco.Sulla.Python@gmail.com wrote:
I think that what you want is another language, that already exists and it's RPython:
I embarked to read RPython docs several times, and always found that I stop right at the top of that page, at the phrase "The exact definition is “RPython is everything that our translation toolchain can accept” :)".
You know, I can very relate to that phrase. As a little guy, that's how I write my stuff - no proper docs, no nothing, and when somebody comes by asking what's supported or similar, the response is "RTFC!" (where "C" is "code").
But sorry, I just can't take that from a project which for a long time received non-trivial funding and which is supposed to serve as a base for other projects. You can compare that with my "strict mode" proposal where I try to spell out how the flaming thing works, even though the idea is banally simple.
That said, that's my experiences with RPython. What are yours? What have you written with it? I'm especially interested in memory requirements. "Strict mode" is implemented in Pycopy, which can do more or less useful things in 16KB of heap, and the strict mode doesn't regress that much. How does RPython feel in 16KB?