The Source for Java Technology Collaboration
User: Password:



Editor's Daily Blog

Making trade-offs

Posted by daniel on July 03, 2003 at 05:31 AM | Comments (2)

An optimizing compiler often give you choices that include optimizing for speed or optimizing for code size. Discussions of improving code can not be separated from your objectives. If you are burning your application to a space constrained chip then size may be most important. If you are creating a highly responsive application, then aparant speed may be most important.

Before the compiler processes your code, you make choices at development time that may trade-off between readability and maintainability on one side and performance on the other. Paul Tyma believes performance over readability. His performance talk at this spring's SD West made this point clear as did the quotes from Paul that served as the basis for the recent controversial "Refactoring, Refactoring" article written by Robert Cringely.

To make code more performant, you generally have to make it less readable. Readability often involves introducing abstractions. You don't talk directly to your data base, you use JDBC. You don't follow pointers to find the next element in a collection, you ask the corresponding Iterator to return next(). The problem with this, according to Joel Spolsky, is that all abstractions leak. Today in Java Today Craig Castelaz discusses this balance in "Living with Leaks". Craig looks at Spolsky's Law of Leaky Abstractions and Keppler's continuum of abstractions that predates Spolsky's work by a decade.

In today's featured Weblogs "Open Source, P2P, Weblogs, and Slime Mold" contains Bob Rhubart's thoughts on swarm intelligence. Steven Johnson's book "Emergence: The Connected Lives of Ants, Brains, Cities, and Software" and a Berkeley site on slime mold are the launching points for Rhubart's blog. Chris Adamson begins his weblog "Shoeing the other foot" with the following great line:

Hey, I used to work in the wireless software industry... and of course, any sentence that begins with that phrase usually ends in "and we all got laid off". Which we did.

Chris is responding to Bill Day's java.net blog that . Chris argues that Apple shouldn't be responsible for developing J2ME tools. More generally he asks with the J2ME Wireless toolkit isn't a pure Java application. Erik Hatcher's entry "The ServerSide Symposium debriefing" is a comprehensive description filled with links and references. Following his links is on my list of things to do.

In Also Today, we include three articles from the recent refactoring tempest. First read "Cringely's Refactoring Refactoring" for the article that started the controversy. Next, read Martin Fowler's response in "Refactoring Cringely." You may be surprised to find the number of issues on which these two articles agree. Finally, the Cringely article was a follow-up to his article on Open Source from the previous week. He made a comment on refactoring based on an email exchange with Paul Tyma. "Egging on Cringely" is a link to Tyma's blog on what happened.

Steve Mallett, the Java Today news editor has gathered the following Java Today News Headlines: "eBays J2EE backend serving over 400 million transactions a day", "Commons HttpClient 2.0 Beta 2 Released", "AltoWeb closes doors", and "Java Email Server 1.2.3 Released".

Once this page is no longer featured as the front page of Java Today it will be archived at http://today.java.net/today/archive/index_07032003.html. You can access other past issues by changing the address appropriately.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • 网络营销软件
    网络营销软件
    网络营销软件
    群发软件
    群发软件
    ---
    群发软件
    网络营销软件网络推广软件网站推广软件下载引擎登陆软件论坛群发软件下载免费版
    论坛群发软件,信息群发软件,群发软件,网络营销软件,网站推广软件引擎登陆软件下载
    网站排名软件网站推广软件信息群发软件博客群发软件论坛群发软件免费下载
    群发软件,信息群发软件,博客群发软件,论坛群发软件,免费下载:群发软件系统
    推广小助手破解版
    论坛群发软件
    网站排名软件
    群发软件
    推荐给你很好的群发软件和信息群发软件和供求群发软件
    推荐给你很好的群发软件和信息群发软件和供求群发软件博客群发软件网络营销软件网络营销软件
    网站排名软件网站排名软件网站优化软件信息群发软件信息群发软件信息群发软件论坛群发软件网站推广软件网站推广软件博客群发软件博客群发软件

    群发软件群发软件博客群发软件论坛群发软件网络营销软件论坛群发软件
    信息群发软件推广软件网站推广软件网络营销软件网站推广软件群发软件网站排名软件网站推广软件博客群发软件论坛群发软件群发软件网站排名软件网站推广软件博客群发软件论坛群发软件
    网站排名软件
    博客群发软件
    网站排名软件
    网站推广软件
    群发软件信息群发软件
    免费论坛群发软件
    论坛群发软件
    网站排名软件
    免费博客群发软件
    网站推广软件

    群发软件
    博客群发软件
    网站排名软件
    网站推广软件
    群发软件信息群发软件
    免费论坛群发软件
    论坛群发软件
    网站排名软件
    免费博客群发软件
    博客群发软件
    信息群发软件
    论坛群发软件
    信息群发软件
    博客群发软件
    qq群发软件
    邮件群发软件
    博客群建软件
    企业名录搜索软件
    信息群发软件
    邮件群发软件
    论坛群发软件
    博客群发软件
    网站推广软件
    网络营销软件

    Posted by: xinxi123 on December 04, 2007 at 08:54 AM

  • wow power leveling
    wow powerleveling
    wow power leveling
    wow gold
    wow items
    feelingame.com
    wow tips
    Most Valuable WOW Power Leveling Service
    wow power leveling faq
    cheap wow power leveling
    wow power leveling
    wow powerleveling
    wow power lvl

    Posted by: wowleveling on December 13, 2007 at 07:49 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds