[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
python
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 2
File: pythonlogo.jpg (46 KB, 680x459) Image search: [Google]
pythonlogo.jpg
46 KB, 680x459
Hi guys. So far I know C++. From C#/Java I would choose C# (am I right?). But well I wanted to learn some high-lvl language, like Python. Got through many online tutorials and here I am. Doing pretty nothing

What is Python desired for (inb4 go eat shit stupid "python is for kids" fags)? I am not asking like "oh, what can I do with Python", but what are the things, that are more often done in this language (like because its easier there, or libraries etc.). Will be glad for your answers

P.S C# vs. Java? (I've done some research, know the differences, just wanted to know your opinion)
>>
>Implying C++ is not a high level language
Anything higher than assembly is a "high level language"
>>
>>52383319
yeah, right, okay, but the answer
>>
>>52383285
All languages you named are High Level languages. ASM would be low level
>>
>>52383346
just, okay, everything is high level

so what's with Python?
>>
File: 382_FA_diagram.gif (13 KB, 400x200) Image search: [Google]
382_FA_diagram.gif
13 KB, 400x200
>>52383346
This is low level
>>
>>52383285
>What is Python desired for
Everything where there isn't even the slightest chance that performance might bother you. Like youtube-dl. Unlike even some basic web services, but that goes even for the most so-called web languages out there.

In fact, everything, where the shitty reference implementation won't limit you.
>>
>>52383367
>>52383367
Python is interpreted. So anything making use of that instead of a long ass compile time. Video games. Some science stuff. Web dev. Screwing a round
>>
>>52383827
>So anything making use of that instead of a long ass compile time
CPython takes a long time to start up, because of shit-tier design. There are compilers that literally compile faster than this piece of shit.

Also, the C-API for embedding is shit and as a bonus it's hard to make it secure enough to embed it into game content.

So it's really shitty for gamedev & modding.
Some game engines - among other software projects - use it as advanced build system though.
>>
Python is garbage don't waste your time.
>>
>>52383285
python is amazing at everything
but amazingly inefficient

java is garbage
>>
>>52383285
Python has a lot of uses and the performance is good enough for some quite demanding applications. It is used for a lot of scientific computing. There are some video game back ends that use Python (this is my area and personally I prefer Scala and Java but it's doable). Personally my main use for Python is infrastructure tasks as I find that is a situation where performance is not a big deal. I just want something portable that is easy to read and write.

Whether you should learn it comes down to what you want to work on and whether you enjoy it. For example Java and C# are both excellent choices
Thread replies: 12
Thread images: 2

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.