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

2021-04-16 Thread redradist
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 anyway (because lots of people is biased and they even do not understand that, it is

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

2021-04-16 Thread redradist
Guys, the issue is that I most of the time see that somebody used C++ for one or two times, did not understand it and left with bad taste ... Please, answer me question, if you will go in gym two times, will you get stop training and say that it does not fit in your life ? __

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

2021-04-16 Thread redradist
Chris Angelico wrote: > On Sat, Apr 17, 2021 at 3:20 AM redrad...@gmail.com wrote: > > The benefits: > > > > You will link with high quality libstdc++ with lots of reusable containers > > without writing your own "buggy" one. > > C++ is much much more maintainable than pure C. It drastically incr

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

2021-04-16 Thread redradist
The benefits: 1. You will link with high quality libstdc++ with lots of reusable containers without writing your own "buggy" one. 2. C++ is much much more maintainable than pure C. It drastically increase number of contributors that what like writing high quality and maintainable code without r

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

2021-04-15 Thread redradist
@Christian Heimes RAII is more than cleaning resource at the end of function, it is that while you are using class - resource will be available ... You can move resource using modern C++ `std::move` ant lots of other features that could improve readability and maintainability of the code ___

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

2021-03-24 Thread redradist
Hi all, What about of using modern C++ in developing CPython ? With C++ we can get the following benefits: 1) Readability - less code, most code is hidden by abstraction without losing performance 2) Maintainability - no code duplication in favor of using reusable classes 3) RAII - Resource Acqu