← Back to context

Comment by f311a

12 hours ago

I do Python, Go and Rust. Go works the best, I would say Python is worse than Go.

Rust works perfectly fine, but when I use Rust, I usually pay closer attention to performance, so I have to guide it a bit, to improve cache locality, use simd, avoid unnecessary allocations and so on. Terra has the same issues with Rust. If you always prompt models to achieve the best performance, the code is usually no the one that I want, they optimize unnecessary/cold parts or blindly optimize stuff where compiler takes care of the optimizations already.

See my other comment for more information on how I work with it. In short, keep the changes under 1k lines, context under 120k (ask it to use subagents), drive the architecture yourself.