4 ms·
Right... Let me know how Python 2.7 code runs ina few years.
by peterwwillis 6y ago
Right... Let me know how Python 2.7 code runs ina few years.
- peterburkimsher 6y agoIndeed. The most stable long-term is probably a small C program, designed for pipes with stdin as input, and stdout as output. UNIX philosophy is great for longevity. "Everything is a file" only works when TXT is the file format though. When things build up to PostScript or PDF, or Claris... then things get out of hand too quickly.
- Shish2k 6y ago… why would it not run fine? Python 2.7 is “no longer receiving updates”, not “ceasing to exist”. You can still download source code back to Python 1.5.1 if you really want to run code with old syntax (Which I just did for fun - the C code needed one tweak to avoid conflicting with a recently introduced standard library function; the python code was fine)
- simonh 6y agoId be very surprised, shocked if I cant run a vanilla stdlib only Python 2.7 script on all the major platforms in 10 years time, even 20 years time.
- m-p-3 6y agoIf the code isn't going to change, you could statically compile it and it will run just fine.