<?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: Yash solanki</title>
    <description>The latest articles on DEV Community by Yash solanki (@ezmav3ick).</description>
    <link>https://dev.to/ezmav3ick</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2205883%2F5fb2f673-c045-40b8-8a34-d09133198564.png</url>
      <title>DEV Community: Yash solanki</title>
      <link>https://dev.to/ezmav3ick</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ezmav3ick"/>
    <language>en</language>
    <item>
      <title>Discovering Drizzle ORM: A TypeScript-Native, SQL-First Solution</title>
      <dc:creator>Yash solanki</dc:creator>
      <pubDate>Fri, 05 Dec 2025 05:03:55 +0000</pubDate>
      <link>https://dev.to/ezmav3ick/discovering-drizzle-orm-a-typescript-native-sql-first-solution-203e</link>
      <guid>https://dev.to/ezmav3ick/discovering-drizzle-orm-a-typescript-native-sql-first-solution-203e</guid>
      <description>&lt;p&gt;As I was working on projects with my usual stack with &lt;strong&gt;Prisma ORM&lt;/strong&gt;, &lt;strong&gt;my IDE used to lag during every &lt;code&gt;npx prisma generate&lt;/code&gt; command&lt;/strong&gt;. At first, I thought it was just my machine. But after multiple projects—different environments, different databases—the problem remained the same:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Prisma’s code generation step was slowing down my workflow and affecting overall productivity as it uses Rust binary engines.&lt;/em&gt;*&lt;/p&gt;

&lt;p&gt;This performance issue pushed me to explore alternatives, and that’s when I discovered &lt;strong&gt;Drizzle ORM&lt;/strong&gt;—a lightweight, SQL-first ORM that instantly solved all the bottlenecks I was facing.&lt;/p&gt;




&lt;h1&gt;
  
  
  🔍 &lt;strong&gt;Why Prisma Causes IDE Lag (Especially During &lt;code&gt;prisma generate&lt;/code&gt;)&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Prisma offers fantastic developer experience—until your schema grows.&lt;br&gt;
Then the lag begins.&lt;/p&gt;

&lt;p&gt;Here’s why:&lt;/p&gt;


&lt;h2&gt;
  
  
  &lt;strong&gt;1. &lt;code&gt;npx prisma generate&lt;/code&gt; Is Heavy by Design&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Prisma doesn’t just generate simple types.&lt;/p&gt;

&lt;p&gt;During generation, it creates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A full type-safe client&lt;/li&gt;
&lt;li&gt;Deeply nested TypeScript definitions&lt;/li&gt;
&lt;li&gt;Relationship helpers&lt;/li&gt;
&lt;li&gt;Validation layers&lt;/li&gt;
&lt;li&gt;Mappings for the Rust query engine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When your schema gets large, the generated types quickly reach &lt;strong&gt;tens or even hundreds of thousands of lines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Your IDE has to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;parse them&lt;/li&gt;
&lt;li&gt;type-check them&lt;/li&gt;
&lt;li&gt;index them&lt;/li&gt;
&lt;li&gt;autocomplete them&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This causes CPU spikes, lag, and slow reload times.&lt;/p&gt;


&lt;h2&gt;
  
  
  &lt;strong&gt;2. The Prisma Query Engine Adds Overhead&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Prisma uses a &lt;strong&gt;Rust-based query engine&lt;/strong&gt; that runs as a separate background binary.&lt;br&gt;
Your IDE and dev environment must interact with this engine constantly.&lt;/p&gt;

&lt;p&gt;This leads to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;slower dev startup&lt;/li&gt;
&lt;li&gt;slower reloads&lt;/li&gt;
&lt;li&gt;slow type generation&lt;/li&gt;
&lt;li&gt;increased RAM usage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even powerful machines feel this.&lt;/p&gt;


&lt;h2&gt;
  
  
  &lt;strong&gt;3. TypeScript Struggles With Prisma’s Huge Types&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Prisma’s generated types are extremely deep and complex.&lt;br&gt;
VSCode and other editors often struggle with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;intellisense delays&lt;/li&gt;
&lt;li&gt;autocomplete hangs&lt;/li&gt;
&lt;li&gt;slow error reporting&lt;/li&gt;
&lt;li&gt;memory spikes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’ve ever typed a Prisma query and waited for IntelliSense, you’ve experienced this.&lt;/p&gt;



