Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What “ancient” prog. languages to include in my data pipeline?
6 points by m_kos on April 23, 2021 | hide | past | favorite | 3 comments
I am writing a data processing and analysis pipeline for my dissertation. I thought it would be entertaining to re-write a few tiniest bits of my Python code in older languages, like COBOL or LISP, so that I can cite them in future publications. (And it would be fun to write a few lines of code in them!)

By the "tiniest bits" I mean even just saving a list of all files in a directory to a text file, concatenating multiple files, or renaming them.

Questions:

1) Would you have any recommendations on what languages would be easy to set up and use (I am on Windows 10)?

2) What tasks would those languages be best for?

The pipeline:

- configures data collection protocol by interacting with Firebase Realtime Database (NoSQL)

- fetches collected data from Firebase Storage every day (thousands of tiny CSV files)

- backs up the data

- decrypts the files and transforms the data (multidimensional time-series) across multiple files to prepare for analysis and visualization

- computes various metrics based on the data and visualizes them (the end goal is to have a data monitoring dashboard with alerts)

- re-configures data collection protocol based on the metrics

P.S. If any seasoned engineer would be willing to very occasionally give me - a grad student - some pointers on best software development practices, I'd love to hear back from you. I am primarily self-taught, so I am surely doing many things incorrectly.




COBOL, Fortran and Lisp are fairly widely supported still. Getting them to mesh with Python may not be trivial, but it should be possible. I believe all of them have implementations which provide C-style foreign interfaces.

Aside from those, Pascal, APL, PL/I are still going. Algol 60 and Algol 68 were widely implemented and even have implementations today, but rarely actually used, then or now. Thinking outside the box, Forth, Smalltalk and ML are all charming in their way.

I would play to the strengths of the languages. COBOL? Formatted pretty text output. Fortran or APL? Number crunching on arrays. Lisp or ML? A parser.


Thanks for your suggestions!

I think I will try COBOL and either Lisp or ML as long as I can get them to play nicely with Python.

For a while, I have been wanting to learn more esoteric languages than what is mainstream right now, but, alas, there never seems to be enough time.


Here are some less prominent old languages off the top of my head:

- Rexx (used in IBM text editors)

- Atlas Autocode

- TUTOR (used on the PLATO system)

- MUMPS (actually this is still used at Epic Healthcare but they try to avoid mentioning it)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: