Search the web
Sign In
New User? Sign Up
lisa-its · XML Internationalization Tag Set
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Digest Number 66   Message List  
Reply | Forward Message #153 of 191 |
Re: [lisa-its] Re: Localization Directives - Working Example


Hi All,

I'll keep it short - I promise. I'm not going to get into a
comp.lang.misc my impl. language is bigger/ better/ faster/ smaller/
slower/ more efficient/ more elegant/ easier to type /etc. than yours.
There are other places on the internet for that !


On Mon, 2002-01-21 at 20:29, yves_savourel wrote:
> Although I'm a Windows developer, I can see some advantages in
> developing filters in Java. First, they would offer a better cross-
> platform support, but I think one of the main interests also reside
> in the good i18n functionality Java provides.

Yep. Strings are in unicode by default, - they're read from the native
filesystem under the default encoding (or a programmer supplied one) and
converted for you. There's further nice support in jdk1.4 for other
character conversion (should you need it - see the java.nio.charset
package) There is java locales too, which would also help the cross
platform nature of Okapi.

> This said, I think the callers of filters are often developed for a
> single platform (often Windows), and when it comes to GUI
> applications Java -from my modest experience- seems to be 'a little
> behind'.

I agree (for the moment). John Wicks was claiming that in his
experience, Eclipse was slow - I claimed it wasn't fair comparing a
"heavyweigh gui" to a file parsing library. By that I mean, that IDEs
are quite a test of system resources. (we don't all have our windowing
systems built into our kernels) Just because the gui is slow, it doesn't
mean that the rest of the platform is slow.

Also, fwiw, SGI appear to have a jdk at
http://www.sgi.com/developers/devtools/languages/java2_131.html

Java is not always going to be slower than native code.

Javacc is similar to a combination of lex/yacc - it's a compiler
compiler which produces .java classes (not native code) Using such tools
is usually more efficient (and bug-free) than hand-coding a parser. It
was originally developed in SunLabs, and has since moved to Metamata
(now Webgain) http://www.webgain.com/products/java_cc/ Antlr is also
worth checking out, so I'm told http://www.antlr.org/ - I haven't had
time to play with it


Re. cross platform java - you *can* write truely cross-platform java if
you do it properly. (yes you can write non portable java also). That
said, you can write cross-platform c/c++ too - the only thing
outstanding is that you need to provide the source for the c/c++ in
order to get it to run on a different platform and the user needs to
recompile that source.

> Overall we should have a way to access Java filters from Windows
> applications and it could be done as follow:

<...>

> All this obviously doesn't prevent to write filters in C++ if it is
> your preference: the important part is to have a common interface so
> layers for interoperability can be also constructed and re-used.

This sounds excellent to me. If I could write filters to an interface in
Java, that would be good enough for me. I will maintain that Java is the
right way to go, but that said, by all means continue to use other
languages if they suit particular applications more.

cheers,

tim






Tue Jan 22, 2002 10:15 am

timatsun
Offline Offline
Send Email Send Email

Forward
Message #153 of 191 |
Expand Messages Author Sort by Date

Hello Tim, ... The COM implementation of the Okapi API interface wouldn't be transportable but the underlying Filters are pure C++ which isn't tied to Win32 in...
John Wm. Wicks
john_wicks
Offline Send Email
Jan 20, 2002
5:20 am

Hi All, ... I would agree with this. We develop some cross-platform software and we use C/C++ to write the main code. Once this is done, we can then wrap this...
David Pooley
david_pooley...
Offline Send Email
Jan 21, 2002
9:31 am

Hi All, ... Swing is still the slowest part of java I believe, so comparing a heavyweight gui app to a file parsing library isn't fair. Along with that, j2se...
Tim Foster
timatsun
Offline Send Email
Jan 21, 2002
11:29 am

Although I'm a Windows developer, I can see some advantages in developing filters in Java. First, they would offer a better cross- platform support, but I...
yves_savourel
Offline Send Email
Jan 21, 2002
8:31 pm

Hi All, I'll keep it short - I promise. I'm not going to get into a comp.lang.misc my impl. language is bigger/ better/ faster/ smaller/ slower/ more...
Tim Foster
timatsun
Offline Send Email
Jan 22, 2002
10:18 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help