[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Srs question, if Python is so much slower than Java then how

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 1

File: 1457767436391.jpg (49KB, 480x454px) Image search: [Google]
1457767436391.jpg
49KB, 480x454px
Srs question, if Python is so much slower than Java then how the hell can python be viable for anything even slightly intensive? I really like the feel of python but I do not want to make something only to find out down the road that it runs like shit
>>
It's not
https://blog.sentry.io/2016/10/19/fixing-python-performance-with-rust.html
>>
>>57496031
less verbose language makes for faster dev time and easier changing.
If your project becomes a success and python a bottleneck then you might rewrite in something faster. IF.
>>
>>57496031
Every non-trivial Python project gets rewritten at least partially into something else at some point.
>>
>>57496031
Python does not need a whole VM layer to run.
>>
>>57496031
It's for scripting. It's very fast to develop something because of its nice syntax.

It also has shit like numpy and scipy where the actual computing functions are implemented in C and python just calls the functions.
>>
>>57496031
Are you a data scientist? If not use C++
>>
>>57496031
python is great, it's fun, fast to write things in due to the expressiveness, no harm in doing something fun anon = )
>>
Not every project needs speed. Also development time is far more expensive than CPU time. Depending on your need you choose one or the other. But really? Java?
>>
>>57496031
Python is just a wrapper for ugly C code
>>
>>57496031

With PyPy python is extremely fast
>>
>>57497544
>With PyPy python is extremely fast

>The geometric average of all benchmarks is 0.13 or 7.7 times faster than CPython
That's still slow in my books.
Thread posts: 12
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.