On 12/3/13 12:07 AM, Josh Matthews wrote:
Ms2ger and I have been working on this on and off, and the Event
hierarchy is looking very nice so far:
https://github.com/jdm/servo/commits/jsmanaged . It even builds and
passes tests, so we should be able to continue converting this
piece-by-piece. There is an absolute minimum amount of boilerplate
required now, which is lovely.
I just got a chance to look this over.
* Is `transmute()` safe? It doesn't look safe at a glance. Perhaps it
should be marked as an unsafe function?
* `mut_val()` may need a dynamic borrow check to be memory safe.
Probably we should wait on the new `Cell` to fix this, but it warrants a
FIXME.
Patrick
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo