<s>
Bartok	B-Application
is	O
an	O
optimizing	O
compiler	B-Language
and	O
managed	O
runtime	B-Library
system	O
for	O
Common	O
Intermediate	O
Language	O
(	O
which	O
.NET	B-Language
languages	I-Language
compile	B-Language
to	O
)	O
,	O
being	O
developed	O
by	O
Microsoft	O
Research	O
.	O
</s>
<s>
Bartok	B-Application
aims	O
to	O
be	O
efficient	O
enough	O
to	O
be	O
usable	O
for	O
writing	O
operating	B-General_Concept
systems	I-General_Concept
.	O
</s>
<s>
It	O
provides	O
services	O
such	O
as	O
automatic	B-General_Concept
memory	I-General_Concept
management	I-General_Concept
and	O
garbage	B-General_Concept
collection	I-General_Concept
,	O
threading	B-Operating_System
,	O
and	O
marshalling	O
data	O
to	O
and	O
from	O
native	B-Language
code	I-Language
,	O
as	O
well	O
as	O
verification	O
of	O
CIL	O
code	O
.	O
</s>
<s>
Bartok	B-Application
is	O
written	O
in	O
C#	B-Application
,	O
including	O
the	O
garbage	B-General_Concept
collector	I-General_Concept
.	O
</s>
<s>
Bartok	B-Application
is	O
being	O
used	O
by	O
Microsoft	O
Research	O
for	O
the	O
implementation	O
of	O
Singularity	B-Operating_System
,	O
a	O
highly-dependable	O
operating	B-General_Concept
system	I-General_Concept
written	O
almost	O
entirely	O
in	O
managed	O
code	O
.	O
</s>
<s>
Bartok	B-Application
allows	O
various	O
implementations	O
of	O
the	O
garbage	B-General_Concept
collector	I-General_Concept
,	O
base	O
class	O
library	O
and	O
other	O
components	O
to	O
be	O
chosen	O
at	O
runtime	B-Library
on	O
a	O
per-application	O
basis	O
.	O
</s>
<s>
This	O
feature	O
is	O
being	O
used	O
to	O
write	O
the	O
different	O
components	O
of	O
Singularity	B-Operating_System
–	O
kernel	B-Operating_System
,	O
device	B-Application
drivers	I-Application
,	O
and	O
applications	B-Application
–	O
each	O
using	O
a	O
separate	O
class	O
library	O
that	O
exposes	O
functionality	O
required	O
by	O
(	O
and	O
optimized	O
for	O
)	O
the	O
specific	O
usage	O
.	O
</s>
