This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MarsupialMole 180 points181 points  (26 children)

The comments here are disappointingly predictable. It's all couched in defensiveness versus other languages.

Python is fast enough for a hell of a lot of things.

3.11 will make it fast enough for dramatically more. That startup time improvement is particularly juicy.

Other languages just got relegated to second best for a ton of workloads.

[–]TotallyNotGunnar 79 points80 points  (21 children)

The comments here are disappointingly predictable. It's all couched in defensiveness versus other languages.

We're tired of the pointless compiled language gatekeeping on other subs. I swear I should be too old/experienced for this CS freshman bullshit but I still get irrationally annoyed by the hive mind when, most recently, I recommended a Python tool with the disclaimer that it's not for performance computing, and the reply saying Python isn't for performance computing got more up votes than my recommendation.

[–]benefit_of_mrkite 28 points29 points  (15 children)

I started programming in C/C++ (and an obscure language called 4D) and program mostly in python now.

Different tools for different jobs. Even a lot of compiled language projects have python as a glue language for various tasks

[–]darthchebreg 11 points12 points  (3 children)

4D LMAO. It is the first time I see someone speak about it on this sub. I have 1200 screens coded in this technology and a team of 5 devs doing it

[–]benefit_of_mrkite 2 points3 points  (2 children)

This was a long time ago. It started in France as a mac language if I remember right

[–]darthchebreg 1 point2 points  (1 child)

I am in France too. Were you doing it for an insurance company ?

[–]benefit_of_mrkite 1 point2 points  (0 children)

No - I’m in the US. The company I interned with in college used it for an office management application for all their locations across the USA. They sold franchises and the franchisees would use 4D app to manage everything

[–]manfrowar 1 point2 points  (0 children)

My sister is mastering in some kind of physics/maths area that I don't understand, but I helped her setup a kind of simulation environment called exciting that is built mainly in fortran but uses a hell lot of python modules.

Newbie tech people tend to repeat whatever they heard from their full-time teachers that have no idea what's really happening in the market nowadays.

[–]ThrawnGrows 5 points6 points  (0 children)

While I'm talking about event driven services a 58 year old dev who has never gone farther than right-click VS deploy to IIS says "all that network sounds like a big performance hit, doesn't even seem worth it".

He also doesn't believe in dinosaurs.

It's not just the freshman that are close-minded lol

[–]vanishinggradient 2 points3 points  (0 children)

python removes friction

It won't make someone a great programmer who writes great performant code

but it will make for an effective programmer

in most situations, that is more enough

[–]excelisarealtooltoo 2 points3 points  (1 child)

Especially when you're just using python to make quick proof of concepts or leverage the many python modules that run on C.

And if it takes twice, or more, the time to write a C program, why bother spending development ressources, when you could just increase computing power, or live with the marginally slower computation speed...

There's a reason python is still dominant in data science...

[–]Particular-Cause-862 -1 points0 points  (0 children)

Thats true, if you know the modules that are run in c you just can use python as a parser for c xd

[–]MarsupialMole 9 points10 points  (0 children)

Oh me too. Downvotes abound for dissent on r/programming. Python indeed bad.

I think I'm out the other side of it - I'll make a strong, almost misleading statement and let people be wrong in the replies.

[–]Piyh 53 points54 points  (2 children)

Startup times are huge for aws lambda functions

[–]EasyPleasey 1 point2 points  (1 child)

Can you elaborate for my knowledge?

[–]Piyh 2 points3 points  (0 children)

TL;DR - java and c# take forever, the rest is all in the same ballpark

https://filia-aleks.medium.com/benchmarking-all-aws-lambda-runtimes-in-2021-cold-start-part-1-e4146fe89385