<?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: Teker</title>
    <description>The latest articles on DEV Community by Teker (@teker).</description>
    <link>https://dev.to/teker</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%2F1145740%2F465183a9-0e60-40b9-b50a-4864d8b3aabc.jpeg</url>
      <title>DEV Community: Teker</title>
      <link>https://dev.to/teker</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/teker"/>
    <language>en</language>
    <item>
      <title>Why I use C</title>
      <dc:creator>Teker</dc:creator>
      <pubDate>Sat, 26 Aug 2023 01:40:18 +0000</pubDate>
      <link>https://dev.to/teker/why-i-use-c-1ndl</link>
      <guid>https://dev.to/teker/why-i-use-c-1ndl</guid>
      <description>&lt;h4&gt;
  
  
  Written Fri, Aug 25
&lt;/h4&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt; For many years C has been a programming language that's considered old, ugly, and not viable for general use, I disagree with that. C is a programming language that is actually quite beautiful and amazing when used correctly. I use it for most of my projects and I use it whenever I can at my place of work. I use C because I chose it after a search through many programming languages. Here is a list of the ones I looked at and why I chose C over them:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Rust
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"Rust's primary first target seems to be drivers, simply because that's where you find just a lot of different possible targets, and you have these individual parts of the kernel that are fairly small and independent. That may not be a very interesting target to some people, but it's the obvious one" - Linus Torvalds on Rust&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; Rust is an amazing language that has many applications. However, I enjoy being able to control the memory directly, and I also prefer the syntax of C over Rust. I also believe that C has a better standard library than Rust because it's very minimalist. In C you technically don't even need a standard library, or an operating system for that matter. Speak of operating systems, when it comes to OS programming I agree with Linus Torvalds on Rust. Rust seems like it would be great for writing drivers for an operating system. My ideal operating system would have a kernel written in C, drivers in Rust, and shell in Lua. Rusts &lt;code&gt;cargo&lt;/code&gt; build/package system is something that I wish to see a C version of soon. Microsoft's &lt;code&gt;vcpkg&lt;/code&gt; does seem like a good system at first, but then you attempt to actually use it to install a package and your code goes ape-shit. And &lt;code&gt;vcpkg&lt;/code&gt; is more suited for C++ then C. On the topic of C++.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. C++
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it. Quite frankly, even if the choice of C were to do &lt;em&gt;nothing&lt;/em&gt; but keep the C++ programmers out, that in itself would be a huge reason to use C." - Linus Torvalds on C++&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; I decided to use another Linus Torvalds quote in this paragraph because it perfectly sums up how I feel about the language. C++ is great, if you're a dumb-ass who thinks that data and code shouldn't be separate in projects. C++ &lt;strong&gt;&lt;em&gt;forces&lt;/em&gt;&lt;/strong&gt; you to integrate your data into your code with the terrible concept of &lt;code&gt;class&lt;/code&gt;'s. C++ adds useless features every year, which would explain why people prefer to use one of the oldest versions of it over the newest version. Every C++ library I have ever seen has had enough issues with it to make a boomers marriage jealous.Most other programmers that realize how uselessly complex C++ is, C on the other hand is an actually good language to program in. The current standard for C++, C++20, has too many features and keywords that nobody will ever use. I have never seen something as useless as a smart pointer, you know the dangers of a pointer if you're using a pointer. C++ has become an ungodly beast that is a constant reminder of why you don't use OOP.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. C Sharp
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;“I’d much rather have a program explode in a shower of sparks and flames than silently do the wrong thing.” - Rob Miles, creator of C#&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; That quote is definitely visible in the design of C#. When a C# program fails, you &lt;strong&gt;&lt;em&gt;will&lt;/em&gt;&lt;/strong&gt; know it. I don't want my programs to blow up like a sodium duck made by a protogen, I want them to &lt;code&gt;return -1&lt;/code&gt; and write what went wrong to an output file. Another issue I have with C# is that its ecosystem is dominated nearly entirely by Microsoft, I hate Microsoft. C# is made and maintained nearly entirely by Microsoft, most actually useful libraries for C# are made by big corporations and are SaaS. Even if the library you're using isn't made by big SaaS, it's probably made by a teenager who doesn't even know what suckless is. And most FOSS libraries for C# use the MIT license, whcih allows companies to steal your code and use it in their own projects without crediting you at all.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Zig, Nim, and Golang
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;"I leave Sisyphus at the foot of the mountain. One always finds one's burden again. But Sisyphus teaches the higher fidelity that negates the gods and raises rocks. He too concludes that all is well. This universe henceforth without a master seems to him neither sterile nor futile. Each atom of that stone, each mineral flake of that night-filled mountain, in itself, forms a world. The struggle itself toward the heights is enough to fill a man's heart. One must imagine Sisyphus happy" - Albert Camus&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; You may be wondering why I chose a quote about Sisyphus for this section, and/or why I grouped these four very different languages into one section. That's because I believe the development efforts of them are a Sisyphean effort. However, I will talk about them separately.&lt;/p&gt;

