<?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: RISHABH KESHARI</title>
    <description>The latest articles on DEV Community by RISHABH KESHARI (@hackesh8218).</description>
    <link>https://dev.to/hackesh8218</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%2F4177734%2Fcae3b2d4-a257-4d1b-b5d1-2187174f616b.jpg</url>
      <title>DEV Community: RISHABH KESHARI</title>
      <link>https://dev.to/hackesh8218</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hackesh8218"/>
    <language>en</language>
    <item>
      <title>Benchmarking AI for Code Optimization: Which LLM Actually Writes the Most Efficient C/Rust Code?</title>
      <dc:creator>RISHABH KESHARI</dc:creator>
      <pubDate>Sun, 11 Oct 2026 19:44:47 +0000</pubDate>
      <link>https://dev.to/hackesh8218/benchmarking-ai-for-code-optimization-which-llm-actually-writes-the-most-efficient-crust-code-4pld</link>
      <guid>https://dev.to/hackesh8218/benchmarking-ai-for-code-optimization-which-llm-actually-writes-the-most-efficient-crust-code-4pld</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the Kaggle Benchmarking Challenge (&lt;a href="https://dev.to"&gt;https://dev.to&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ## What I Benchmarked
&lt;/h2&gt;

&lt;p&gt;As a third-year Computer Science and Data Science student, I frequently work with lower-level system operations where runtime efficiency is everything. While many public leaderboards evaluate LLMs on whether their code simply &lt;em&gt;functions&lt;/em&gt; or passes a basic test suite, they rarely measure the structural efficiency, compilation overhead, or algorithmic complexity of the generated output. &lt;/p&gt;

&lt;p&gt;For this challenge, I wanted to scratch a specific itch: &lt;strong&gt;How well do modern language models optimize low-level tasks like custom memory management, basic OS kernel loops, and heavy data sorting arrays in C and Rust?&lt;/strong&gt; I created a suite of 15 tasks testing complex pointer arithmetic, memory allocations, and loop unrolling strategies to see which model generates execution-ready code with the lowest CPU overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  ## Models Tested
&lt;/h2&gt;

&lt;p&gt;I ran my evaluation across a diverse lineup of four models that represent distinct approaches to automated software engineering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek-Coder-V2-Instruct:&lt;/strong&gt; Chosen for its massive open-source popularity and high specialization in deep contextual code logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude 3.5 Sonnet:&lt;/strong&gt; The current industry gold standard for complex reasoning, multi-file software construction, and code architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-4o:&lt;/strong&gt; Included as the baseline benchmark heavyweight to see how generalized logic handles aggressive compiler-level structural problems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 1.5 Pro:&lt;/strong&gt; Selected due to its massive context window capability, allowing me to feed complex hardware architecture specs directly into the prompt constraints.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ## Findings
&lt;/h2&gt;

&lt;p&gt;The results completely changed how I think about utilizing these models for low-level systems programming:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Semantic vs. Performance Gap:&lt;/strong&gt; While all four models achieved over a 90% pass rate for syntax and compiling cleanly, their execution performance diverged wildly. On complex C pointer manipulation tasks, DeepSeek-Coder-V2 generated code that executed up to &lt;strong&gt;18% faster&lt;/strong&gt; than GPT-4o because it successfully avoided redundant stack-to-heap copies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rust Safety Overhead:&lt;/strong&gt; When generating Rust code, Claude 3.5 Sonnet consistently found optimal, zero-cost abstractions that pleased the borrow checker on the first try. Gemini 1.5 Pro, while structurally sound, frequently fell back on using &lt;code&gt;unsafe&lt;/code&gt; blocks to force compilation when dealing with complex data ownership nodes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Big Surprise:&lt;/strong&gt; The generalized reasoning model (Claude) slightly edged out the code-specialized model (DeepSeek) in code readability and commenting, but failed to match DeepSeek's micro-optimization flags. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If I were to expand this benchmark next, I would measure the models' ability to successfully optimize code specifically targeted at &lt;strong&gt;ARM vs. x86 assembly architectures&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>kagglechallenge</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>How I Bypassed Server Costs to Build a High-Traffic Web App</title>
      <dc:creator>RISHABH KESHARI</dc:creator>
      <pubDate>Sun, 11 Oct 2026 19:42:10 +0000</pubDate>
      <link>https://dev.to/hackesh8218/how-i-bypassed-server-costs-to-build-a-high-traffic-web-app-kg7</link>
      <guid>https://dev.to/hackesh8218/how-i-bypassed-server-costs-to-build-a-high-traffic-web-app-kg7</guid>
      <description>&lt;p&gt;As a student developer, building an application that needs to handle thousands of concurrent users usually means one thing: a massive, terrifying bill from AWS or Google Cloud.&lt;br&gt;
When I set out to build my latest project—a test series website designed to handle 2,000 to 5,000 concurrent students—I had a budget of exactly $0.&lt;br&gt;
Here is the exact "Indie Hacker Architecture Stack" I used to build and deploy a high-traffic app completely for free:&lt;/p&gt;

&lt;p&gt;⚡ 1. The Symmetrical Split (Frontend)&lt;/p&gt;

&lt;p&gt;Instead of hosting everything on a single server, I decoupled the layers. I deployed the entire user interface to Vercel / Cloudflare Pages. Because they use global CDNs, thousands of students can load the landing pages, assets, and UI components simultaneously without costing a single cent or touching my backend infrastructure.&lt;/p&gt;

&lt;p&gt;🏗️ 2. Distributed Compute (The Backend Engine)&lt;/p&gt;

&lt;p&gt;To process quiz answers without crashing, I leveraged the Oracle Cloud Free Tier. They offer an incredibly generous 4 ARM CPUs and 24 GB of RAM for free. By making the architecture completely stateless and using JSON web tokens (JWT) for user sessions, requests can be balanced across instances seamlessly.&lt;/p&gt;

&lt;p&gt;🌐 3. Bypassing Network Barriers (Development)&lt;/p&gt;

&lt;p&gt;During local testing, my laptop was stuck behind strict campus Wi-Fi and mobile CGNAT firewalls. I used Cloudflare Tunnels (cloudflared). It established a secure outbound bridge from my local machine to the internet, giving me a public HTTPS URL without needing a public IP or touching router port forwarding.&lt;/p&gt;

&lt;p&gt;🗄️ 4. High-Speed Database Pooling&lt;/p&gt;

&lt;p&gt;A standard database locks up under thousands of rapid simultaneous writes. By pairing the stack with Supabase (PostgreSQL) and leveraging its built-in connection pooler, incoming quiz submissions are safely queued and written without hitting performance ceilings.&lt;br&gt;
The Takeaway: You don't need a massive budget to build production-ready, scalable applications. You just need to leverage modern free-tier ecosystems and smart architectural design.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
