danielhenrymantilla / inheritance-rs

Avoiding code reuse in Rust with OOP inheritance
MIT License
38 stars 6 forks source link

Is this crate dormant or developing elsewhere? #2

Open clojurust opened 3 years ago

clojurust commented 3 years ago

I'll try to use it in another crate... ;)

danielhenrymantilla commented 3 years ago

Haha, yeah I have been dealing with other projects 😅, I no longer had that much motivation for a crate that I didn't think much people were using (basically it's on my TODO list, but not high up).

Should you have a well-defined use-case objective you'd like to see added here, it may give me an objective towards which to work 🙂

clojurust commented 3 years ago

Well, I'm in a compiler for Clojure, and I'm dealing a lot with trait objects as the runtime is fully based on dynamic dispatch. I fall on your code and part of it seemed useful to be integrated to ease the code generation of the core library and eventually in the compiler code generation. But I'm not in a hurry for now... ;)

JohnTheCoolingFan commented 1 year ago

I wanted to write a crate with a similar functionality, but decided to search for one first. Found this one at it probably fits my use case, which is representing Factorio prototypes as rust structs: https://github.com/JohnTheCoolingFan/factorio-lib-rs