Re:A Look at Crystal, the Programming Language for Humans
by vidarh on Friday May 05, 2023 @02:21PM
(#35833187)
If the LLM understands the language it can aid in creation of the libraries and ecosystem because it can also translate code. I just tested it by having ChatGPT translate one of my Ruby scripts to Python for example.
I don't like Crystal all that much, but it's similar enough to Ruby that if ChatGPT can handle Ruby->Python, it can handle Ruby->Crystal with relatively little work.
But it doesn't need to handle it flawlessly, because every new library you translate and fix up gives you a new codebase you can use to finetune it.
Re:A Look at Crystal, the Programming Language for Humans
by mirekrusin on Friday May 05, 2023 @02:33PM
(#35833385)
We need RLHF -> RLCF/RLIF/RLEF (Reinforcement Learning from Compiler/Interpreter/Execution Feedback).
Re:A Look at Crystal, the Programming Language for Humans
by mirekrusin on Friday May 05, 2023 @02:31PM
(#35833349)
But that's the thing, libraries are written and it should be able to just read/learn/train on it, that's all.
If it can't find those, then because there is no training data, best case scenario is that it will hallucinate APIs that don't exist.