Discussion Forums

Re: FIX 4.4 coding in Java or c++? which is better?
Jason Chung <>
19 Jun 2008 9:26AM ET

Hello,

Thanks for responding. I do agree with you. I guess C++ definitely is better than java because c++ is more powerful than java(of course, the price is memory leak issue if ever occurred).

I actually compare the time of the STL's map and java's hashmap (no multi-threading involve in this case as assumption).

It seems to me java is faster than c++ to look for key or insert a new key/value for it assume we have 300k line of strings which 40% is duplicated(market that collected using bloomberg API in visual c++).
Please correct me if I am wrong in above testing.

We do pay for the overhead for the garbage collection in java....

Anyway, for now, I am doing something basic OMS thing.... But, maybe in future I will need the c++ for system driver.

I will use java native to deal with c++ if i ever reach that point.

I guess C++ definitely is more powerful than java.
 
Regards,
Jason

> I am think C++ will have a better performance than Java do. Program
> written in C++ is much pure than any other languages, one level up from
> OS, and also gain more benefits from the robusted support standard
> library (STL) functions. You may get more base functions from java
> library, if you are not using pure core java. But I think there will be
> some over heads.
>
> I prefer C++ solution, if try to do it on a Unix box.
>
> Changpeng Yu FT Computer Solutions
>
> http://www.eptop.com/FIX/FixExpress.htm


FIX 4.4 coding in Java or c++? which is better?
Jason Chung   27 May 2008 1:10PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Jason Chung   17 Jun 2008 8:56AM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Alexandre Efremov / javasmith   17 Jun 2008 9:44AM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Jason Chung   18 Jun 2008 8:54AM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Changpeng Yu / FT Computer Solutions   18 Jun 2008 4:49PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Jason Chung   19 Jun 2008 9:26AM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Changpeng Yu / FT Computer Solutions   19 Jun 2008 1:55PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Jason Chung   20 Jun 2008 12:57PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Greg Orsini / Cameron Systems   20 Jun 2008 3:32PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Serg Gulko   11 Sep 2008 1:24PM ET
Re: FIX 4.4 coding in Java or c++? which is better?
Changpeng Yu / FT Computer Solutions   19 Jun 2008 2:04PM ET