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

Is this repo in active development? #46

Open
LinuxDevon opened this issue Jan 19, 2021 · 2 comments
Open

Is this repo in active development? #46

LinuxDevon opened this issue Jan 19, 2021 · 2 comments

Comments

@LinuxDevon
Copy link

Hello,

Looking over the commit graph there appears to be no history since 2017. I was wondering if we could hand this off to someone to start maintaining or if we should create another repo to start from?

I don't want to loose all the work on this repo. It is also a little frustrating that WxWidgets wiki links to this repo as a binding and there is no support. GUI options are still a little limited in Rust but making progress.

I am coming from WxWidgets in C++ and thought this would be a good option to start with seeing as I am familiar with the lib.

@kenz-gelsoft
Copy link
Owner

Sorry for very very long silence,

In short, NO.

As you (and others) noticed, this repo has not been maintained for a long time, because I don't have enough spare time to work on.

This project started when Rust was not stable, and was at most PoC state when it was most active.

If someone who experienced in Rust or wxWidgets (re)start work on wx binding in Rust, I think there's better approach to bind wx in Rust now, for example, using rust-bindgen's C++ binding direcly, cxx, or Google's autocxx.

wxRust depends on wxc (in wxHaskell) calling wxWidgets, which isn't actively updated, can't support new wx APIs. and linking through wxc results in large binary (with handy static linking configuration).

Modern binding solutions like CXX may give us better wx object's lifetime managment, more safety, resolving above problems.

@LinuxDevon
Copy link
Author

Alright thank you for the response!

As for the state of this, I agree maybe a rust bind generator is the better answer. I did attempt rust-bindgen but was unsuccessful due to a bug with templates at the moment. There was also another repo I stumbled upon that tried it as well https://github.com/LoganDark/wxRust.

I hadn't heard of CXX and only briefly hear of Autocxx. I will give those both an attempt in the near future. Thank you for these suggestions.

I will try and report back if I find out anything or am successful.

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