<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Language of the Month: Rust, the results	</title>
	<atom:link href="https://gergely.imreh.net/blog/2015/12/lotm-rust-results/feed/" rel="self" type="application/rss+xml" />
	<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/</link>
	<description>Life in real, complex and digital.</description>
	<lastBuildDate>Thu, 07 Jan 2016 03:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Gergely Imreh		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-304</link>

		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Thu, 07 Jan 2016 03:13:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-304</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-303&quot;&gt;Tehn Yit&lt;/a&gt;.

Good question. As I can see, you need to run &quot;cargo test&quot; separately from &quot;cargo build&quot; at the moment. If you want to run them in the same time, could possibly but them together in a Makefile maybe? But I&#039;m sure there are even better solutions that I don&#039;t know about yet :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-303">Tehn Yit</a>.</p>
<p>Good question. As I can see, you need to run &#8220;cargo test&#8221; separately from &#8220;cargo build&#8221; at the moment. If you want to run them in the same time, could possibly but them together in a Makefile maybe? But I&#8217;m sure there are even better solutions that I don&#8217;t know about yet :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tehn Yit		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-303</link>

		<dc:creator><![CDATA[Tehn Yit]]></dc:creator>
		<pubDate>Tue, 05 Jan 2016 23:03:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-303</guid>

					<description><![CDATA[Thanks for the write up, it is a very well written post.

I have been focusing a lot on unit test lately in C for embedded, As you have said, it is very nice to see that unit test cases are treated as the same as the code that you write. Do you know if the rust compiler will execute these tests automatically when a build is made? If the test fails, the build is stopped. Analogous to getting a compile time error.]]></description>
			<content:encoded><![CDATA[<p>Thanks for the write up, it is a very well written post.</p>
<p>I have been focusing a lot on unit test lately in C for embedded, As you have said, it is very nice to see that unit test cases are treated as the same as the code that you write. Do you know if the rust compiler will execute these tests automatically when a build is made? If the test fails, the build is stopped. Analogous to getting a compile time error.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Murphy		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-298</link>

		<dc:creator><![CDATA[Michael Murphy]]></dc:creator>
		<pubDate>Sun, 13 Dec 2015 05:26:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-298</guid>

					<description><![CDATA[The one thing I really like about Rust is it&#039;s powerful and extensive functional programming capabilities. The Iterator type in itself makes it superior to many other languages.]]></description>
			<content:encoded><![CDATA[<p>The one thing I really like about Rust is it&#8217;s powerful and extensive functional programming capabilities. The Iterator type in itself makes it superior to many other languages.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gergely Imreh		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-297</link>

		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Tue, 08 Dec 2015 01:38:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-297</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-296&quot;&gt;ssokolow&lt;/a&gt;.

Makes a lot of sense, thanks for the explanation!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-296">ssokolow</a>.</p>
<p>Makes a lot of sense, thanks for the explanation!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ssokolow		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-296</link>

		<dc:creator><![CDATA[ssokolow]]></dc:creator>
		<pubDate>Mon, 07 Dec 2015 17:26:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-296</guid>

					<description><![CDATA[The rationale for how Rust handles explicit vs. implicit typing is:

1. Excessively explicit typing is bothersome and doesn&#039;t really do much.

2. Nothing is stopping you from adding explicit type annotations. (see examples of how verbose it looks when you explicitly provide lifetime annotations for everywhere that they&#039;d otherwise be inferred)

3. The Rust compiler will only infer a type in an unambiguous situation.

4. Function signatures must be explicitly typed because they are part of the API and ABI. (Otherwise, you end up with the massively chained/nested C++ type signatures that slow the compilation process and make errors obtuse and difficult to understand... and nobody wants that.)]]></description>
			<content:encoded><![CDATA[<p>The rationale for how Rust handles explicit vs. implicit typing is:</p>
<p>1. Excessively explicit typing is bothersome and doesn&#8217;t really do much.</p>
<p>2. Nothing is stopping you from adding explicit type annotations. (see examples of how verbose it looks when you explicitly provide lifetime annotations for everywhere that they&#8217;d otherwise be inferred)</p>
<p>3. The Rust compiler will only infer a type in an unambiguous situation.</p>
<p>4. Function signatures must be explicitly typed because they are part of the API and ABI. (Otherwise, you end up with the massively chained/nested C++ type signatures that slow the compilation process and make errors obtuse and difficult to understand&#8230; and nobody wants that.)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gergely Imreh		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-294</link>

		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Mon, 07 Dec 2015 14:32:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-294</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-293&quot;&gt;Steve Klabnik&lt;/a&gt;.

Brilliant, thanks for the insights, Steve!

Often I feel it would help a lot if I had the CS basics down better as I could appreciate the choices that goes into language design a lot more. (self-taught programmer...). Rust really made me want to dig deeper which is a great feeling. Will be learning to get things less wrong. :)


Will definitely file bugs and send patches whenever I figure out something!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-293">Steve Klabnik</a>.</p>
<p>Brilliant, thanks for the insights, Steve!</p>
<p>Often I feel it would help a lot if I had the CS basics down better as I could appreciate the choices that goes into language design a lot more. (self-taught programmer&#8230;). Rust really made me want to dig deeper which is a great feeling. Will be learning to get things less wrong. :)</p>
<p>Will definitely file bugs and send patches whenever I figure out something!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve Klabnik		</title>
		<link>https://gergely.imreh.net/blog/2015/12/lotm-rust-results/#comment-293</link>

		<dc:creator><![CDATA[Steve Klabnik]]></dc:creator>
		<pubDate>Mon, 07 Dec 2015 12:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=2167#comment-293</guid>

					<description><![CDATA[Hey there! Glad you&#039;re having fun with Rust. I wanted to comment on one or two things...

&#062;  I might have done something wrong, but even the example code in the 
Rust book does not seem to play with doc generation very well.

Please don&#039;t hesitate to file bugs or post on users.rust-lang.org if something isn&#039;t working! Even if it&#039;s just a misunderstanding, it can help us make explanations more clear.

&#062;  I kinda see how doing things this way can fin Rust’s model of doing 
things, but is it really necessary to create a whole new concept and 
different patterns for it?

Yes, it&#039;s important for type checking. You might find this interesting: https://users.rust-lang.org/t/what-s-the-difference-between-functions-with-no-return-value-and-diverging-functions/3874

&#062; Need to import types from the standard library to be able to use some of their features, but some other features work automatically.


It&#039;s not that, it&#039;s about not causing conflicts. If we automatically imported traits, then, for example, if library A defines a trait with a `foo()` function, and so does library B, you couldn&#039;t use them together, as their `foo()`s would conflict. By requiring you to import, you can choose which trait gets used, and in which scope.


Anyway, thanks for the great post!]]></description>
			<content:encoded><![CDATA[<p>Hey there! Glad you&#8217;re having fun with Rust. I wanted to comment on one or two things&#8230;</p>
<p>&gt;  I might have done something wrong, but even the example code in the<br />
Rust book does not seem to play with doc generation very well.</p>
<p>Please don&#8217;t hesitate to file bugs or post on users.rust-lang.org if something isn&#8217;t working! Even if it&#8217;s just a misunderstanding, it can help us make explanations more clear.</p>
<p>&gt;  I kinda see how doing things this way can fin Rust’s model of doing<br />
things, but is it really necessary to create a whole new concept and<br />
different patterns for it?</p>
<p>Yes, it&#8217;s important for type checking. You might find this interesting: <a href="https://users.rust-lang.org/t/what-s-the-difference-between-functions-with-no-return-value-and-diverging-functions/3874" rel="nofollow ugc">https://users.rust-lang.org/t/what-s-the-difference-between-functions-with-no-return-value-and-diverging-functions/3874</a></p>
<p>&gt; Need to import types from the standard library to be able to use some of their features, but some other features work automatically.</p>
<p>It&#8217;s not that, it&#8217;s about not causing conflicts. If we automatically imported traits, then, for example, if library A defines a trait with a `foo()` function, and so does library B, you couldn&#8217;t use them together, as their `foo()`s would conflict. By requiring you to import, you can choose which trait gets used, and in which scope.</p>
<p>Anyway, thanks for the great post!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 16/18 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: gergely.imreh.net @ 2026-07-01 17:57:27 by W3 Total Cache
-->