<?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>Comentarios en: Programa para resolver Sudokus</title>
	<atom:link href="http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/feed/" rel="self" type="application/rss+xml" />
	<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/</link>
	<description>Weblog de Informática, Linux, Playstation 3, Open Source,  Microsoft, Apple, Windows, Mac Os X, Hacking, Java y mucho mas....</description>
	<lastBuildDate>Tue, 31 Jan 2012 23:42:59 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Por: Skatox</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-30070</link>
		<dc:creator>Skatox</dc:creator>
		<pubDate>Wed, 04 Aug 2010 01:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-30070</guid>
		<description>El juego ya esta desarrollado en C++ beto</description>
		<content:encoded><![CDATA[<p>El juego ya esta desarrollado en C++ beto</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: beto</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-30060</link>
		<dc:creator>beto</dc:creator>
		<pubDate>Fri, 30 Jul 2010 16:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-30060</guid>
		<description>necesito el codigo del juego sudoku en LPP, C++, OTROS 
GRACIAS</description>
		<content:encoded><![CDATA[<p>necesito el codigo del juego sudoku en LPP, C++, OTROS<br />
GRACIAS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: maria</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28965</link>
		<dc:creator>maria</dc:creator>
		<pubDate>Fri, 21 Mar 2008 22:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28965</guid>
		<description>hola necesito que me resuelvas esto porfis</description>
		<content:encoded><![CDATA[<p>hola necesito que me resuelvas esto porfis</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: ergocho</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28964</link>
		<dc:creator>ergocho</dc:creator>
		<pubDate>Fri, 28 Sep 2007 00:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28964</guid>
		<description>Resolvedor :P
por cierto que da mas pereza ponerse a llenar el tablero para que de la solución, que solucionarlo.</description>
		<content:encoded><![CDATA[<p>Resolvedor <img src='http://skatox.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
por cierto que da mas pereza ponerse a llenar el tablero para que de la solución, que solucionarlo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: RevolverOcel0t</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28963</link>
		<dc:creator>RevolverOcel0t</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28963</guid>
		<description>Hola, acabo de hacer otro MEME, te dejo la invitación para que se lo hagas si te gusta, es muy corto.

Saludos.</description>
		<content:encoded><![CDATA[<p>Hola, acabo de hacer otro MEME, te dejo la invitación para que se lo hagas si te gusta, es muy corto.</p>
<p>Saludos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Andrés</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28962</link>
		<dc:creator>Andrés</dc:creator>
		<pubDate>Thu, 20 Sep 2007 19:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28962</guid>
		<description>En &lt;span class=&quot;removed_link&quot; title=&quot;http://blogaritmo.factorcomun.org/&quot;&gt;mi blog&lt;/span&gt; he hecho un reportaje sobre un programa similar a este, sólo que escrito en C y impresionantemente rápido. El link directo al artí­culo es este:
&lt;span class=&quot;removed_link&quot;&gt;Programa en C para resolver sudokus&lt;/span&gt;. Es código fuente abierto, que lo disfruten!</description>
		<content:encoded><![CDATA[<p>En <span class="removed_link" title="http://blogaritmo.factorcomun.org/">mi blog</span> he hecho un reportaje sobre un programa similar a este, sólo que escrito en C y impresionantemente rápido. El link directo al artí­culo es este:<br />
<span class="removed_link">Programa en C para resolver sudokus</span>. Es código fuente abierto, que lo disfruten!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gubatron</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28961</link>
		<dc:creator>Gubatron</dc:creator>
		<pubDate>Thu, 20 Sep 2007 01:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28961</guid>
		<description>gubatron@aria:~$ time java Fibo
9227465

real    0m0.194s
user    0m0.180s
sys     0m0.004s

---
y en C

gubatron@aria:~$ time ./fibo

real    0m0.231s
user    0m0.224s
sys     0m0.000s

y en C++

gubatron@aria:~$ time ./fibo_cpp

real    0m0.203s
user    0m0.196s
sys     0m0.000s

Java por algun motivo es mas rapido que C y C++ calculando fibonacci, lo cual es intensivo metiendo y sacando del stack.</description>
		<content:encoded><![CDATA[<p>gubatron@aria:~$ time java Fibo<br />
9227465</p>
<p>real    0m0.194s<br />
user    0m0.180s<br />
sys     0m0.004s</p>
<p>&#8212;<br />
y en C</p>
<p>gubatron@aria:~$ time ./fibo</p>
<p>real    0m0.231s<br />
user    0m0.224s<br />
sys     0m0.000s</p>
<p>y en C++</p>
<p>gubatron@aria:~$ time ./fibo_cpp</p>
<p>real    0m0.203s<br />
user    0m0.196s<br />
sys     0m0.000s</p>
<p>Java por algun motivo es mas rapido que C y C++ calculando fibonacci, lo cual es intensivo metiendo y sacando del stack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gubatron</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28960</link>
		<dc:creator>Gubatron</dc:creator>
		<pubDate>Thu, 20 Sep 2007 01:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28960</guid>
		<description>here&#039;s a comparison of a function with intensive heap usage, which helps simulate simple calculations and calls of functions of functions of functions.

This is the code in PHP




gubatron@aria:~$ time php fibo.php
9227465

real    0m34.487s
user    0m34.302s
sys     0m0.176s

Takes 34s with PHP5. This is on my AMD Athlon(tm) 64 Processor 3200+ (2Ghz)


Now this is the code in python

def fibo(n):
    if n &gt;&gt; I calculate fibonacci of 35
gubatron@aria:~$ time python fibo.py
9227465

real    0m17.738s
user    0m17.505s
sys     0m0.108s

Takes 17.738 seconds, that&#039;s a little bit more than 1/2 the time of PHP execution, that&#039;s pretty good, its almost 100% faster.

but then when I put these two lines at the beginning of the program

import psyco
psyco.full()

the code gets JIT compiled, and look at the improvement

gubatron@aria:~$ time python fibo.py
9227465

real    0m0.493s
user    0m0.448s
sys     0m0.008s

0.493!!!!

I ran it again to see if it took a while cause it had to compile, and I got even better results

gubatron@aria:~$ time python fibo.py
9227465

real    0m0.465s
user    0m0.436s
sys     0m0.024s

---

I decided then to compare against a Java version
public class Fibo {
    public static int fibo(int n) {
        if (n</description>
		<content:encoded><![CDATA[<p>here&#8217;s a comparison of a function with intensive heap usage, which helps simulate simple calculations and calls of functions of functions of functions.</p>
<p>This is the code in PHP</p>
<p>gubatron@aria:~$ time php fibo.php<br />
9227465</p>
<p>real    0m34.487s<br />
user    0m34.302s<br />
sys     0m0.176s</p>
<p>Takes 34s with PHP5. This is on my AMD Athlon(tm) 64 Processor 3200+ (2Ghz)</p>
<p>Now this is the code in python</p>
<p>def fibo(n):<br />
    if n &gt;&gt; I calculate fibonacci of 35<br />
gubatron@aria:~$ time python fibo.py<br />
9227465</p>
<p>real    0m17.738s<br />
user    0m17.505s<br />
sys     0m0.108s</p>
<p>Takes 17.738 seconds, that&#8217;s a little bit more than 1/2 the time of PHP execution, that&#8217;s pretty good, its almost 100% faster.</p>
<p>but then when I put these two lines at the beginning of the program</p>
<p>import psyco<br />
psyco.full()</p>
<p>the code gets JIT compiled, and look at the improvement</p>
<p>gubatron@aria:~$ time python fibo.py<br />
9227465</p>
<p>real    0m0.493s<br />
user    0m0.448s<br />
sys     0m0.008s</p>
<p>0.493!!!!</p>
<p>I ran it again to see if it took a while cause it had to compile, and I got even better results</p>
<p>gubatron@aria:~$ time python fibo.py<br />
9227465</p>
<p>real    0m0.465s<br />
user    0m0.436s<br />
sys     0m0.024s</p>
<p>&#8212;</p>
<p>I decided then to compare against a Java version<br />
public class Fibo {<br />
    public static int fibo(int n) {<br />
        if (n</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gubatron</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28959</link>
		<dc:creator>Gubatron</dc:creator>
		<pubDate>Thu, 20 Sep 2007 01:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28959</guid>
		<description>Hmm, Java lento? Esstas seguro? hace cuanto no usas java.
Tengo benchmarks que prueban que un fibonacci(30) corre mas rapido en Java 1.6 que en C++. Una cosa es consumo de memoria, otra cosa es velocidad de procesamiento, creo que vale la pena investigar un poco sobre los avances y toda la inversion hecha en el JVM, es tecnologia realmente sorprendente.

Excelente iniciativa para pasar el tiempo, estoy seguro que aprendiste uno que otro truco nuevo haciendo esto.</description>
		<content:encoded><![CDATA[<p>Hmm, Java lento? Esstas seguro? hace cuanto no usas java.<br />
Tengo benchmarks que prueban que un fibonacci(30) corre mas rapido en Java 1.6 que en C++. Una cosa es consumo de memoria, otra cosa es velocidad de procesamiento, creo que vale la pena investigar un poco sobre los avances y toda la inversion hecha en el JVM, es tecnologia realmente sorprendente.</p>
<p>Excelente iniciativa para pasar el tiempo, estoy seguro que aprendiste uno que otro truco nuevo haciendo esto.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: ghostbar</title>
		<link>http://skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/comment-page-1/#comment-28958</link>
		<dc:creator>ghostbar</dc:creator>
		<pubDate>Wed, 19 Sep 2007 17:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://skatox.com/blog/?p=213#comment-28958</guid>
		<description>w00t!!! :-D

BTW, ese anti-spam apesta, Cuánto suman 0 y 3? CERO?? CEROOOOO!??? (/me siempre habí­a visto anti-spam jodidos, pero este es tan tonto que hasta pudo pasarlo!)

Parece anti-spam hecho para windowseros x-D</description>
		<content:encoded><![CDATA[<p>w00t!!! <img src='http://skatox.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>BTW, ese anti-spam apesta, Cuánto suman 0 y 3? CERO?? CEROOOOO!??? (/me siempre habí­a visto anti-spam jodidos, pero este es tan tonto que hasta pudo pasarlo!)</p>
<p>Parece anti-spam hecho para windowseros x-D</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  skatox.com/blog/2007/09/17/programa-para-resolver-sudokus/feed/ ) in 1.20514 seconds, on Feb 8th, 2012 at 7:20 am EST. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 7:20 pm EST -->
