Hello,

On Tue, 1 Dec 2020 16:02:21 +0000
Paul Moore <p.f.mo...@gmail.com> wrote:

> On Tue, 1 Dec 2020 at 15:55, Paul Sokolovsky <pmis...@gmail.com>
> wrote:
> 
> > I also forgot to mention very important point in the intro: when you
> > read this proposal, please don't think about "CPython". That for
> > sure will send you the wrong vibes. Think about "Python". ;-)  
> 
> By which you mean "CPython and all other implementations" I assume?

No, I mean exactly what's written in the proposal: "This proposal seeks
to introduce opt-in "strict execution mode" for Python language
implementations interested in such a feature."

> I'm also -1000 on this proposal, even if you just limit it to CPython.
> 
> It's not at all clear what prompted this idea, 

The proposal is 32+K (whoa, am *I* scribbled all that?!), so I suspect
somewhere in there it makes it clear(er).

> but if you're
> suggesting "modify Python so we can make it faster" then I'd rather
> see a prototype implementation that demonstrated both the limitations
> *and* the improved performance.

Yeah, I'd like to see that too! I just calculated that if betting on
myself, it may take years, or maybe I give up or switch over to
something else, like most other people do. So, I decided to throw over
the fence what I have now - the idea, more or less detailed "spec" for
it, and even an implementation in a niche Python dialect, but exactly
the one of the kind which may benefit from it.

Just imagine that if someone wrote previously such a detailed spec,
which I liked - I might implement it now. And if they actually even
provided a sample implementation, I might now code changes for it in the
compiler, and maybe even run a few tests to provide those performance
figures which you and me so much would like!

Getting thoughts like that, most people I know would reflect them on
themselves, and I'm not an exception. So, I post whatever I have for
peer review, and continue.

> We shouldn't limit the core language
> based simply on speculative benefits that some implementation might be
> able to achieve.

That's why it's introduced as an *opt-in* feature for *interested*
implementations.

> 
> Paul



-- 
Best regards,
 Paul                          mailto:pmis...@gmail.com
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KKY7MQVCMQT7V6ZMLEKH4YBB76QIRWV6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to