&lt;h3&gt;
  
  
  4.1 Zig
&lt;/h3&gt;

&lt;p&gt; Let's take a look at some Zig code, shall we?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight zig"&gt;&lt;code&gt;&lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;@import&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"std"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;parseInt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;fmt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;parseInt&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;test&lt;/span&gt; &lt;span class="s"&gt;"parse integers"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"123 67 89,99"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;ally&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;testing&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;allocator&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ArrayList&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;u32&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;init&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ally&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="c"&gt;// Ensure the list is freed at scope exit.&lt;/span&gt;
    &lt;span class="c"&gt;// Try commenting out this line!&lt;/span&gt;
    &lt;span class="k"&gt;defer&lt;/span&gt; &lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;deinit&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

    &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tokenize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;u8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;" ,"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;next&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="n"&gt;parseInt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;u32&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="n"&gt;expected&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;_&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="kt"&gt;u32&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="mi"&gt;123&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;67&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;89&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;

    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;expected&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;items&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;actual&lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;testing&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;expectEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;actual&lt;/span&gt;&lt;span class="p"&gt;);&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 is the example listed on the Zig website, and I have no idea what it does. Zig seems like the perfect language for someone who loves how shitty JavaScript is, but likes the way Rust looks. Zig can be used for serious applications, but if you want to be paid you won't use it.&lt;/p&gt;

&lt;h3&gt;
  
  
  4.2 Nim
&lt;/h3&gt;

&lt;p&gt; Let's see if Nim is any better then Zig.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nim"&gt;&lt;code&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;strformat&lt;/span&gt;

&lt;span class="k"&gt;type&lt;/span&gt;
  &lt;span class="n"&gt;Person&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;object&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;
    &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Natural&lt;/span&gt; &lt;span class="c"&gt;# Ensures the age is positive&lt;/span&gt;

&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;people&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;
  &lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"John"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"Kate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;person&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;people&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="c"&gt;# Type-safe string interpolation,&lt;/span&gt;
  &lt;span class="c"&gt;# evaluated at compile time.&lt;/span&gt;
  &lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;fmt"{person.name} is {person.age} years old"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="c"&gt;# Thanks to Nim's 'iterator' and 'yield' constructs,&lt;/span&gt;
&lt;span class="c"&gt;# iterators are as easy to write as ordinary&lt;/span&gt;
&lt;span class="c"&gt;# functions. They are compiled to inline loops.&lt;/span&gt;
&lt;span class="k"&gt;iterator&lt;/span&gt; &lt;span class="n"&gt;oddNumbers&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Idx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;array&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Idx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="n"&gt;T&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;mod&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="k"&gt;yield&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;odd&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;oddNumbers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
  &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="n"&gt;odd&lt;/span&gt;


&lt;span class="c"&gt;# Use Nim's macro system to transform a dense&lt;/span&gt;
&lt;span class="c"&gt;# data-centric description of x86 instructions&lt;/span&gt;
&lt;span class="c"&gt;# into lookup tables that are used by&lt;/span&gt;
&lt;span class="c"&gt;# assemblers and JITs.&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;macros&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;strutils&lt;/span&gt;

&lt;span class="k"&gt;macro&lt;/span&gt; &lt;span class="n"&gt;toLookupTable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="n"&gt;untyped&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;newTree&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;nnkBracket&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sc"&gt;';'&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;add&lt;/span&gt; &lt;span class="n"&gt;newLit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;const&lt;/span&gt;
  &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"mov;btc;cli;xor"&lt;/span&gt;
  &lt;span class="n"&gt;opcodes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;toLookupTable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;opcodes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt; That's it? That's the language? That was just python, but compiled and with static types! That was the Nim example on &lt;a href="https://nim-lang.org/"&gt;The Official Nim Website&lt;/a&gt;, in my opinion it represents the language in a terrible way. I do believe that Nim has potential, just not a strong community. If Nim had a community like Golang or Rust, it would be successful. Also, screw you BoomBang.&lt;/p&gt;

&lt;h2&gt;
  
  
  4.3 Golang
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;"I like Go a lot. In many ways it is C revisited, taking into account what has be learnt in the long years since it was released." - Johnathan Whiting&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; Golang is good, don't get me wrong. However, garbage collection is a &lt;strong&gt;&lt;em&gt;major&lt;/em&gt;&lt;/strong&gt; downside to me. Golang also has some annoying features that I don't like to use in programs. For instance, I have no idea what &lt;code&gt;:=&lt;/code&gt; is supposed to represent. And I don't exactly think that &lt;code&gt;fmt&lt;/code&gt; was the best package name for what is essentially the standard library in C.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt; I still use C because it fits my needs and what fulfills my requirements from a programming language. You're of course free to use whatever fits your needs.&lt;/p&gt;

&lt;p&gt;Have a Fantastic Day,&lt;br&gt;
Teker&lt;/p&gt;

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