<?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: the seljuck And otoman edits</title>
    <description>The latest articles on DEV Community by the seljuck And otoman edits (@the_seljuckandotomaned).</description>
    <link>https://dev.to/the_seljuckandotomaned</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%2F3219697%2F6fe6d8e7-4b1c-4cd7-b495-37e60db51387.jpg</url>
      <title>DEV Community: the seljuck And otoman edits</title>
      <link>https://dev.to/the_seljuckandotomaned</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/the_seljuckandotomaned"/>
    <language>en</language>
    <item>
      <title>🚀 Introducing K2 — A Blazing Fast Language for the Next Generation</title>
      <dc:creator>the seljuck And otoman edits</dc:creator>
      <pubDate>Wed, 28 May 2025 21:34:09 +0000</pubDate>
      <link>https://dev.to/the_seljuckandotomaned/introducing-k2-a-blazing-fast-language-for-the-next-generation-213m</link>
      <guid>https://dev.to/the_seljuckandotomaned/introducing-k2-a-blazing-fast-language-for-the-next-generation-213m</guid>
      <description>&lt;p&gt;What is K2?&lt;/p&gt;

&lt;p&gt;K2 is a new programming language I created from the ground up with one goal:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Extreme execution speed in nanoseconds.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;It's built for developers who want full control and performance, without all the extra overhead. Think of it as C meets Python, but optimized to fly through code in under 1000 nanoseconds per execution — seriously.&lt;br&gt;
Why K2?&lt;/p&gt;

&lt;p&gt;Modern languages have a lot of power, but also a lot of bloat. I wanted something that felt like writing in pure logic, no distractions. That’s how K2 was born.&lt;br&gt;
⚡ Speed You Can Feel&lt;/p&gt;

&lt;p&gt;K2 doesn’t interpret every time. It caches, then executes from RAM. That means:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;First run compiles → cache

Next runs → instant execution
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;let x = 10;&lt;br&gt;
let y = 5;&lt;br&gt;
print(x * y); // Output: 50&lt;/p&gt;

&lt;p&gt;Execution time? About 841 nanoseconds. No joke.&lt;br&gt;
Core Features&lt;/p&gt;

&lt;p&gt;✅ Nanosecond execution time&lt;br&gt;
✅ Simple C-like syntax&lt;br&gt;
✅ Variable declarations with let, var, and const&lt;br&gt;
✅ Control flow with if, for, while, break, and continue&lt;br&gt;
✅ Functions and recursion support&lt;br&gt;
✅ Built-in algebra parsing&lt;br&gt;
✅ Decimal &amp;amp; Fraction math&lt;br&gt;
✅ Shell command interop&lt;br&gt;
✅ Includes other .kj and .py files&lt;br&gt;
✅ Turbo Cache Engine to re-use execution trees&lt;br&gt;
✅ Micro/nanosecond timers built-in&lt;/p&gt;

&lt;p&gt;And soon: a full GUI framework called Nahir UI and native apps using Talanolius GUI.&lt;br&gt;
How to Try K2&lt;/p&gt;

&lt;p&gt;Visit 🌐 k2lang.org and start coding directly in the browser!&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Online compiler, examples, docs — everything you need to get started.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Example: Fibonacci in K2&lt;/p&gt;

&lt;p&gt;func fib(n) {&lt;br&gt;
    if n &amp;lt;= 1 {&lt;br&gt;
        return n;&lt;br&gt;
    }&lt;br&gt;
    return fib(n - 1) + fib(n - 2);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;print(fib(10)); // Output: 55&lt;/p&gt;

&lt;p&gt;This runs in microseconds and showcases recursion and return logic beautifully.&lt;br&gt;
Final Thoughts&lt;/p&gt;

&lt;p&gt;I built K2 for speed lovers, learners, and creative coders like you.&lt;br&gt;
If you love performance, simple syntax, and extreme responsiveness, you’ll love K2.&lt;/p&gt;

&lt;p&gt;👉 Try it at k2lang.org&lt;br&gt;
🛠 Built with ❤️ by a dev who just wants things to be FAST.&lt;/p&gt;

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