Sunday, 16 March 2025

New top story on Hacker News: High-performance computing, with much less code

High-performance computing, with much less code
8 by mpweiher | 0 comments on Hacker News.


New top story on Hacker News: Lynx is the oldest web browser still being maintained

Lynx is the oldest web browser still being maintained
19 by jahnu | 3 comments on Hacker News.
Kudos to the folks keeping it running. https://ift.tt/lcPy3t6

New top story on Hacker News: ASK HN: How to engineer a JavaScript to Python migration?

ASK HN: How to engineer a JavaScript to Python migration?
3 by ninocan | 9 comments on Hacker News.
Context: I was tasked with migrating a legacy workflow system (Broadcom CA Workflow Automation) to Airflow. There are some jobs that contain rather simple JavaScript snippets, and I was trying to design a first prototype that simply takes the JS parts and runs them in a transpiler. In this respect, I found a couple of packages that could be leveraged: - js2py: https://ift.tt/JmgMbwP - mini-racer: https://ift.tt/eCxOY5t Yet, both seem to be abandoned packages that might not be suitable for usage in production. Therefore, I was thinking about parsing and translating Javascript's abstract syntax trees to Python. Whereas a colleague suggested I bring up an LLM pipeline. How much of an overkill that might be? Has anyone else ever dealt with a JavaScript-to-Python migration and could share heads-ups on strategies or pitfalls to avoid?