Robyn icon indicating copy to clipboard operation
Robyn copied to clipboard

many external dependency packages used only in one place,please realize them by framework-self instead of using external packages

Open ockan opened this issue 6 months ago • 7 comments

many external dependency packages used only in one place,please realize them by framework-self instead of using external packages. or as an optional package. such as:

1.inquirerpy

Image

2.multiprocess

Image

3.rustimport

Image

4.watchdog

Image

ockan avatar Jun 23 '25 05:06 ockan

Hey @ockan ,

I don't think I understand this issue. Could you explain a bit more please?

sansyrox avatar Jun 23 '25 12:06 sansyrox

@k4976 , do you understand this?

sansyrox avatar Jun 23 '25 20:06 sansyrox

for example, the first,'inquirerpy' only use in the 'cli.py',and use frequency is just once. in 'cli.py',there is

from InquirerPy.base.control import Choice
from InquirerPy.resolver import prompt

etc.

Why I suggest reduding the number of dependency package reduding the number of dependency package can make the maintenance of the framework is easier,because of no need to trace more many extenal packages,and not restricted by the extenal packages.when the extenal packages change the api,the framework is forced to follow it.if the extenal packages is discontinued,the framework is affected.

ockan avatar Jun 24 '25 00:06 ockan

@ockan Yep, we can do but we are not using in core Robyn It's just in limited places only And mostly they all gets updated rarely bcoz they are much mature So their syntax change is very much less often

We will try coding all the functionalities in rust, so we don't need external dependencies when Robyn gets mature enough that we don't have much to work on

thePromger avatar Jun 24 '25 02:06 thePromger

@k4976 @ockan , I don't understand the benefit it will provide us. They are not bottlenecks in terms of performance and also quite well maintained.

I am sure we will be able to handle the breaking changes should these packages push anything but why do you want to take ownership of more code?

sansyrox avatar Jun 24 '25 13:06 sansyrox

@sansyrox If we have to decrease the number of dependencies It's all upto you

thePromger avatar Jun 24 '25 13:06 thePromger

Why I suggest reduding the number of dependency package reduding the number of dependency package can make the maintenance of the framework is easier,because of no need to trace more many extenal packages,and not restricted by the extenal packages.when the extenal packages change the api,the framework is forced to follow it.if the extenal packages is discontinued,the framework is affected.

ockan avatar Jul 15 '25 03:07 ockan