Björn Tantau@swg-empire.de to Programmer Humor@programming.dev · 6 days agoPretty straight forwardswg-empire.deimagemessage-square26fedilinkarrow-up118arrow-down10file-text
arrow-up118arrow-down1imagePretty straight forwardswg-empire.deBjörn Tantau@swg-empire.de to Programmer Humor@programming.dev · 6 days agomessage-square26fedilinkfile-text
minus-squaretiredofsametab@fedia.iolinkfedilinkarrow-up1·6 days agoNow call that C program from some other program in another language.
minus-squareJasonDJ@lemmy.ziplinkfedilinkarrow-up1·edit-26 days 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.
step 1:
unsafe fn()
…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?""")