3 ms·
> In 1986, perhaps I would have used telnet or ftp instead of scp. Modern scripting languages didn't exist yet (perl was created in 1987 and perl5, the first ve
by eadmund 6y ago
> In 1986, perhaps I would have used telnet or ftp instead of scp. Modern scripting languages didn't exist yet (perl was created in 1987 and perl5, the first version that some argue is modern, was released in 1994), so writing code that would do this with parallelism and "good enough" error handling would have taken more than an order of magnitude more time than it takes today. In fact, I think just getting semi-decent error handling while managing a connection pool could have easily taken an order of magnitude longer than this entire task took me (not including time spent downloading logs in the background).
> Today, we have our choice of high-performance languages where it's easy to write, fast, safe code
> In 1986, there would have been no comparable language
Shell existed in 1986, and IIRC ftp could actually be scripted, a bit, so I think that it could have been used to run the download portion. Maybe I misremember?
Lisp existed in 1986; the first edition of Common Lisp the Language was written in 1984. It certainly could have been used, and even in the 80s I think it would have good enough performance for log parsing. Certainly it would now, but that is after four decades of optimisation.
His point about libraries, though, is excellent. The rise of open source libraries radically changed the software world for the better.
I should note, though, that Plan 9 — which was developed in the late 80s — removed a ton of the accidental complexity in dealing with e.g. FTP servers. We could have much less accidental complexity, but we choose not to.
- pydry 6y ago>His point about libraries, though, is excellent. The rise of open source libraries radically changed the software world for the better. This was one of the first points made in no silver bullet (except he said buy not "download for free"). It was a lot less obvious in 1986 than it is today and arguably it's not even all that obvious today.
- kazinator 6y agoThe reality is that Common Lisp would not fit onto a Unix workstation from 1986 in a light weight way, like firing off another /bin/sh or /bin/awk job. Machines had memories measured in single digit megabytes, often closer to zero than to 10.