Re:Py2cr: A Python3 to Crystal Translator
by tgv on Monday December 27, 2021 @06:11AM
(#29701451)
I've only looked at it, but that is a good story to convert Python programmers.
[ Parent
| on HN ]
Re:Py2cr: A Python3 to Crystal Translator
by KarlKemp on Monday December 27, 2021 @08:08AM
(#29702179)
To be fair, there are lots of tricks to get stuff moving faster in Python, usually by invoking some module that delegates to native code. This was, IIRC, doing everything in the most straightforward way. But I did port the source code essentially line-by-line and this was within the first week of using Crystal. Any grave (i. e. measurable in O-notation) errors would have just carried over, and no sophistication was involved in my Crystal code.