[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]

What is Python good for? Is it slow?

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: 15
Thread images: 2

File: 1475270486189.jpg (42KB, 326x236px) Image search: [Google]
1475270486189.jpg
42KB, 326x236px
What is Python good for? Is it slow?
>>
PyPy with multiprocessing will get you to near C speeds.

It's a general language that is in desperate need of static typing.
>>
>>60073954
It's good for applications where you aren't cpu bound, like servers, where most of the time is spent in I/O; for specialized scientific computing and research, thanks to packages compiler in C++/C/FORTRAN that get called from python seamlessly, allowing fast iterations on ideas and approaches; and much more applications I'm sure I don't know about.
>>
>>60073974
>hasn't heard about python3
>>
Hoooo haaaa
Good God y'all
>>
>>60073954
Its good for introducing people to actual languages.
>>
File: 1369034873291.png (4KB, 570x533px) Image search: [Google]
1369034873291.png
4KB, 570x533px
>>60075213
>>
Getting shit done quick.
>>
If you look at the CIA and NSA leaks they've got a lot of Python tools for deploying exploits and monitoring their botnets.
>>
>>60073954
Python is good for when you don't need to care about the speed of the code you're writing. Most of the time, you'll just be gluing pieces of other people's code in other languages together where speed matters and adding some logic on top of it to make it do exactly what you want. If you're thinking about if you should use shell sort or quick sort, you clearly don't need to be using Python.

Python programmers are usually pretty cool guys, especially when compared to 99% of PHP (or 70% of Perl) programmers, who could not implement an interpreter if their life was dependent on it, yet somehow have this sense of elitism deep within their hearts. I've noticed more Python programmers have math-related degrees than tech-related degrees.

I guess "working with non-annoying people" counts as a thing Python is good for.

>>60075269
Since it'll keep their indents decent yet is relatively easy to use, I mostly agree, but you should probably just teach them something like LISP and yell at them when they don't indent for effectively the same result. Maybe Ocaml would be the best for them long-term.
>>
I use it a ton at work for batch work like renaming files based on, say, the video codec or automatically building logs.

Since it's a script and not compiled, it's extremely fast to maintain.
>>
>>60073954
It's good for trolling neckbeard computer wizards because normies can use it w/o requiring intimate computer knowledge.
>>
>>60073954

Hastily written scripts of 300 lines or less that glue a larger project together.
>>
>>60073954
Its marvellous for writing things quickly and fairly easily run anywhere
>>
>>60073954
Python is very good for slow
Thread posts: 15
Thread images: 2


[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.