4 ms·
AI seems pretty good at Rust, so I don't know. What sort of obscure languages are we talking about here?
by echelon 1y ago
AI seems pretty good at Rust, so I don't know. What sort of obscure languages are we talking about here?
- behnamoh 1y agoHaskell, Lisps (especially the most Common one!), Gleam or any other Erlang-wrapper like Elixir, Smalltalk, etc.
- josevalim 1y agoPhoenix.new is a good example of a coding agent that can fully bootstrap realtime Elixir apps using Phoenix LiveView: https://phoenix.new/ https://phoenix.new/ I also use coding agents with Elixir daily without issues.
- arrowsmith 1y agoYes, Claude 4 is very good at Elixir.
- ModernMech 1y agoSee this is what kills me about these things. They say they built this system that will build apps for you, yet they advertise it using a website that chews through my CPU and GPU. All this page does is embed a YouTube video, why is my laptop's fan going full blast? And I'm supposed to trust the code that emanates from their oracle coding agent? What are we doing here people??
- m00dy 1y agoRust is the absolute winner of LLM era.
- danielbln 1y agoBy what metric? I still see vastly more Python and Typescript being generated, and hell, even more golang. I suppose we are all in our own language bubbles a bit.
- m00dy 1y agoI don’t have hard data to back it up, but LLMs make writing code super easy now. If the code compiles, you’ve basically filtered out the hallucinations. That’s why writing in Python or TypeScript feels kind of pointless. Rust gives you memory safety, no garbage collector, and just overall makes more sense, way better than Go. Honestly, choosing anything other than Rust feels like a risky gamble at this point.
- yahoozoo 1y agoDoes nobody write business logic in Rust? All you ever hear is “if it compiles it works” but you can write a compiling Rust program that says “1 + 1 = 3”. Surely an LLM can still hallucinate.
- m00dy 1y agoyou also write units tests, which is something baked in rust std toolchain.
- spacechild1 1y agoRust only really makes sense in settings where you would have otherwise used C or C++, i.e. you need the best possible performance and/or you can't afford garbage collection. Otherwise just use Go, Java or C#. There is no gamble with picking any of these.
- m00dy 1y agoIf you use an LLM with C or C++, stuff like pointer arithmetic or downcasting can be tricky. The code might compile just fine, but you could run into problems at runtime. That's why Rust is the only way...
- spacechild1 1y ago> The code might compile just fine, but you could run into problems at runtime. Obviously, this can also happen with Rust, but certainly less so than with C or C++, I'll give you that. But how is Rust the only way when there's also Java, Go, C#, Swift, Kotlin, etc.?
- bugglebeetle 1y agoI’m blown away by how good Gemini Pro 2.5 is with Rust. Claude I’ve found somewhat disappointing, although it can do focused edits okay. Haven’t tried any of the o-series models.
- smackeyacky 1y agoOld stuff like VB.NET it’s really struggling on here. But c# its mostly fine
- mrheosuper 1y agoRust is far from obscure. some HDLs should fit the bill: VHDL, Verilog or SystemC
- vitorsr 1y agoI taught Digital Design this semester - all models output nonsensical VHDL. The only exception is reciting “canonical” components available on technical and scientific literature (e.g., [1]). [1] https://docs.amd.com/r/en-US/ug901-vivado-synthesis/Flip-Flop-Registers-with-Rising-Edge-Clock-Coding-VHDL-Example https://docs.amd.com/r/en-US/ug901-vivado-synthesis/Flip-Flo...
- apwell23 1y agosame i am developing a bunch of neovim plugins. haven't had any background in neovim or lua.