<?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: Laras | Tech</title>
    <description>The latest articles on DEV Community by Laras | Tech (@trylaras).</description>
    <link>https://dev.to/trylaras</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%2F4273189%2F652c8d82-a9b2-4543-b124-5b88b35327ab.png</url>
      <title>DEV Community: Laras | Tech</title>
      <link>https://dev.to/trylaras</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/trylaras"/>
    <language>en</language>
    <item>
      <title>Why Laras is fast: inside its Rust grid engine</title>
      <dc:creator>Laras | Tech</dc:creator>
      <pubDate>Mon, 30 Nov 2026 02:12:15 +0000</pubDate>
      <link>https://dev.to/trylaras/i-tested-laras-with-100-million-rows-heres-why-it-stores-data-by-column-3ld8</link>
      <guid>https://dev.to/trylaras/i-tested-laras-with-100-million-rows-heres-why-it-stores-data-by-column-3ld8</guid>
      <description>&lt;p&gt;When I built &lt;a href="https://trylaras.com" rel="noopener noreferrer"&gt;Laras&lt;/a&gt;, I wanted scrolling a large table to feel like scrolling a small one. A table can have millions of rows, but the browser still only has room to show a few dozen at a time. I built the grid around that difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rust and WebAssembly in the grid
&lt;/h2&gt;

&lt;p&gt;Laras’s core engine is written in Rust. In the browser, the grid runs its WebAssembly code in a web worker. That keeps grid processing off the main thread, where the browser handles input and renders the page.&lt;/p&gt;

&lt;p&gt;The grid draws cells on a canvas and paints the part of the table you can see. If you scroll down, it draws the rows entering the viewport. The total row count can go up without giving the browser more cells to paint on each scroll.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the engine works by column
&lt;/h2&gt;

&lt;p&gt;Take a table of invoices. To answer “How much is still unpaid?”, you need to check &lt;code&gt;Status&lt;/code&gt; and add the matching values from &lt;code&gt;Amount&lt;/code&gt;. Customer names and notes have nothing to do with that calculation.&lt;/p&gt;

&lt;p&gt;The engine groups values by column, which lets a calculation like this work with the fields it needs. The GIF shows the idea with four invoices. The same two columns are enough to answer the question when the table is much wider.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs0c95lquodk88cmk8asp.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs0c95lquodk88cmk8asp.gif" alt="The grid highlights Status and Amount and adds the two unpaid invoices for a total of $120" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sorting and filtering a whole table happen on the server. The grid reads the resulting rows in pages, so opening a 100,000-row table only requires fetching the rows you’re about to see.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I tested
&lt;/h2&gt;

&lt;p&gt;Laras can handle &lt;strong&gt;more than five million rows&lt;/strong&gt;. I also ran an internal engine test with &lt;strong&gt;100 million synthetic rows&lt;/strong&gt;. That figure is the size of the test dataset. I’d measure scroll responsiveness, query latency, and import time separately.&lt;/p&gt;

&lt;p&gt;Rust and WebAssembly let me run grid processing in a worker. The column layout, paging, and canvas renderer each reduce the work the grid has to do. That’s how the design holds up as the table grows.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>database</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
