Comment on The C programming language is like debating a philosopher and Python is like debating someone who ate an edible

<- View Parent
realitista@lemmus.org ⁨1⁩ ⁨day⁩ ago

Python uses 10x the memory but probably 100x-1000x the CPU cycles to do the same thing. Also using libraries written for interpreted languages is going to bloat your memory footprint where c libraries are tiny and efficient.

You’ve obviously never looked at benchmarks because you’re one or two orders of magnitude off.

As someone who was trained in C and did most of my programming in it, yes it does everything you need but it’s a major pain in the ass doing it well. It’s slow to get things done and you need decades to get competent at it. Python allows you to get up and running a lot faster.

As cpu and ram are cheap compared to the days when C was a necessity, most programmers have made the decision that getting things going fast and easy was worth the trade off. The market has spoken. There is still a place for C or Rust, but there’s also a place for Python and other interpreted languages. You can make good programs in both but it’s a lot easier to make a garbage program in C.

source
Sort:hotnewtop