Check out the (non) CRC implementation below. What's wrong with it?
I'm working on a connectivity library for IoT devices. A serious part of every communication protocol is the data integrity check. You send a collection of bytes to another machine and that machine has to know that there were no errors on the way. IP for example already has a good integrity check. The problem is that a TCP socket is basically a stream. This means that you don't really know when a buffer begins and ends. By using an integrity check we can verify that we are looking at full buffers.
I'm thinking of buying/saving up for the Intel Composer suite for linux, and I'm wondering if I will be able to take the binaries I make and freely distribute them.
On a similar note, has anyone built the latest (4.2) linux kernel with ICC yet? Is there a performance boost?
Ubuntu 15.04, Clang 3.6, TBB v 4.4, libstdc++
At least some c++ features are disabled. tbb_config.h incorrectly calculates the __TBB_CPP11_RVALUE_REF_PRESENT. In my case it's diabled. This causes also some other troubles. E.g. tbb::concurrent_bounded_queue::emplace is wrapped with both __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT(value is correct) and the __TBB_CPP11_RVALUE_REF_PRESENT. Since __TBB_CPP11_RVALUE_REF_PRESENT = 0 the emplace is disabled.
Seems to me the problem is in flag calculation. Here is it (tbb_config.h, line 164 )
I am pretty new to TBB or any threading libraries, so forgive me if my question might seem quite naive to you guys. I am currently developing a model based co-simulation platform. Basically, I want to run all of the models concurrently in order to minimize run time.
Here's my idea,
1) I wrap each model with my own C++ API, and then export them as dynamic linked libraries. e.g. M1.dll, M2.dll. Each dll has the same set of API functions. e.g. Initialize(), DoStep(), Terminate() etc.
2) I then load these dlls into my CoSim platform during run time.
I am newbie with Linux(I have Ubuntu 14.04) and TBB. I want to write codes with TBB library and run on computer. I have no idea how should I start .
Can anyone help me with a step by step tutorial or something that help me?