292
submitted 7 months ago by jeena@jemmy.jeena.net to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] cyborganism@lemmy.ca 19 points 7 months ago

Might as well ban stack overflow based contributions as well.

AI is a great tool for coding. As long as it's used responsibly. Like any other tool, really.

[-] 30p87@feddit.de 12 points 7 months ago

External LLMs are great for getting ideas and a quick overview of something, and helpers integrated into IDEs are useful to autocomplete longer lines of code or repetitive things.

[-] tsonfeir@lemm.ee 6 points 7 months ago

I frequently ask ChatGPT to make whole functions for me. It’s important to check the code and test it, obviously, but it has saved me quite a bit of time.

[-] 30p87@feddit.de 7 points 7 months ago

I find it difficult to describe single functions that need to be integrated into a larger project. Especially if it needs to utilize a private or more unknown library. For instance, it totally fucked up using Bluetooth via DBus in C++. And the whole project is basically just that.

[-] tsonfeir@lemm.ee 3 points 7 months ago

It certainly has its limitations. I’ve noticed a few topics where it generally gets things wrong, or I can’t seem to explain it properly. In that case, you may just use it as a reference guide. Maybe toss it some code and ask it what it thinks. It’s not always useful information, but sometimes that leads you down a different road that you would not have thought of before.

[-] 30p87@feddit.de 9 points 7 months ago

Problem is, I only ever need to use something more powerful than a search engine with topics that are too complicated for me and/or not well documented, in which case LLMs fail just as bad. So it's actually only ever useful to get a general direction of a topic, but even then it could be biased to outdated information (eg. preferring bluetooth.h over DBus based bluetooth handling) or it outright doesn't know new standards, libraries and styles. And in my experience, problems that have one, well accepted and documented standard don't need any AI to get knowledge of.

this post was submitted on 19 Apr 2024
292 points (98.3% liked)

Linux

48335 readers
1111 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS