Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Science

Showing Original Post only (View all)

BootinUp

(49,216 posts)
Wed Mar 1, 2023, 03:59 PM Mar 2023

Python 3.14 Will be Faster than C++ (Not really) [View all]

Article is about the new version of Python programming language. The author uses a variation of the Monte Carlo algorithm to estimate the value of Pi. https://en.m.wikipedia.org/wiki/Pi

Excerpt

Python is one of the most used scripting languages in data science (DS) and machine learning (ML). According to ‘PopularitY of Programming Languages’ Python is the most searched language on Google. Next to being a great glue language to connect various DS/ML solutions together, it has many libraries to virtually do anything with data.
In about a month we get a fresh new yearly release of Python: version 3.11. I am quite excited about this new version as the main feature for this version is a significant increase in speed.
On LinkedIn I have already seen a couple of post of people testing the new version and their results were stunning. But the best method to get a feeling on how fast Python 3.11 truly is, is to run the tests yourself.

https://towardsdatascience.com/python-3-14-will-be-faster-than-c-a97edd01d65d?gi=660d39c1c7ae

11 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Latest Discussions»Culture Forums»Science»Python 3.14 Will be Faste...»Reply #0