&lt;p&gt;After dealing with lag long enough, I began looking for an ORM that wouldn’t punish me during development. That search led me to &lt;strong&gt;Drizzle ORM&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And the difference was immediate.&lt;/p&gt;


&lt;h1&gt;
  
  
  &lt;strong&gt;Why Drizzle ORM Completely Removed My IDE Lag&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Here’s what makes Drizzle dramatically faster:&lt;/p&gt;


&lt;h2&gt;
  
  
  &lt;strong&gt;1. No Code Generation. No Lag.&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Unlike Prisma, Drizzle does &lt;strong&gt;not&lt;/strong&gt; run a code generation step.&lt;/p&gt;

&lt;p&gt;There is &lt;strong&gt;no&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npx prisma generate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;huge type output&lt;/li&gt;
&lt;li&gt;Rust binary&lt;/li&gt;
&lt;li&gt;extra engine layer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drizzle’s types are generated &lt;strong&gt;directly from your TypeScript schema&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Your IDE loads them instantly.&lt;br&gt;
No more lag.&lt;br&gt;
No more 100k-line type files.&lt;/p&gt;


&lt;h2&gt;
  
  
  &lt;strong&gt;2. Schema Written Directly in TypeScript&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;With Drizzle, your database tables are defined using real TS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;users&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;pgTable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;users&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;serial&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;id&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;primaryKey&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;name&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;length&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;255&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;your IDE understands everything instantly&lt;/li&gt;
&lt;li&gt;no extra DSL to compile&lt;/li&gt;
&lt;li&gt;no extra build or generate step&lt;/li&gt;
&lt;li&gt;no slowdown as your project grows&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I Ultimately Switched to Drizzle ORM
&lt;/h2&gt;

&lt;p&gt;After replacing Prisma with Drizzle in a few projects, here’s what I immediately noticed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;My IDE stopped lagging"&lt;/li&gt;
&lt;li&gt;TypeScript felt &lt;em&gt;fast again&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;No more slow &lt;code&gt;prisma generate&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Queries were clearer and closer to SQL&lt;/li&gt;
&lt;li&gt;Deployments to serverless became trouble-free&lt;/li&gt;
&lt;li&gt;Codebase felt lighter and more maintainable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drizzle didn’t just improve performance—&lt;br&gt;
it made database work enjoyable again.&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion: If Prisma Is Slowing Your IDE, Drizzle Is the Fix&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Prisma is a powerful ORM, but its heavy generation step and complex types can slow down even high-performance machines.&lt;/p&gt;

&lt;p&gt;If you’re facing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;lag during &lt;code&gt;npx prisma generate&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;slow autocomplete&lt;/li&gt;
&lt;li&gt;heavy type files&lt;/li&gt;
&lt;li&gt;serverless deployment issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Drizzle ORM is absolutely worth switching to.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It’s fast, clean, SQL-friendly, and built for modern TypeScript workflows.&lt;/p&gt;

&lt;p&gt;Drizzle doesn’t use a query engine.&lt;br&gt;
Your queries compile directly into SQL strings.&lt;/p&gt;

&lt;p&gt;Benefits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;faster execution&lt;/li&gt;
&lt;li&gt;smaller bundle size&lt;/li&gt;
&lt;li&gt;instant serverless support&lt;/li&gt;
&lt;li&gt;no binary processes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is why Drizzle runs so smoothly in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next.js&lt;/li&gt;
&lt;li&gt;Vercel Edge&lt;/li&gt;
&lt;li&gt;Cloudflare Workers&lt;/li&gt;
&lt;li&gt;Bun / Deno&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prisma often struggles here.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>fullstack</category>
      <category>learning</category>
    </item>
    <item>
      <title>10 Days of JavaScript by Hackerrank.com</title>
      <dc:creator>Yash solanki</dc:creator>
      <pubDate>Sun, 13 Oct 2024 14:45:40 +0000</pubDate>
      <link>https://dev.to/ezmav3ick/10-days-of-javascript-by-hackerrankcom-4589</link>
      <guid>https://dev.to/ezmav3ick/10-days-of-javascript-by-hackerrankcom-4589</guid>
      <description>&lt;p&gt;hello fellow developers&lt;/p&gt;

&lt;p&gt;i have to refresh my javascript knowledge and was confused &lt;br&gt;
where to start and found  &lt;a href="https://www.hackerrank.com/challenges/js10-hello-world/problem" rel="noopener noreferrer"&gt;10DaysofJavascript&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;its a small challenge created by hackerrank team try it out once&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
