Porting wxWidgets to Rust?

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
bigpilot
I live to help wx-kind
I live to help wx-kind
Posts: 184
Joined: Tue Sep 19, 2006 8:33 am

Porting wxWidgets to Rust?

Post by bigpilot »

There are currently very few (if any) UI frameworks available for Rust, and certainly not targeting multi-platform native widget frameworks.

I was thinking that a lot of stuff implemented in C++ wxWidgets wouldn't need to be implemented such as wxString, wxHashMap, etc. since these are all part of Rust itself.

Mind you that the C++ version of wxWidgets works just fine, but when contemplating a future roadmap for wxWidgets the devs will want to consider Rust.
Soon to be world famous ;)
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Porting wxWidgets to Rust?

Post by evstevemd »

I'm not sure how many here are familiar with Rust (for one I'm not).
So trying to provide background information will help make a good conversation.
For example I don't know why you are even talking of porting to Rust if as you say C++ port works fine
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Porting wxWidgets to Rust?

Post by ONEEYEMAN »

Hi,
You might consider posting to wx-dev mailing list - this is a user forum made for users by users of the library.
Core developers are not coming here - you can reach them in the mailing list.

Thank you.
bigpilot
I live to help wx-kind
I live to help wx-kind
Posts: 184
Joined: Tue Sep 19, 2006 8:33 am

Re: Porting wxWidgets to Rust?

Post by bigpilot »

evstevemd wrote: Mon Apr 26, 2021 7:48 am I'm not sure how many here are familiar with Rust (for one I'm not).
So trying to provide background information will help make a good conversation.
For example I don't know why you are even talking of porting to Rust if as you say C++ port works fine
Because there aren't any native UI frameworks for Rust at the moment. This limits what I (can) do with it severely.

And interop (calling C++ wxWidgets from Rust) doesn't work comfortably since the two languages are subtly different.
Soon to be world famous ;)
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Porting wxWidgets to Rust?

Post by evstevemd »

Hi,
bigpilot wrote: Wed Mar 27, 2024 3:37 pm Because there aren't any native UI frameworks for Rust at the moment. This limits what I (can) do with it severely.
And interop (calling C++ wxWidgets from Rust) doesn't work comfortably since the two languages are subtly different.
I suggest you make a case on wx-dev list. There core developers stays and will help you a lot!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Porting wxWidgets to Rust?

Post by ONEEYEMAN »

Hi,
Follow evstevemd suggestion.

This is user forum made by users for users of the library and no core wx-devs are coming here.

Thank you.
Post Reply