Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we have module like ctypes? #51

Open
TunifyBasic opened this issue Dec 19, 2024 · 3 comments
Open

Could we have module like ctypes? #51

TunifyBasic opened this issue Dec 19, 2024 · 3 comments

Comments

@TunifyBasic
Copy link

No description provided.

@klange
Copy link
Collaborator

klange commented Dec 22, 2024

Historically, the main blocker for a ctypes module was that doing a good one really requires a good FFI library, and since Kuroko was primarily targeted at ToaruOS (which has a strict no-external-dependencies rule) that would have meant building one in-house. I still don't want to ship Kuroko with an external dependency, so it's unlikely that a ctypes module will end up in the standard library, but I'm less averse to building one in general using the gold-standard libffi.

@TunifyBasic
Copy link
Author

TunifyBasic commented Dec 22, 2024

python consume memory even on/at idle and i don't wan't this in my project(s) to may use too much memory just because it's python.
so i thought of using kuroko and know i need to work with the sqlite without writing kuroko c bindings it will be pretty hard/time consuming for a side project to be built in kuroko so yeah could we have it? at the something like ctypes may give help dev like me to experiment with third-party stuff from kuroko directly.

@TunifyBasic
Copy link
Author

should i try to impl ctypes by my self?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants