<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - String Benchmark: Java vs. Objective-C vs. C</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Wed, 19 Jun 2013 17:34:35 -0400</pubDate>


    <item>

        <title>.Net strings broken then</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[There is a VERY good reason a Java String is an immutable object containing an offset int, length int and a char array object, it is MUCH faster and more memory efficient to copy a char array reference and use a different offset and length for...]]></description>
        

        <pubDate>Tue, 11 May 2004 17:04:42 -0400</pubDate>

        

        <jf:creationDate>Tue, 11 May 2004 17:04:42 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 11 May 2004 17:04:42 -0400</jf:modificationDate>
        <jf:date>May 11, 2004</jf:date>
        <jf:author>Inf ernoz</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Java is proprietary !!</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[Do you imagine Apple tying their GUI framework to a proprietary (though free) License, that could be changed at any point by its COMPETITOR in the computer hardware industry?<br><br>Get real!]]></description>
        

        <pubDate>Sat, 08 May 2004 12:08:16 -0400</pubDate>

        

        <jf:creationDate>Sat, 08 May 2004 12:08:16 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 08 May 2004 12:08:16 -0400</jf:modificationDate>
        <jf:date>May 8, 2004</jf:date>
        <jf:author>Luis Muniz</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Java Strings vs .Net Strings, two objects vs one.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[While on micro string benchmarks, has anyone compared java strings to .Net strings?  The naive Java implementation uses two objects per string, one for the class and one for the array of chars.  .Net does some magic and combines the two into one object....]]></description>
        

        <pubDate>Fri, 07 May 2004 04:41:40 -0400</pubDate>

        

        <jf:creationDate>Fri, 07 May 2004 04:41:40 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 07 May 2004 04:41:40 -0400</jf:modificationDate>
        <jf:date>May 7, 2004</jf:date>
        <jf:author>Anthony Berglas</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>cocoa java?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[<blockquote><blockquote>The only thing you could do to remove the bridge would be to rewrite the Cocoa layer in Java. Which would be the very definition of switching platforms.</blockquote>While researching a ServerSide discussion on Eclipse/SWT on the...]]></description>
        

        <pubDate>Thu, 06 May 2004 14:04:36 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 14:04:36 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 14:04:36 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Ian Pojman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>String Benchmark: Java vs. Objective-C vs. C</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[<blockquote>For instance, I've been working with low-level graphics engines and emulated some of the stuff on Java. Because Java doesn't have unsigned integral types, extranous bit-tricks slow down the process with at least 40% compared to a C...]]></description>
        

        <pubDate>Thu, 06 May 2004 13:50:27 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 13:50:27 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 13:50:27 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>George Coller</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>total noncense</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[Also, constant strings are used, so, in this benchmark str2 and str3 will be references to the single object.<br><br>Very simple string concatenation test shows 7723.032351 (C++) vs 1746.5784528109434 (Java).<br><br>I've just replaced strcmp -&gt; strcpy...]]></description>
        

        <pubDate>Thu, 06 May 2004 09:05:33 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 09:05:33 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 09:05:33 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Denis Ivajkin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>String Benchmark: Java vs. Objective-C vs. C</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[Java is fast enough for most stuff, too slow for other stuff. Everyone must decide for themselves what fast enough is through testing that makes sense in the applicable domains.<br><br>For instance, I've been working with low-level graphics engines and...]]></description>
        

        <pubDate>Thu, 06 May 2004 07:15:15 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 07:15:15 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 07:15:15 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>han theman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>total noncense</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[Java using Pascal like strings (it's stores length of the string). <br>_Default_ C implementation use ASCCIZ string. So if string has a different length<br>Java can tell immediately that strings are unequal. With ASCIIZ string you have to scan whole...]]></description>
        

        <pubDate>Thu, 06 May 2004 05:13:04 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 05:13:04 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 05:13:04 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Boris Bliznukov</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>String Benchmark: Java vs. Objective-C vs. C</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[I beleive that potential Java performance problems cannot be detected by microbenchmarks. As author says, modern Java VMs are very, very fast and VMs  compilers optimize microbenchmarks' code pretty good. I would be suprised to see that Java falls more...]]></description>
        

        <pubDate>Thu, 06 May 2004 05:01:17 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 05:01:17 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 05:01:17 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Mileta Cekovic</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Cocoa for Java?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[<blockquote>The only thing you could do to remove the bridge would be to rewrite the Cocoa layer in Java. Which would be the very definition of switching platforms.</blockquote>While researching a ServerSide discussion on Eclipse/SWT on the Mac (and in...]]></description>
        

        <pubDate>Thu, 06 May 2004 04:48:35 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 04:48:35 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 04:48:35 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>David Hamilton</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Editors on Holidays</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[<blockquote>The editors must be on holidays and are updating the site content from somewhere in Carebean.</blockquote>No, Vegas.<br><br>And trust me, it's nowhere near a vacation for them right now.<br><br>-- <br>Cedric]]></description>
        

        <pubDate>Thu, 06 May 2004 03:38:13 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 03:38:13 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 03:38:13 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Editors on Holidays</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[The editors must be on holidays and are updating the site content from somewhere in Carebean.]]></description>
        

        <pubDate>Thu, 06 May 2004 02:35:37 -0400</pubDate>

        

        <jf:creationDate>Thu, 06 May 2004 02:35:37 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 06 May 2004 02:35:37 -0400</jf:modificationDate>
        <jf:date>May 6, 2004</jf:date>
        <jf:author>Eduardo Estefano</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>String Benchmark: Java vs. Objective-C vs. C</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[One does not switch between programming languages because one micro-benchmark is faster.  <br><br>Apple would need to factor in existing code (I'd imagine its a non-trivial task to port it over to Java) and existing customers who have invested mindshare...]]></description>
        

        <pubDate>Wed, 05 May 2004 22:31:02 -0400</pubDate>

        

        <jf:creationDate>Wed, 05 May 2004 22:31:02 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 05 May 2004 22:31:02 -0400</jf:modificationDate>
        <jf:date>May 5, 2004</jf:date>
        <jf:author>Peter B</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>re: Wrong...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[<blockquote>The disadvantage was that it bound them to a language that while quite elegant, isn't used by anyone else.</blockquote>VisualBasic[.NET] comes to mind (except for the elegant part)]]></description>
        

        <pubDate>Wed, 05 May 2004 21:25:16 -0400</pubDate>

        

        <jf:creationDate>Wed, 05 May 2004 21:25:16 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 05 May 2004 21:25:16 -0400</jf:modificationDate>
        <jf:date>May 5, 2004</jf:date>
        <jf:author>Paul-Michael Bauer</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Wrong...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25743</link>

        

        
            <description><![CDATA[Java is a second-class solution on OS X because Java calls have to pass over the Java-&gt;Cocoa bridge to get to the UI layer. The only thing you could do to remove the bridge would be to rewrite the Cocoa layer in Java. Which would be the very...]]></description>
        

        <pubDate>Wed, 05 May 2004 20:40:42 -0400</pubDate>

        

        <jf:creationDate>Wed, 05 May 2004 20:40:42 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 05 May 2004 20:40:42 -0400</jf:modificationDate>
        <jf:date>May 5, 2004</jf:date>
        <jf:author>Charles Miller</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>



</channel>
</rss>

