Article

90 errors in open-source projects

There are actually 91 errors described in the article, but number 90 looks nicer in the title. The article is intended for C/C++ programmers, but developers working with other languages may also find it interesting.
Authored by Andrey Karpov (Blackbelt) Last updated on 06/20/2019 - 22:51
Blog post

最快线程间数据交换算法,有效避免锁竞争 -- TwoQueues

处理多线程数据共享问题注意的几个要点:

1、锁竞争:尽量减少锁竞争的时间和次数。

2、内存:尽量是使用已分配内存,减少内存分配和释放的次数。尽量是用连续内存,减少共享占用的内存量。

多线程数据交换简单方案A:

定义一个list,再所有操作list的地方进行加锁和解锁。

简单模拟代码:

Authored by Last updated on 07/04/2019 - 21:30
Blog post

Let's Play a Game - find bugs in popular open-source projects

Test your C/C++ skills - find bugs in popular open-source projects.
Authored by Andrey Karpov (Blackbelt) Last updated on 05/30/2018 - 07:08
Article

How to Protect Apps from Buffer Overflow Attacks

Learn how to enhance security for software on Windows® 10 using Intel® Memory Protection Extensions.
Authored by Fanjiang Pei (Intel) Last updated on 05/30/2018 - 07:08
Article

The Ultimate Question of Programming, Refactoring, and Everything

Yes, you've guessed correctly - the answer is "42".

Authored by Andrey Karpov (Blackbelt) Last updated on 06/20/2019 - 22:52
Article

Libcryptorandom Library 2.0 from Intel

A cross-platform library for obtaining cryptographically secure random numbers from the best available entropy source in the underlying system.
Authored by Last updated on 10/08/2019 - 18:20
Article

Intel® Digital Random Number Generator (DRNG) Library Implementation and Uses

Download

Download the static binary libraries, source code, and documentation from the link below:

Authored by Last updated on 10/08/2019 - 18:20
Article

Intel® SGX Intro: Passing Data Between App and Enclave

Intro to Intel® Software Guard Extensions (Intel® SGX) directional enclave argument pointers. Sample code for passing data between enclave and application.
Authored by Isayah R. (Intel) Last updated on 10/08/2019 - 18:20