2021年11月15日月曜日

The future roadmap VerUP of the programming language Python that WEB programmer Masahiro Ishizuka personally desires.

The coding convention PEP8 is a standard Python convention,

As a result, it is better to become a standard standard even in development environments such as Git and editors such as VSC in the future.

This is the knowledge that every Python programmer who can make everyone happy should know.

Click here for Google search results

https://www.google.com/search?q=PEP8&sxsrf=AOaemvJqsA4lsCQqGtVN4LJd2CIzJr0O-w%3A1634684954032&ei=GlBvYYO-AdiKr7wP5YOD4A8&ved=0ahUKEwiDs4SAzNfzAhVYxYsBHeXBAPwQ4dUDCA4&oq=PEP8&gs_lcp=Cgdnd3Mtd2l6EAwyDggAEIAEELEDEIMBELADMggIABCABBCwAzIICAAQgAQQsAMyCAgAEIAEELADMggIABCABBCwAzIICAAQgAQQsAMyCAgAEIAEELADMggIABCABBCwA0oECEEYAVAAWABg1sgBaAFwAHgAgAEAiAEAkgEAmAEAoAECyAEIwAEB&sclient=gws-wiz



If Python follows the standard rules of PEP8 with the whole team and develops WEB sites etc.

It is easy to see and maintain even source code developed by teams or others.

As of November 2021, the operation of Python is slow, but it is speeded up by calling Rust on the server side, but including Python and a framework that supports 1 million accesses per second, AI libraries etc. Rust or in the future, if the vulnerability problem becomes as secure as Rust in V language, I sincerely hope that it will be a roadmap for rewriting Python functions and frameworks in V language.

Python is also excellent in terms of the merit that the AI ​​source code is easy to write.

■ Python Japronto ) seems to have millions of accesses per second according to other benchmarks, which is the performance of C10K X 100.

Original English resource
https://github.com/squeaky-pl/japronto
and
Google Translate
https://translate.google.com/translate?hl=ja&sl=en&tl=ja&u=https%3A%2F%2Fgithub. com% 2Fsqueaky-pl% 2Fjapronto
Conditions: AMD Opteron, 2.4 GHz, 4 cores [1]
serversetupNumber of requests per second
Tornadonginx , four frontends8213
TornadoOne single-threaded frontend3353
DjangoApache / mod_wsgi2223
web.pyApache / mod_wsgi2066
CherryPyStandalone785
 You can see that Django has 2,213 cases per second, Tornado has 8,213 cases per second, and Cyclone has 10,000 cases per second.








Japronto 1,000,000 cases per second


You can see that Japronto is great because it can be processed However, as of October 2021, Python does not yet support true multi-core and multi-threading. In 2018, Java will be a very expensive paid version, and the version upgrade will be fierce, and companies will be able to provide a sense of unity in the source code even when developing as a team because problems such as memory leaks have been solved by supporting 10,000 simultaneous access of clients. It is a programming language that can maintain a certain quality of code, and unlike Node.js, Java, and GoLang, it does not have garbage collection, so Rust and VLang or Rust and VLang are mission-critical programming languages ​​that do not slow down processing and slow down response. , I can recommend Python that looks like Python and the contents are modified with Rust to speed up. Of course, we also support asynchronous, multi-core, multi-threaded, and C10K problems. ■ Python (Django)  Japronto ) □ Advantages It is highly reliable because it is also used by Google, Youtube, NASA, JAXA, etc. Free online learning is substantial and relatively easy to remember with Python alone The visibility of the code is good. Even if it is developed by a team and developed by others, it is easy to create the same non-unique source code. It is easy to maintain because it is easy to read and understand the structure, whether you or someone else, even after a few years. There are quite a few books on Python alone on Amazon.












Online learning is available at PyQ, Paiza and Udemy.
Python is slow, but there is also a way to call Rust on the server side for speedup.
If possible, it will look like Python, and if you can rewrite everything with Rust, it will be the ideal programming language. This is because Python is the easiest to write for AI programming because it is fast and has a rich AI library.
Anyway, I want you to say it from the beginning.
If you want to rewrite everything, I would like you to rewrite the Python body and framework, DATABASE, JavaScript (TypeScript), GraphQL related, Prisma related, etc. in that language, and all the contents in Rust. If I get rich, I would like to launch such a project. And I want to develop both a free open source version and a paid enterprise version.
If PEP8 is used by the entire team, development efficiency and maintainability are high.
https://www.google.com/search?q=Python%E3%80%80PEP8&sxsrf=AOaemvJdbGLO7bfa_Rh46TICt_YGk8xVCg%3A1635689133916&source=hp&ei=raJ-YZegNdf_-gSXz66oDA&iflsig=ALs-wAMAAAAAYX6wvVRPwZ-0WxkRyONTglh_Bka2MGzx&oq=Python%E3%80%80PEP8&gs_lcp=Cgdnd3Mtd2l6EAMyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDoHCCMQ6gIQJzoECCMQJzoLCAAQgAQQsQMQgwE6BwgAEIAEEAQ6CggAEIAEELEDEAQ6DQgAEIAEELEDEIMBEAQ6CAgAEIAEELEDOgUIIRCgAVDEGVjlP2CiQ2gCcAB4AIABZ4gB9AeSAQQxMS4xmAEAoAEBsAEK&sclient= gws-wiz & ved = 0ahUKEwjXqqbu6PTzAhXXv54KHZenC8UQ4dUDCAo & uact = 5

0 コメント:

コメントを投稿