[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-10-17 Thread Denis Kotov
Stephen J. Turnbull wrote: > Denis Kotov writes: > > See: > > https://youtube.com/clip/UgkxyNe_dsZKinT_RT3UGb-BaP0SnvKteo2o > > No thanks, if it's not text I'm not going to look at it. I don't have > time to watch videos with no explanation, and best guess is 90% of it >

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-10-17 Thread Denis Kotov
Stephen J. Turnbull wrote: > Denis Kotov writes: > > Usually people say that C++ not fit in CPython not knowing C++, > > That's not the issue. There are plenty of people who know C++ who say > the benefits of C++ are not worth the bugs, the effort, and the plain > old chur

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-04-30 Thread Denis Kotov
Stephen J. Turnbull wrote: > The point of C++ standard support level is linking CPython to external > codebases using C++, and at least for the standard CPython currently > supports, the C++ ABI is specific to each compiler and version (for > some compilers), right? Yes, C++ ABI is specific to

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-04-29 Thread Denis Kotov
> From huge codebase experience with C++, it does not cause significantly better (1) Readabillity or (2) Maintainability on its own compared to C I would argue with you on that ... RAII is fundamental C++ feature that improves Maintainability !! Also readability is much better because you work

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-01-16 Thread Denis Kotov
Stephen J. Turnbull wrote: > You take a hunk of the standard library (in this case it would have to > be an accelerator written in C since you want to compare C++ vs. C) or > interpreter code, and translate it to the new syntax. > Now, *INCREF and friends are frequently cited as annoyances or even

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-01-16 Thread Denis Kotov
Yes, each compiler implement its own compiler ABI, but for me it is not a problem at all, just provide build with 3 major compilers gcc/clang (due to binary compatability) and Visual Studio ___ Python-Dev mailing list -- python-dev@python.org To

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2021-04-16 Thread Denis Kotov
Christian Heimes wrote: > On 16/04/2021 19.14, redrad...@gmail.com wrote: > > My personal stop of contributing in CPython is that it is written in pure C > > !! > > I wrote code in both: pure C and C++, but I like writing code in C++, > > because it simplifies things without losing perfomance >

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2021-04-16 Thread Denis Kotov
Antoine Pitrou wrote: > On Fri, 16 Apr 2021 18:08:58 - > "Denis Kotov" redrad...@gmail.com wrote: > > Okay lets try to discuss one by one: > > > > Readability - less code, most code is hidden by abstraction without losing > > performance > > &g

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2021-04-16 Thread Denis Kotov
Ethan Furman wrote: > On 4/16/21 10:43 AM, redrad...@gmail.com wrote: > > Take a look at this video https://www.youtube.com/watch?v=D7Sd8A6_fYU > > or read some articles ... otherwise I will need to spend too many time > > providing evidences to you and after all you will probably will reject >

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2021-04-16 Thread Denis Kotov
edwin@211mainstreet.net wrote: > Anyone who has done a language change on a project knows that it is a huge > disruption. You need solid justification to make such a change. All I have > seen in this thread is personal opinion. Since this is a personal opinion > exchange, I am of the humble