Диаграмма вложенности памяти
До сих пор я не размещал в блоге диаграм. Решил попробовать нарисовать диаграму вложенности памяти. Вот что получилось:
Нарисовано с помощью простого svg:
<svg height="340" width="1000">
<ellipse cx="300" cy="160" rx="200" ry="150" style="fill:yellow;stroke:black;stroke-width:2" />
<ellipse cx="300" cy="160" rx="160" ry="120" style="fill:lightgreen;stroke:black;stroke-width:2" />
<ellipse cx="300" cy="160" rx="120" ry="90" style="fill:lightblue;stroke:black;stroke-width:2" />
<rect x="250" y="110" width="100" height="100" style="fill:white;stroke-width:3;stroke:rgb(0,0,0)"/>
<text x="270" y="165" fill="black">Регистры</text>
<text x="285" y="180" fill="black">CPU</text>
<text x="270" y="230" fill="black">CPU Кэш</text>
<text x="285" y="270" fill="black">ОЗУ</text>
<text x="285" y="300" fill="black">ПЗУ</text>
</svg>