Is CilkPlus better than C++ Std Threading library for potential HFT?

(Last Updated On: January 4, 2017)

Is CilkPlus better than C++ Stad Threading library for potential HFT?

As I have been emailing and posting about these threading libraries on how my choice of Standard Threading, I got this combo of responses from my newsletter email list:

IMHO the best option for C++ concurrency (or at least one that does
not suffer from the limitations other packages suffer from) is Cilk Plus.
The reasons are a bit too complex to summarize in a short e-mail,
however i would be happy to chat if you are interested. IMHO the
standard C++ threading library is practically junk! BTW I am an
operating system and database kernel developer with over 40
years experience and I did a lot of work in these areas. …
C++ standard threading builds on top of POSIX threads, which are an
unqualified disaster in terms of performance, scalability and reliability.
The explanation why is quite complex and has to do with how kernel
mutexes are implemented on virtual memory SMP operating systems.
Cilk Plus has its own threads implementation which avoids many
of the problems in the POSIX threads libraries. Incidentally all the
major database systems (Oracle, Informix, Sybase, etc) have
their own internal threads implementations for the same reasons,
as do other high transaction rate mission critical system, e.g.
Portal’s real-time wireless rating and billing system which powers
over 60% of cellular telephony worldwide. I worked on all these
at various times during my career.
I also built in 2005 the system platform for a HFT system used
by a really big hedge fund doing over 10M transactions per day
on over 40 exchanges worldwide. I have not been trading for a
while however I am thinking about getting back into the game.
As I get confused here, this is what else I found out:
http://stackoverflow.com/questions/19242345/intel-tbb-vs-cilkplus
https://www.cilkplus.org/faq/24
https://www.threadingbuildingblocks.org/compare
Who else has an opinion?

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Quant Development and tagged , , , , , on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs