01.06.2013 Views

JIT - Dipartimento di Sistemi e Informatica

JIT - Dipartimento di Sistemi e Informatica

JIT - Dipartimento di Sistemi e Informatica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Dipartimento</strong> <strong>di</strong> <strong>Sistemi</strong> e <strong>Informatica</strong>, University of Florence<br />

<strong>Sistemi</strong> Distribuiti, Prof. Paolo Nesi<br />

Common Type System<br />

Sistema <strong>di</strong> Tipi unificato ed interlinguaggio<br />

Un insieme standard <strong>di</strong> tipi <strong>di</strong> dato e <strong>di</strong> regole necessarie per la la<br />

realizzazione <strong>di</strong> nuovi tipi<br />

Due Categorie <strong>di</strong> Tipi <strong>di</strong>sponibili:<br />

♣ Value Type<br />

♣ Reference Type<br />

<strong>Sistemi</strong> Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 19<br />

Common Type System<br />

Reference Type<br />

Value Type<br />

♣ Entità Entit autodefinite contententi sia<br />

meto<strong>di</strong> che variabili<br />

♣ Tipi atomici come integer e<br />

char<br />

♣ Divisi in built-in built in ed user<br />

defined<br />

♣ Descrivono valori che sono<br />

rappresentati come<br />

♣ Divisi in quattro sottocategorie:<br />

Self Self Describing<br />

Interface Interface<br />

Pointer Pointer<br />

Built Built-in in<br />

sequenze <strong>di</strong> bit<br />

♣ Descrivono valori che sono<br />

♣ Allocati nello Stack del<br />

Thread<br />

rappresentati come la locazione <strong>di</strong><br />

una sequenza <strong>di</strong> bit<br />

♣ Non soggetti al Garbage<br />

Reference Type<br />

Collector<br />

♣ Allocati nell’ nell Heap Gestito<br />

(Managed Heap)<br />

♣ Soggetti al Garbage Collector<br />

<strong>Sistemi</strong> Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 20<br />

10

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

Saved successfully!

Ooh no, something went wrong!