<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: The 10 principles of Assembly Java</title>
	<link>http://blog.javia.org/assembly-java/</link>
	<description>Mihai Preda on mobile applications</description>
	<pubDate>Tue, 06 Jan 2009 09:35:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: Marco</title>
		<link>http://blog.javia.org/assembly-java/#comment-12644</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Sun, 06 Jul 2008 11:53:49 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-12644</guid>
		<description>All still highly relevant if you're trying for as much performance as possible.

I'm writing a 3d game using mascot capsule, and even now in 2008 the hit from newing and method calls is enormous. As a result I performed many of the optimizations similar to the ones Mihai talks about and it's over doubled the game's speed.</description>
		<content:encoded><![CDATA[<p>All still highly relevant if you&#8217;re trying for as much performance as possible.</p>
<p>I&#8217;m writing a 3d game using mascot capsule, and even now in 2008 the hit from newing and method calls is enormous. As a result I performed many of the optimizations similar to the ones Mihai talks about and it&#8217;s over doubled the game&#8217;s speed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://blog.javia.org/assembly-java/#comment-523</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Tue, 09 Jan 2007 17:04:09 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-523</guid>
		<description>Good work Mihai.

On some of the many smaller handsets that we still have to support (our build list covers over 500 different j2me devices) then most of this post makes absolute sense.

Our apps have to run on very very slow, 64kj devices with less than 200k heap.  You're fighting for every byte on these devices, you better understand these concepts.  And we'll be supporting these devices for at least another 12 months.</description>
		<content:encoded><![CDATA[<p>Good work Mihai.</p>
<p>On some of the many smaller handsets that we still have to support (our build list covers over 500 different j2me devices) then most of this post makes absolute sense.</p>
<p>Our apps have to run on very very slow, 64kj devices with less than 200k heap.  You&#8217;re fighting for every byte on these devices, you better understand these concepts.  And we&#8217;ll be supporting these devices for at least another 12 months.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://blog.javia.org/assembly-java/#comment-289</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Wed, 13 Dec 2006 09:57:07 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-289</guid>
		<description>You've certainly got the right approach to writing leaner, faster code, but you're missing the point with Java.  It's supposed to be maintainable!   I've been an assembler programmer for over 20 years so I can agree with what you're saying, but if you're going to do this kind of stuff in assembler, make sure you don't do it at the expense of losing maintainability.  I can guarantee you that processor speeds will eventually catch up.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve certainly got the right approach to writing leaner, faster code, but you&#8217;re missing the point with Java.  It&#8217;s supposed to be maintainable!   I&#8217;ve been an assembler programmer for over 20 years so I can agree with what you&#8217;re saying, but if you&#8217;re going to do this kind of stuff in assembler, make sure you don&#8217;t do it at the expense of losing maintainability.  I can guarantee you that processor speeds will eventually catch up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Terreno</title>
		<link>http://blog.javia.org/assembly-java/#comment-287</link>
		<dc:creator>Antonio Terreno</dc:creator>
		<pubDate>Wed, 13 Dec 2006 09:31:03 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-287</guid>
		<description>This post is pure rubbish!!!
What the hell are the obfuscators/optimizers for?
Better to have rubbish not maintainable code or maintainable code?</description>
		<content:encoded><![CDATA[<p>This post is pure rubbish!!!<br />
What the hell are the obfuscators/optimizers for?<br />
Better to have rubbish not maintainable code or maintainable code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javi.NET</title>
		<link>http://blog.javia.org/assembly-java/#comment-228</link>
		<dc:creator>Javi.NET</dc:creator>
		<pubDate>Thu, 07 Dec 2006 09:54:06 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-228</guid>
		<description>When you have to develop a real time communications, event oriented, with more than 20k code lines, using only a code populated of Jappo macros so with only a click in a selected ant file you can generate and compile the same code for four different j2me platforms (each one with different profiles)... and do it while you keep the code legibility because protocols upgrades are usual, a easier code maintenance, and highly reliability... you can only remember this principles as a far echo in your head.

Sorry, but give me proguard instead now!</description>
		<content:encoded><![CDATA[<p>When you have to develop a real time communications, event oriented, with more than 20k code lines, using only a code populated of Jappo macros so with only a click in a selected ant file you can generate and compile the same code for four different j2me platforms (each one with different profiles)&#8230; and do it while you keep the code legibility because protocols upgrades are usual, a easier code maintenance, and highly reliability&#8230; you can only remember this principles as a far echo in your head.</p>
<p>Sorry, but give me proguard instead now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mobmash blog &#187; Blog Archive &#187; links for 2006-12-07</title>
		<link>http://blog.javia.org/assembly-java/#comment-226</link>
		<dc:creator>mobmash blog &#187; Blog Archive &#187; links for 2006-12-07</dc:creator>
		<pubDate>Thu, 07 Dec 2006 00:28:27 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-226</guid>
		<description>[...] The 10 principles of Assembly Java (tags: mobile java j2me software development) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] The 10 principles of Assembly Java (tags: mobile java j2me software development) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cedric</title>
		<link>http://blog.javia.org/assembly-java/#comment-225</link>
		<dc:creator>Cedric</dc:creator>
		<pubDate>Wed, 06 Dec 2006 19:49:40 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-225</guid>
		<description>Would have been fine advice five years ago, now most of these points are moot (and those that are not are taken care of by the obfuscator anyway).

Premature optimization is still the root of all evil...

-- 
Cedric</description>
		<content:encoded><![CDATA[<p>Would have been fine advice five years ago, now most of these points are moot (and those that are not are taken care of by the obfuscator anyway).</p>
<p>Premature optimization is still the root of all evil&#8230;</p>
<p>&#8211;<br />
Cedric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomSoft &#187; J2me mobile development practices</title>
		<link>http://blog.javia.org/assembly-java/#comment-222</link>
		<dc:creator>TomSoft &#187; J2me mobile development practices</dc:creator>
		<pubDate>Wed, 06 Dec 2006 09:01:37 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-222</guid>
		<description>[...] It&#8217;s a long time that I am in the mobile industry, before J2me, and at a time where cell phone where not a mass market product!I&#8217;ve followed the evolution of mobile development practices, especially in Java. So I agree partially with this article: The 10 principles of Assembly Java who gives good hint and tips for mobile development, but I also think that hopefully most of them will start to disappear slowly.It&#8217;s a really strange industry, where on one hand people are talking of &#8220;MobileAjax&#8221; as the killer app, where the cost of one Ajax line is probably equivalent to the cost (in terms of CPU, memory used,battery) of a full Midp1.0 application, while other are strugling with putting everything in a single class to fit in constrained devices. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] It&#8217;s a long time that I am in the mobile industry, before J2me, and at a time where cell phone where not a mass market product!I&#8217;ve followed the evolution of mobile development practices, especially in Java. So I agree partially with this article: The 10 principles of Assembly Java who gives good hint and tips for mobile development, but I also think that hopefully most of them will start to disappear slowly.It&#8217;s a really strange industry, where on one hand people are talking of &#8220;MobileAjax&#8221; as the killer app, where the cost of one Ajax line is probably equivalent to the cost (in terms of CPU, memory used,battery) of a full Midp1.0 application, while other are strugling with putting everything in a single class to fit in constrained devices. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mihai</title>
		<link>http://blog.javia.org/assembly-java/#comment-176</link>
		<dc:creator>mihai</dc:creator>
		<pubDate>Tue, 28 Nov 2006 09:53:13 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-176</guid>
		<description>Enrique, thank you and I'm honored to find my article linked on your blog. I was surprised and a bit embarassed to have my post exposed in the public, when I was thinking that it's only me and my wife who's reading my blog :)
So I was quick to post a &lt;a href='http://blog.javia.org/?p=32' rel="nofollow"&gt;disclaimer&lt;/a&gt;.

Anders, your observations are right. The 'guidelines' were an intentional exageration of the normal usage. Yes, self-contained classes are good for reuse (I do this too), and StringBuffer to avoid instantiation is less extreme (and easier to use) than a char array. The all-static singleton is likely a bad idea. And exceptions are unavoidable, but should be used with measure.</description>
		<content:encoded><![CDATA[<p>Enrique, thank you and I&#8217;m honored to find my article linked on your blog. I was surprised and a bit embarassed to have my post exposed in the public, when I was thinking that it&#8217;s only me and my wife who&#8217;s reading my blog <img src='http://blog.javia.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
So I was quick to post a <a href='http://blog.javia.org/?p=32' rel="nofollow">disclaimer</a>.</p>
<p>Anders, your observations are right. The &#8216;guidelines&#8217; were an intentional exageration of the normal usage. Yes, self-contained classes are good for reuse (I do this too), and StringBuffer to avoid instantiation is less extreme (and easier to use) than a char array. The all-static singleton is likely a bad idea. And exceptions are unavoidable, but should be used with measure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc godin</title>
		<link>http://blog.javia.org/assembly-java/#comment-175</link>
		<dc:creator>Marc godin</dc:creator>
		<pubDate>Tue, 28 Nov 2006 08:54:18 +0000</pubDate>
		<guid>http://blog.javia.org/assembly-java/#comment-175</guid>
		<description>Nice to see your blog
Mihai
regards</description>
		<content:encoded><![CDATA[<p>Nice to see your blog<br />
Mihai<br />
regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
