|
|
|
|
|
by onlyrealcuzzo
23 days ago
|
|
I assumed LLMs should be able to rewrite a small amount of code ~5k dense LoC in Ruby to Rust. It could not. I suspect you'll see a wave of transpilers developed to mostly transpile code from one language to another. You can have an LLM generate a 1-2k or so LoC transpiler that can translate 50%+ of code in place from most languages to another. After doing that, it was able to actually get the job done relatively quickly. I'm working on self-hosting a programming language I've been developing. The transpiler from the original language to the host language is ~12k LoC and translates ~99% the original compiler's ~80k LoC cleanly. The total self-host looks like it might only take a couple of weeks and <$100... TBD. |
|