24.10.2013 Views

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

An algebra of capabilities<br />

UNIVERSITYOF<br />

CAMBRIDGE<br />

Above in Γ, ∆, the “,” operator shares each x : t into either Γ or ∆.<br />

(Cf. partial function.)<br />

We’d like an algebra of capabilities, e.g. {unused, free, readonly}<br />

where unused models partiality above, and free means ‘this variable is<br />

allowed to be free’d”. These are combined with the “;” (afterwards)<br />

operator, giving <strong>for</strong> example:<br />

• unused ; x = x<br />

• x ; unused = x<br />

• readonly ; readonly = readonly<br />

• readonly ; free = free<br />

• free ; readonly is undefined<br />

<strong>Using</strong> Kilim’s <strong>isolation</strong> <strong>types</strong> <strong>for</strong> <strong>multicore</strong> <strong>efficiency</strong> 29 FoVeOOS’2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!