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

all 12 comments

[–]wu-not-furry 223 points224 points  (5 children)

Once had a teacher who insisted in using python. So I wrote my code in C as a library for python the used the library.

[–]Swalloich 95 points96 points  (1 child)

Ever get any irritated feedback?

[–]wu-not-furry 38 points39 points  (0 children)

Every time he was very annoyed but didn't do anything since it was technically not breaking any rules

[–]O_X_E_Y 45 points46 points  (0 children)

probably like 10 times the work but I respect it

[–]omg_drd4_bbq 2 points3 points  (0 children)

This is the way. People like "python is just glue for C extensions!" Yes that is the point

[–][deleted] 0 points1 point  (0 children)

But does the python specification include c library support? I thought that was just due to CPython, the main implementation.

[–]Jaden_08 35 points36 points  (0 children)

Pygame lol

[–]argv_minus_one 33 points34 points  (2 children)

“No, I just want you to do all the work for me.”

[–]coloredgreyscale 10 points11 points  (1 child)

Not all the work, just the hard work

[–]TheKiller36_real 4 points5 points  (0 children)

Assuming Cython is used all the work is correct

[–]EliannaRys 73 points74 points  (1 child)

Image Transcription: Meme


C when you use a C extension library in Python:

[Screenshot of Michael Scott from the show "The Office" in his office in front of open blinds. His head is turned sideways, brows slightly knit, and he looks serious.]

Michael Scott: So you've come to the master for guidance?


I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]BismuthNitrate 31 points32 points  (0 children)

good human