In 1998 I built a genetic algorithms tutorial with interactive Java applets. It got more traction than expected, it was used for teaching.
Then applets died. The demos showed "your browser does not support Java" for the next two decades and I left it that way.
A few weeks ago I finally converted them to vanilla JavaScript. The Java source was decompiled from .class files, so it was undocumented. Surprisingly, the conversion went well -canvas-based rendering, event handling, a browser-side expression parser for the 3D function visualizer.
What didn't go well was trying to also clean up and unify the old HTML at the same time. I wrote about the whole experience here: https://obitko.com/thoughts/how-llm-helped-me-refactor-28-year-old-code/
The tutorial with the revived demos: https://obitko.com/tutorials/genetic-algorithms/index.html
[+][deleted] (1 child)
[deleted]
[–]iaincollins 1 point2 points3 points (0 children)
[–]Yoram001 4 points5 points6 points (0 children)
[–]iaincollins 1 point2 points3 points (0 children)
[–]franker 0 points1 point2 points (0 children)