Karl Bergström

Results 68 comments of Karl Bergström

> @kabergstrom this not the link you are asking about, but it might be helpful - https://gfx-rs.github.io/2019/07/13/javelin.html Thank you for the quick reply! Yes I had read this post but...

My impression of `rodio` is that it uses the Rust type system in ways that makes it overly difficult to create a data-driven application, i.e. configure playback of audio in...

> Can you explain how is `rodio` opinionated? It's basically a wrapper around `cpal` (which itself is designed to be unopinionated) with utilities to make it easy to use. The...

I have a rough proposal for an API. The idea is to provide an API that lets the user be in control of when each executor crate runs work, to...

Yeah maybe it's a terrible idea. Is it slow to have a lot of segments? I was considering using capnp for game packfiles, so I'd imagine wanting to support >1GB...

> I'm also not a fan of `register_all`, it's really not the direction I like to see any library move in. Why can't this be a part of the `#[reflect(Trait)]`...

> Finally giving this the attention it deserves. My current thoughts: > > 1. The trait casting improvements are welcome and great ergonomics. > > 2. Something like the register_all!...

I recently realized that with the indirection for data access that exists, it'd be possible to keep component references around between scopes, and just patch up the data pointer on...

I think we can provide try_read/try_write functions for borrowing, so that errors can be propagated within the scripting environment as opposed to panicking. This would be equivalent to a null...

I wrote a small simulation to test how it is to use the API https://github.com/kabergstrom/cogito/blob/master/src/main.rs