<?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: Matías García Isaía</title>
    <description>The latest articles on DEV Community by Matías García Isaía (@matiasgarciaisaia).</description>
    <link>https://dev.to/matiasgarciaisaia</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%2F3239%2F5470539.png</url>
      <title>DEV Community: Matías García Isaía</title>
      <link>https://dev.to/matiasgarciaisaia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/matiasgarciaisaia"/>
    <language>en</language>
    <item>
      <title>We created the Crystal language, ask us anything!</title>
      <dc:creator>Matías García Isaía</dc:creator>
      <pubDate>Wed, 06 Sep 2017 17:23:20 +0000</pubDate>
      <link>https://dev.to/crystal-lang/we-created-the-crystal-language-ask-us-anything</link>
      <guid>https://dev.to/crystal-lang/we-created-the-crystal-language-ask-us-anything</guid>
      <description>&lt;p&gt;Hi there!&lt;/p&gt;

&lt;p&gt;I'm Matias Garcia Isaia, and together with &lt;a href="https://dev.to@bcardiff"&gt;Brian Cardiff&lt;/a&gt; and &lt;a href="https://dev.to@mverzilli"&gt;Martin Verzilli&lt;/a&gt;, we're part of the Crystal Team working at Manas.Tech.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manas.tech/"&gt;Manas.Tech&lt;/a&gt; is a software company from Buenos Aires, Argentina, that develops unconventional tech projects for people around the world. And, after being involved in Crystal's development for a while, I can assure you there are not that many conventional things in developing a programming language!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://crystal-lang.org/"&gt;Crystal&lt;/a&gt; is a programming language that aims to be friendly for both humans and computers alike - make developers enjoy writing code, and make code run as efficiently as it can. Statically typed, compiled language with a really heavy type inference to make it feel as scripting - the best of both worlds. And did I say &lt;a href="https://github.com/crystal-lang/crystal"&gt;it's open source?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Its first commit has &lt;a href="https://github.com/crystal-lang/crystal/commit/220bb8c736381d5beda5e7bc36c8d7f0d59badf6"&gt;just turned 5&lt;/a&gt;, and it has changed from an individual's hobby back then into an amazing language supported by Manas.Tech and &lt;a href="https://crystal-lang.org/community"&gt;an amazing community&lt;/a&gt;. To celebrate that, we are doing this AMA. Starting today, at 2PM EST, we'll do our best to share with you everything we know about the project, life, the universe, and everything! &lt;/p&gt;

&lt;p&gt;So - don't be shy, ask us anything!&lt;/p&gt;

</description>
      <category>ama</category>
      <category>crystal</category>
    </item>
    <item>
      <title>Hello World</title>
      <dc:creator>Matías García Isaía</dc:creator>
      <pubDate>Wed, 10 Jul 2013 00:00:00 +0000</pubDate>
      <link>https://dev.to/crystal-lang/hello-world</link>
      <guid>https://dev.to/crystal-lang/hello-world</guid>
      <description>

&lt;p&gt;&lt;em&gt;This blogpost was originally posted by &lt;a href="https://github.com/asterite"&gt;@asterite&lt;/a&gt; and &lt;a href="https://gihtub.com/waj"&gt;@waj&lt;/a&gt; on &lt;a href="https://crystal-lang.org/2013/07/10/hello-world.html"&gt;the official Crystal Blog&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is the simplest way to write the Hello World program in Crystal:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;puts "Hello World"
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;But if you feel like it, you can also use some object oriented programming:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Greeter
  def initialize(@name : String )
  end

  def salute
    puts "Hello #{@name}!"
  end
end

g = Greeter.new("world")
g.salute
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Or maybe with blocks:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Hello world".each_char do |char|
  print char
end
print '\n'
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Each alternative might have a different performance, but luckily all of them are pretty expressive.&lt;/p&gt;

&lt;p&gt;Ok, but what's the purpose of learning a language if we cannot run the damn thing? Let's see how we do this with Crystal (and let's assume you already have it &lt;a href="https://crystal-lang.org/docs/installation/index.html"&gt;installed&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;First create a file &lt;code&gt;hello.cr&lt;/code&gt; containing your preferred choice of the previous examples.&lt;br&gt;
Then type in the console:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ bin/crystal hello.cr
$ ./hello
Hello World
$
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The compiled output is a standalone executable without any specific runtime dependency. Neat! Isn't it?&lt;/p&gt;


</description>
      <category>crystallang</category>
    </item>
  </channel>
</rss>
