Author Topic: AI may help us to create plugins  (Read 280 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6115
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
AI may help us to create plugins
« on: October 31, 2025, 04:18:23 pm »
Hi, I recently see a website named deepwiki, this site can read a github project, and later, it can have LLM powered AI chat about this project. As a test, I just put the code::blocks' source code to the index, see: https://deepwiki.com/asmwarrior/codeblocks_sfmirror

After that, I just wrote some text to AI:

can you help me to create a code::blocks plugin which can run the memory leak detector mentioned here: https://github.com/ssbssa/heob

And I see that it can create the source code for this plugin, looks interesting.  :)

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline christo

  • Multiple posting newcomer
  • *
  • Posts: 60
Re: AI may help us to create plugins
« Reply #1 on: Yesterday at 06:22:53 am »
Generated wiki looks nice, I'm hearing about deepwiki first time, looks very useful tool. Thank you for sharing.

Regarding the plugin generated, how complete was the code?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6115
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: AI may help us to create plugins
« Reply #2 on: Yesterday at 02:13:13 pm »
Generated wiki looks nice, I'm hearing about deepwiki first time, looks very useful tool. Thank you for sharing.

Regarding the plugin generated, how complete was the code?

I'm also new to d :)eepwiki site.

I haven't tried the generated code yet, but you can see this page:

https://deepwiki.com/search/can-you-help-me-to-create-a-co_35be54bd-5f47-4e3b-ba7d-bdff22584a0e

Just scroll down to the bottom of the page, it has many source code generated, and the code looks good.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.