As one of the main DOM designers for Servo, I've been reading the RFCs for
"virtual struct" proposals with interest. One problem I've had is that I
have found it difficult to translate the examples included into meaningful
commentary with regards to how this would impact Servo's implementation.
Accordingly, I've put together https://gist.github.com/jdm/9900569, which
is a minimal example of the C++ features that Servo is currently emulating
(or planning to) using unsafe code. I'd appreciate it if we could lean on
the example when discussing pros and cons of the various proposals, as well
as when demonstrating equivalent Rust code, as that will help me provide
better feedback.

Cheers,
Josh
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to