-
Notifications
You must be signed in to change notification settings - Fork 16
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
Roadmap Discussion #2
Comments
Yep!
Yep! I have no idea why I made the
I like the name with Nevertheless I would be fine with the variant that takes as array, provided there would be an
Hmm..
In this case it's not about the C convention of attaching
I'm a little ambivalent about this but I guess it makes sense.
Unfortunately I didn't have too much time to work on this for the past couple of months, but I'd definitely like to support more functionality; as to where I'd like this to go - I care much more about keeping it idiomatic Rust and having it convenient to use rather than keeping it 100% inline with the libretro API. Easy to use, obvious what it does without reading the docs API, sane defaults and as much error checking as possible enforced by the type system. I do welcome any contributions you might have! |
@koute Really neat start you have here. I was considering doing something like this. I'm wondering how much you're committed to this and where you see this library going.
I see a lot that can be cleaned up, refactored, etc. One big one is keeping closer to libretro terminology.
Backend
=>
Core is a big one I'd thinklibretro-backend
=>
retro-core — Generally I don't see the C convention of "lib-" being carried over into the rust name.Use https://github.com/rust-lang-nursery/lazy-static.rs for the instance mutable static
to_cstring( name )
can be replaced withCString::new
instead of
supports_roms_with_extension("nes")
perhapssupports_extensions(&["nes"])
Rather than
::on_initialize()
perhaps::info()
or::system_info()
implemented like:Any thoughts? I can do things bit by bit in pull requests.
The text was updated successfully, but these errors were encountered: