<?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: Lectia de programare</title>
	<atom:link href="http://trilema.com/2010/lectia-de-programare/feed/" rel="self" type="application/rss+xml" />
	<link>http://trilema.com/2010/lectia-de-programare/</link>
	<description>Moving targets for a fast crowd.</description>
	<pubDate>Mon, 13 Apr 2026 11:31:09 +0000</pubDate>
	<generator>http://polimedia.us</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Programatorii Adevarati on Trilema - A blog by Mircea Popescu.</title>
		<link>http://trilema.com/2010/lectia-de-programare/#comment-133633</link>
		<dc:creator>Programatorii Adevarati on Trilema - A blog by Mircea Popescu.</dc:creator>
		<pubDate>Mon, 06 Jan 2020 17:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://trilema.com/?p=9065#comment-133633</guid>
		<description>[...] tot discutam subtilitati de teoria programarii masinilor numerice sub acoperirea unor intamplari absolut banale - acoperire care spre incantarea mea n-a impiedicat cititorii sa urmareasca firul discutiei - hai [...]</description>
		<content:encoded><![CDATA[<p>[...] tot discutam subtilitati de teoria programarii masinilor numerice sub acoperirea unor intamplari absolut banale - acoperire care spre incantarea mea n-a impiedicat cititorii sa urmareasca firul discutiei - hai [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://trilema.com/2010/lectia-de-programare/#comment-125729</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Fri, 18 May 2018 23:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://trilema.com/?p=9065#comment-125729</guid>
		<description>Există și o variantă cu &lt;em&gt;sau exclusiv&lt;/em&gt; (XOR) - notat mai jos prin &lt;strong&gt;⊕&lt;/strong&gt;) - care ar trebui să fie mai eficient decât o operație aritmetică de scădere sau adunare. Teoretic, că practic conform unui &lt;a href="http://www.oocities.org/mc_introtocomputers/Instruction_Timing.PDF" &gt;tabel&lt;/a&gt; până și pe 8086 aveau aceeași durată de execuție.


a ← x
b ← y
a ← a ⊕ b = x ⊕ y
b ← b ⊕ a = y ⊕ (x ⊕ y) = y ⊕ x ⊕ y = y ⊕ y ⊕ x = (y ⊕ y) ⊕ x = 0 ⊕ x = x
a ← a ⊕ b = (x ⊕ y) ⊕ x = x ⊕ y ⊕ x = x ⊕ x ⊕ y = (x ⊕ x) ⊕ y = 0 ⊕ y = y</description>
		<content:encoded><![CDATA[<p>Există și o variantă cu <em>sau exclusiv</em> (XOR) - notat mai jos prin <strong>⊕</strong>) - care ar trebui să fie mai eficient decât o operație aritmetică de scădere sau adunare. Teoretic, că practic conform unui <a href="http://www.oocities.org/mc_introtocomputers/Instruction_Timing.PDF" >tabel</a> până și pe 8086 aveau aceeași durată de execuție.</p>
<p>a ← x<br />
b ← y<br />
a ← a ⊕ b = x ⊕ y<br />
b ← b ⊕ a = y ⊕ (x ⊕ y) = y ⊕ x ⊕ y = y ⊕ y ⊕ x = (y ⊕ y) ⊕ x = 0 ⊕ x = x<br />
a ← a ⊕ b = (x ⊕ y) ⊕ x = x ⊕ y ⊕ x = x ⊕ x ⊕ y = (x ⊕ x) ⊕ y = 0 ⊕ y = y</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Popescu</title>
		<link>http://trilema.com/2010/lectia-de-programare/#comment-35872</link>
		<dc:creator>Mircea Popescu</dc:creator>
		<pubDate>Thu, 18 Nov 2010 12:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://trilema.com/?p=9065#comment-35872</guid>
		<description>Ma bucur ca te-a distrat :D</description>
		<content:encoded><![CDATA[<p>Ma bucur ca te-a distrat :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fane</title>
		<link>http://trilema.com/2010/lectia-de-programare/#comment-35860</link>
		<dc:creator>Fane</dc:creator>
		<pubDate>Thu, 18 Nov 2010 07:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://trilema.com/?p=9065#comment-35860</guid>
		<description>:)) Foarte tare. Dar oameni buni nu e de ras, nu multi stiu programare dar intr-adevar, faza e de ras :))</description>
		<content:encoded><![CDATA[<p>:)) Foarte tare. Dar oameni buni nu e de ras, nu multi stiu programare dar intr-adevar, faza e de ras :))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Popescu</title>
		<link>http://trilema.com/2010/lectia-de-programare/#comment-27060</link>
		<dc:creator>Mircea Popescu</dc:creator>
		<pubDate>Fri, 02 Jul 2010 13:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://trilema.com/?p=9065#comment-27060</guid>
		<description>Si pe mine ma uimeste trendu' asta nou sa vorbeasca fetili cu plm, da' el exista, din nefericire.</description>
		<content:encoded><![CDATA[<p>Si pe mine ma uimeste trendu' asta nou sa vorbeasca fetili cu plm, da' el exista, din nefericire.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
