Performance differences between Python and C

后端 未结 14 1306
闹比i
闹比i 2020-12-31 08:02

Working on different projects I have the choice of selecting different programming languages, as long as the task is done.

I was wondering what the real difference is

14条回答
  •  生来不讨喜
    2020-12-31 08:20

    To get an idea of the raw difference in speed, check out the Computer Languages Benchmark Game.

    Then you have to decide whether that difference matters to you.

    Personally, I ended up deciding that it did, but most of the time instead of using C, I ended up using other higher-level languages. Personally I mostly use Scala, but Haskell and C# and Java each have their advantages also.

提交回复
热议问题