this post was submitted on 15 Feb 2025
403 points (98.8% liked)

Programmer Humor

32710 readers
407 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 5 days ago (1 children)

I’ve delved into writing assembly only on the level of a student project. I really enjoyed it though. Obviously implementing a python math library would be far more complex but wouldn’t it be worth it for the possible performance gains?

[–] [email protected] 10 points 5 days ago

I don't think it would be anymore. Modern compilers are really really good at what they do, and often manually optimizing(writing assembly yourself) makes programs slower. So unless you are very good at assembly, I would just trust the compiler.