11
Byomeer
5y

I always used Python as a CLI calculator. "But Python is an interpreted language and therefore slower than C". Me:

Comments
  • 2
    What?
  • 4
    Okay, acceptable
  • 3
    Cool trick, OP ;)

    @Demolishun blah blah blah
    Python is slower than C and will always be, even with compilers like numba.
    But yeah, it has its uses
  • 1
    Oh well nice 😂

    While that's true, it's not important in your use case.

    I mean it's more convenient to just whip up something on Python CLI than write and compile a full C program.
  • 1
    @Demolishun Just no.

    Also, ever heard about Profile Guided Optimization (PGO) (also called FGO) ?
    (gcc -fprofile-use & gcc -fauto-profile)
Add Comment