Boscop

Results 547 comments of Boscop

@chris-zen Do you know what the advantage is of using the windows midi streaming API vs the normal midi out api? With both, I have to do the timing (there...

@chris-zen Doesn't that queueing add latency though, compared to sending the msgs out instead of queueing them? Also, in the absence of audio callbacks, which OS features do you recommend...

The IDs can be opaque (in the type system) but still be serializable in app's config data, that should work.. Then if the repr changes, it will fail to deserialize,...

If that is done, async not be the default/only way, the blocking way should still be possible.

Apparently the way of writing proc-macros has changed, now it has to be done like this (for `functionlike!()` proc-macros): https://doc.rust-lang.org/unstable-book/language-features/proc-macro.html#function-like-procedural-macros E.g.: https://github.com/dtolnay/syn/blob/master/examples/lazy-static/lazy-static/src/lib.rs#L49-L50 https://github.com/dtolnay/syn/blob/master/examples/lazy-static/lazy-static/Cargo.toml#L8 With this, the proc-macro can also work...

Hm, it still doesn't work for me (on wasm32): ``` [Running: cargo check --message-format=json] Updating registry `https://github.com/rust-lang/crates.io-index` Downloading interpolate v0.1.2 Checking unicode-xid v0.1.0 Checking proc-macro2 v0.4.9 error: C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.9\src\lib.rs:50: can't find...

The steps are simple: Create a new crate and add `interpolate = "0.1.2"` as depencency to Cargo.toml, then `cargo build --target=wasm32-unknown-unknown`. I'm getting > error: cannot produce proc-macro for `interpolate...

@anowell It seems to work now: https://github.com/rust-lang/rust/issues/52707

@anowell Any update on this? :) I'm also running into these errors on the latest nightly..

The `$` syntax requires only one additional keystroke when the interpolated expression is only a variable (probably most cases) but 3 additional keystrokes for general expressions, whereas `{}` syntax always...