LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2003, 01:53 PM   #16
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

Quote:
Originally posted by moeminhtun
OO is written Java. Ofcourse Java based
applications are slower, about 20 times, than
native applications. But the performance is
improving. Always try to download the latest
J2RE from sun. The latest version is 1.4.2
which start-up time is 50% or so faster
than the previous ones. But it's still slow ofcourse.
What makes you think it's written in java?
There's Java integration, but the product itself
is written in C++ .... if you go through the
source tree you'll find 2096 java files
with 16,108,689 bytes, and 13,515 C++
files with a grand total of 184,924,743 bytes,
with an additional 1220 C-files adding up
to 14,318,825 bytes.

Code:
cd /usr/src/oo_1.1_src
find -iname "*.java" -exec ls -l {} \; | awk '{bytes += $5 ; files += 1  }; END { print "Bytes total is", bytes ," in ", files ," files"} '
find -iname "*.?xx" -exec ls -l {} \; | awk '{bytes += $5 ; files += 1  }; END { print "Bytes total is", bytes ," in ", files ," files"} '
find -iname "*.[ch]" -exec ls -l {} \; | awk '{bytes += $5 ; files += 1  }; END { print "Bytes total is", bytes ," in ", files ," files"} '
Cheers,
Tink
 
Old 10-30-2003, 07:43 PM   #17
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Opps!
I don't know why I always thought openoffice is written in Java. Maybe because it is from sun, or becayse it is platform independant or because it starts so slow like Java applications or because it needs Java JVM.
Yeah! it's written in C++. So just ignore my previous posts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux slow, Windos fast :( appeal Linux - Networking 3 01-04-2005 01:18 PM
internet slow on linux/fast on windows redraider0206 Linux - Networking 8 10-17-2004 05:58 AM
Mozilla slow in Linux but fast in Win. XP. Why? Ukee Linux - Networking 3 09-17-2004 02:53 PM
internet fast-slow-fast-slow big_and_fat_guy Mandriva 5 10-11-2003 05:44 PM
SLow when fserve on , fast when not youta Linux - Networking 0 07-15-2002 04:06 AM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration