On 5/7/14 11:16 AM, Josh Matthews wrote:
In the worst case, you have a GC hazard that is conceivably exploitable
if the stars are in alignment.
How would you create a `JS` on the stack? I would think that they
aren't cloneable and the constructor for them is appropriately private.
Patrick
_
In the worst case, you have a GC hazard that is conceivably exploitable
if the stars are in alignment.
Cheers,
Josh
On 05/06/2014 08:08 PM, Keegan McAllister wrote:
From js.rs:
/// A rooted, JS-owned value. Must only be used as a field in other
JS-owned types.
pub struct JS {
Wha
>From js.rs:
/// A rooted, JS-owned value. Must only be used as a field in other
JS-owned types.
pub struct JS {
What happens if I break this rule and allocate a JS on the stack, or return
one from a function? Is that a memory safety violation?
keegan
- Original Message -
Fro
This is great!
-Manish Goregaokar
On Sun, May 4, 2014 at 1:04 AM, Patrick Walton wrote:
> On 5/3/14 12:30 PM, Josh Matthews wrote:
>
>> Learn to love it. When you find a type error where something is asking
>> for a JSRef and you're not providing it, that's a potential GC hazard
>> that the co
On 5/3/14 12:30 PM, Josh Matthews wrote:
Learn to love it. When you find a type error where something is asking
for a JSRef and you're not providing it, that's a potential GC hazard
that the compiler is rejecting.
Kudos! This is a major milestone.
Patrick
_
5 matches
Mail list logo