4 ms·
It wrote the compiler in Rust. As far as I know, there aren't any Rust based C compilers with the same capabilities. If you can find one that can compile the L
by Rudybega 8mo ago
It wrote the compiler in Rust. As far as I know, there aren't any Rust based C compilers with the same capabilities. If you can find one that can compile the Linux kernel or get 99% on the GCC torture test suite, I would be quite surprised. I couldn't in a search.
Maybe read the article before being so dismissive.
- hgs3 8mo ago> As far as I know, there aren't any Rust based C compilers with the same capabilities. If you trained on a neutral representation like an AST or IR, then the source language shouldn't matter. * * I'm not familiar with how Anthropic builds their models, but training this way should nullify PL differences.
- astrange 8mo agoLLMs do not learn concepts perfectly across programming languages, just as they don't learn concepts perfectly across human languages.
- falloutx 8mo agoWhy does language of the compiler matter? Its a solved problem and since other implementations are already available anyone can already transpile them to rust.
- Rudybega 8mo agoDirect transpilation would create a ton of unsafe code (this repo doesn't have any) and fixing that would require a lot of manual fixes from the model. Even that would be a massive achievement, but it's not how this was created.
- f311a 8mo agoThey are trained pretty hard to transpile the code between languages and do this pretty well because this can be done using RL. You can force the agent not to use unsafe, this is why it burned $20000. Thousands of attempts against good tests with good boundaries set.