Comment

Comment by Supermancho

This statement stood out to me.

> I have a similar thought about "there's no reason for software to be slow" BTW; in many cases, if you use AI to speed up some flow, you will add a bunch of messy code that will be overfit for the use case you tested on and will neither generalize, perf-wise, for all the use cases you should care about, nor will be maintainable upon future changes.

LLMs have hardened hundreds of apps where I work.

Maybe it's a language-specific thing. Most of the time, in Java, LLMs take into consideration tradeoffs (especially if they are part of the initial prompt) and actively explains them. It generally won't make messy workarounds, without a lot of extra prompting forcing it to do so.

Ofc, if you have:

- Functional tests - you'll be able to see it in the execution times of specific APIs

- Stress testing - performance profiling is the most important output artifact

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton