You can't train in what the model knows A developer discovered that an AI-generated C++ function was not faster than a naive implementation, and that a single sentence added to the prompt could prevent the AI from producing unsafe code. The finding highlights the importance of prompt engineering in AI-assisted programming. Article URL: https://hftuniversity.com/post/your-ai-s-fast-c-wasn-t-faster-and-one-sentence-makes-it-safe Comments URL: https://news.ycombinator.com/item?id=48605406 Points: 1 Comments: 0