Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Use claw for bindings? #5

Open
aartaka opened this issue Aug 20, 2020 · 1 comment
Open

Use claw for bindings? #5

aartaka opened this issue Aug 20, 2020 · 1 comment

Comments

@aartaka
Copy link
Contributor

aartaka commented Aug 20, 2020

Claw (A bit more on how it's intended to work in this blogpost) seems to be a good idea for handling C++ bindings, because it generates the necessary C/C++ binding code automatically. Working with C++ bindings is the main pain of maintaining this library and the main slowing factor, as I know. C++ bindings autogeneration can come in handy and ease the development.

Of course, claw is a wild work-in-progress and using it for bindings can be quite risky for now. However, it can be productive to try using claw for cl-webengine bindings and report issues to the original repo. This will get us closer to the common good — ability to bind C++ QtWebEngine code without a line of C/C++ :)

How does that sound to you?

@jmercouris
Copy link
Member

I really like your thinking! That is a good idea. It would certainly be a lot less error prone :-D

If it can work with C++, which is unclear how, it could be very useful. I think this requires some more investigation before making a decision.

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

No branches or pull requests

2 participants