<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: xelvoridze</title>
    <description>The latest articles on DEV Community by xelvoridze (@xelvoridze).</description>
    <link>https://dev.to/xelvoridze</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4047446%2F0272c6e0-4997-4679-882d-7988e19aec7f.png</url>
      <title>DEV Community: xelvoridze</title>
      <link>https://dev.to/xelvoridze</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xelvoridze"/>
    <language>en</language>
    <item>
      <title>Built a Custom Virtual Machine From Scratch in Rust</title>
      <dc:creator>xelvoridze</dc:creator>
      <pubDate>Sun, 26 Jul 2026 02:16:24 +0000</pubDate>
      <link>https://dev.to/xelvoridze/built-a-custom-virtual-machine-from-scratch-in-rust-nc2</link>
      <guid>https://dev.to/xelvoridze/built-a-custom-virtual-machine-from-scratch-in-rust-nc2</guid>
      <description>&lt;p&gt;A few weeks ago I started working on &lt;strong&gt;XVM&lt;/strong&gt; - a custom virtual machine built entirely from scratch in Rust. Not an emulator of any real processor (not x86, not ARM) - a completely custom architecture I designed myself, in the same spirit as educational VMs like CHIP-8.&lt;/p&gt;

&lt;p&gt;It has its own CPU with 8 registers, 33 instructions, a built-in step-by-step debugger with breakpoints, typed error handling instead of panics, and video memory with a live window you can draw pixels to directly from assembly code.&lt;/p&gt;

&lt;p&gt;I also built a small IntelliJ/RustRover plugin that adds syntax highlighting and a custom icon for &lt;code&gt;.xasm&lt;/code&gt; files, since I wanted the editing experience to feel like a real language.&lt;/p&gt;

&lt;p&gt;Screenshots, full instruction list, and setup instructions are in the repos:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;XVM: &lt;a href="https://github.com/xelvoridze/xvm" rel="noopener noreferrer"&gt;https://github.com/xelvoridze/xvm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;XASM plugin: &lt;a href="https://github.com/xelvoridze/xasm-plugin" rel="noopener noreferrer"&gt;https://github.com/xelvoridze/xasm-plugin&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Would love any feedback, especially on the instruction set design and error handling - this is my first real Rust project and I'm still learning a lot along the way.&lt;/p&gt;

</description>
      <category>rust</category>
      <category>showdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
