Linus Torvalds分享了他如何利用AI辅助调试Linux内核的经验,AI在调试过程中发挥了重要作用,值得一试。
Linus Torvalds在调试Linux内核时,多次借助AI完成繁琐工作。AI多次表示问题无法解决,但仍然持续添加调试代码并进行分析。Torvalds表示AI是他的得力助手,并让AI撰写了提交信息。
Quoting Linus Torvalds
And this was a debug session from hell, enormously helped by an AI doing much of the grunt-work. I'd like to call it my tireless helper, but the AI several times stated flat out that this was impossible and unsolvable and that we should just write a report about it. I suspect those things have been trained by people who may not be quite as stubborn as I am. But while the AI was ready to give up several times, it did keep adding debug code and analyzing it faithfully when I pushed. So credit where credit is due and I let the AI write the commit message above. — Linus Torvalds , drm/xe: Don't hand out the flat CCS storage as usable VRAM Tags: linus-torvalds , linux , generative-ai , ai-assisted-programming , ai , llms