Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: ChatGPT to optimize source code?  (Read 1776 times)

eerr

  • Bay Watcher
    • View Profile
Re: ChatGPT to optimize source code?
« Reply #15 on: April 12, 2023, 06:18:06 pm »

chat gpt is a black box, even if it could properly opmitize code, it would essentially mean relying on something nobody fully understands.
Mr. Toady one decided that he wants to control the dwarf fortress, code and ip, tightly.

relying on the ai, would mean if it ever breaks or needs to be changed, such a change might be impossible or un-feasible.
« Last Edit: April 12, 2023, 06:20:34 pm by eerr »
Logged

A_Curious_Cat

  • Bay Watcher
    • View Profile
Re: ChatGPT to optimize source code?
« Reply #16 on: April 13, 2023, 05:24:34 pm »

if it ever breaks or needs to be changed

And it will.



ChatGPT is like a high-tech version of a magic eight ball.  It pads it’s answers with things that it pulls from it’s nether regions.  I think that if you asked it to “improve” the DF source code, the result wouldn’t even compile.
Logged
Really hoping somebody puts this in their signature.

Tilla

  • Bay Watcher
  • Slam with the best or jam with the rest
    • View Profile
Re: ChatGPT to optimize source code?
« Reply #17 on: April 13, 2023, 06:53:11 pm »

the marketing term AI is very misleading these things are not meaningfully more complex than the chatbots we had in the early oughts only the size of the database it draws from has changed. you wouldn't use those to optimize code either
Logged

delphonso

  • Bay Watcher
  • menaces with spikes of pine
    • View Profile
Re: ChatGPT to optimize source code?
« Reply #18 on: April 13, 2023, 07:28:16 pm »

So copy and pasting the entire code base was only a far-flung prediction of mine. The OP isn't suggesting that, and...really no one is.

The OP's question was about using ChatGPT to bounce solutions/issues off of. In my experience, ChatGPT is about as useful as browsing Stack Exchange, but allows clarifying questions. This comes with the same issues, like misunderstanding your question, or assuming the error is the most common error.

Though Putnam and Toady aren't exactly doing what most people on SE are, nor are they as inexperienced as I am, so Putnam's response really isn't a big surprise.

LuuBluum

  • Bay Watcher
    • View Profile
Re: ChatGPT to optimize source code?
« Reply #19 on: April 13, 2023, 08:34:30 pm »

chat gpt is a black box, even if it could properly opmitize code, it would essentially mean relying on something nobody fully understands.
Mr. Toady one decided that he wants to control the dwarf fortress, code and ip, tightly.

relying on the ai, would mean if it ever breaks or needs to be changed, such a change might be impossible or un-feasible.

"Nobody fully understands" is a lie peddled by the industry to avoid culpability. We know exactly how these things work. They are, in effect, one giant tensor.

The only thing we don't know, in the sense that we don't have the ability to spit out how it was worked out, is specifically the meaning of the values of the tensor. That's it. These are not magical black-boxes. We know exactly what's going on.

The developers of these systems just don't want to be held responsible for the consequences of their actions.
Logged
Pages: 1 [2]