<?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: gitdexgit</title>
    <description>The latest articles on DEV Community by gitdexgit (@gitdexgit).</description>
    <link>https://dev.to/gitdexgit</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%2F3903105%2F7e211957-9d21-41ce-b5c0-13d212ec7594.png</url>
      <title>DEV Community: gitdexgit</title>
      <link>https://dev.to/gitdexgit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gitdexgit"/>
    <language>en</language>
    <item>
      <title># LLM Gambling: Constraints, Compilers, and Cavemen</title>
      <dc:creator>gitdexgit</dc:creator>
      <pubDate>Tue, 28 Apr 2026 20:19:33 +0000</pubDate>
      <link>https://dev.to/gitdexgit/-llm-gambling-constraints-compilers-and-cavemen-1c3k</link>
      <guid>https://dev.to/gitdexgit/-llm-gambling-constraints-compilers-and-cavemen-1c3k</guid>
      <description>&lt;p&gt;The best way to gamble with high chances in LLM is to add constraints and limits. The reason why LLM is good enough for simple ~ medium projects is because of the compiler:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LLM output -&amp;gt; compiler screams -&amp;gt; copy paste error to LLM.&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Now LLM generates a guess of the fix (Thank you stackoverflow for your contribution) because it has seen so many errors and potential fixes. But LLM sucks at assembly. LLM sucks so bad &amp;lt;- No compiler AND must be super precise. So it needs an emulator or something for assembly like java/any to write assembly and sees registers update in json so it provides the best guesses. But still it's just a guess.&lt;/p&gt;

&lt;p&gt;Also if you force LLM to be a caveman (don't use a/an/the) it forces restraints -&amp;gt; restraints increases accuracy of the answer (Claude is good because of restraints btw. And because people chose to use it. So it also gets feedback loop if it got correct and they train new models on user interactions). &lt;/p&gt;

&lt;p&gt;I go even further to add &lt;code&gt;&amp;lt;logic&amp;gt; &amp;lt;/logic&amp;gt;&lt;/code&gt; for LLM to first—before giving me answer—tell me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is the goal?&lt;/li&gt;
&lt;li&gt;What is NOT the goal?&lt;/li&gt;
&lt;li&gt;What is the user intent?&lt;/li&gt;
&lt;li&gt;What are the unknowns?&lt;/li&gt;
&lt;li&gt;What are the variables?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;--&amp;gt; Gives map before answer. Very good. &lt;/p&gt;

&lt;p&gt;And ofc &lt;strong&gt;temperature 0&lt;/strong&gt; for predicting the first next token with high chances always the go to for coding -&amp;gt; determinism beats "creativity" in syntax. You tell it what to do... ey no need for bed time stories... gotta fix a problem ok just get my idea roughly correct.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;All this to get something that is good enough. At the end Human + the world is the ultimate compiler and debugger&lt;/strong&gt; &amp;lt;-&lt;/p&gt;

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