According to foreign media reports: Cilk Arts, a company that creates multi-core programming software, released Cilk ++ 1.0, this is a platform for optimizing the performance of programs running on multi-core processors in Linux and Windows. With Cilk ++, you can quickly develop, test, and publish applications that support multiple cores. This solution includes a set of C ++ language extensions, a runtime system, and some tools to simplify multi-core software development.
Cilk ++ marks the code snippets that are executed in the original order and can be executed in parallel to maintain the original structure of the program. The execution results of programs written with Cilk ++ are the same as those of the original sequential execution program, and can be compiled and debugged just like normal sequential execution of C ++ programs. In this way, programmers can still use their existing tools within the scope of sequential execution, making Cilk ++ easy to learn and use. This is the opposite of other parallel program development methods, which require developers to learn basic knowledge under parallel programming to adapt to parallel thinking.
When a parallel mechanism is added to the program, the program becomes vulnerable due to "Race Condition"-bugs unique to the parallel program are hard to be found during testing. However, with Cilkscreen Race Detector, developers can build multi-core programs that are as reliable as the original sequential program.
The Cilk ++ Runtime System (Cilk ++ Runtime System) program can dynamically and automatically use any number of available processor kernels, in addition, when the core is increased, its additional overhead and linear amplification are also very low. Therefore, the program has the ability to cope with the future, and does not need to rewrite the code because of the emergence of the next-generation multi-core processor.
"We can already make our programs simply and quickly parallel," said Ron Rivest, founder of RSA Data Security and professor at MIT, "Our new MD6 encryption hash algorithm has demonstrated excellent performance. So far, the MD6 algorithm implemented through Cilk ++ has maintained a world record in throughput!"