Singularity
Singularity は マイクロソフトリサーチ が2003年から実験的に開発しているオペレーティングシステム (OS)。高度なディペ�…
|
起動後のSingularity | |
| 開発者 | マイクロソフト |
|---|---|
| OSの系統 | 言語ベース |
| 開発状況 | Microsoft Research により開発中 |
| ソースモデル | シェアードソース |
| 最新安定版 | 2.0 / 2008年11月14日 |
| アップデート方式 | N/A |
| パッケージ管理 | N/A |
| プラットフォーム | x86 |
| カーネル種別 | マイクロカーネル、言語ベース |
| 既定のUI | コマンド行インタフェース |
| ライセンス | Microsoft Research License |
| ウェブサイト | Microsoft Research Singularity Project |
Singularity は マイクロソフトリサーチ が2003年から実験的に開発しているオペレーティングシステム (OS)。高度なディペンダブルOSとすることを目標とし、カーネルやデバイスドライバ、アプリケーションも全てマネージコードで書かれている。
仕組み
x86の割り込みディスパッチ部分のコードはアセンブリ言語とC言語で書かれている。カーネル本体とガベージコレクタはSing#で書かれている。Sing#は、Spec#を拡張した言語で、Spec#自体はC#を拡張した言語である。HALはC++で書かれている。他にもデバッグ関連でC言語を使っている。ブート時の16ビットリアルモードではBIOSを呼び出すが、32ビットモードになるとBIOSは使わず、Sing#で書かれたデバイスドライバを使う。インストール時にBartokコンパイラを使って共通中間言語 (CIL) をx86の機械語にコンパイルする。
セキュリティ
Singularity はマイクロカーネル型のOSである。それまでのマイクロカーネルとは異なり、各コンポーネントは同じアドレス空間(プロセス)内で、"software-isolated process" (SIP) として動作する。SIPにはそれぞれ自前のデータとコードがあり、他のSIPとは独立している。SIPはプロセスのように振舞うが、仮想記憶の切り替えが不要でコンテキストスイッチのコストが低い。
システムの保護は、不変条件と呼ばれる一連の規則が提供し、それらは静的コード解析で検証される。例えば、メモリ不変条件は2つのSIP間で相互参照(ポインタの受け渡し)はしない、としている。SIP間の通信は高度に抽象化された通信路経由で行われ、OSの管理下にある。不変条件はアプリケーションのインストール時にもチェックされる。Singularityでは、インストールはOSが管理している。
不変条件の多くは、より安全にメモリを管理する言語に依存している。例えば、Sing#にはガベージコレクション機能があり、ポインタを自由に使えない。また、コードが特定のコンピュータセキュリティポリシーに適合するか検証できる。
プロジェクトの状況
Singularity 1.0は2007年に完成した。Singularity Research Development Kit (RDK) は、学術的な非商用目的に限ってシェアードソースライセンスでリリースされており、CodePlexで公開している。バージョン1.1は2007年3月、バージョン2.0は2008年11月14日にリリースされ、開発は現在[いつ?]も進行中である[1]。
関連項目
- Inferno
- JavaOS
- JNode
- Midori (オペレーティングシステム) - Singularity と関連するマイクロソフトのプロジェクト。
脚注・出典
- ^ “Singularity RDK Releases: Singularity RDK 2.0 Initial Release (17067)”. 2008年11月14日閲覧。
外部リンク
- 公式サイト
- Singularity Design Motivation (PDF) と overview of the Singularity Project (PDF)
- Singularity RDK ソースコード
- Singularity: A research OS written in C# 開発者 Jim Larus とGalen Hunt へのインタビュー映像
- Singularity III: Revenge of the SIP 3人の開発者へのインタビュー映像
- Singularity IV: Return of the UI デモ映像
- Singularity Revisited 4人の開発者へのインタビュー映像
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.