Björn@swg-empire.de to Programmer Humor@programming.dev · 1 year agoPretty straight forwardswg-empire.deimagemessage-square4fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1imagePretty straight forwardswg-empire.deBjörn@swg-empire.de to Programmer Humor@programming.dev · 1 year agomessage-square4fedilinkfile-text
minus-squaretiredofsametab@fedia.iolinkfedilinkarrow-up0·1 year agoNow call that C program from some other program in another language.
minus-squareJasonDJ@lemmy.ziplinkfedilinkarrow-up0·edit-21 year agowith open('program.c', 'w') as f: f.write( """I'm not actually going to copy down the program... But you get the idea of the joke. Right?""")
Now call that C program from some other program in another language.
Rust, to make it safe.
with open('program.c', 'w') as f: f.write( """I'm not actually going to copy down the program... But you get the idea of the joke. Right?""")