C++ReactReactive 编程库
C++React 是 C++11 的一个 Reactive 编程库。
示例代码:
using namespace std; using namespace react; // Defines a reactive domain that uses single-threaded, sequential updating REACTIVE_DOMAIN(D, sequential) // Defines aliases for types of the given domain, // e.g. using VarSignalT<X> = VarSignal<D,X> USING_REACTIVE_DOMAIN(D) // Two reactive variables that can be manipulated imperatively // to input external changes VarSignalT<int> width = MakeVar<D>(1); VarSignalT<int> height = MakeVar<D>(2); // A signal that depends on width and height and multiplies their values SignalT<int> area = MakeSignal( With(width, height), [] (int w, int h) { return w * h; });
评论
queue.jsJavaScript 异步编程库
queue.js是另外一个JavaScript的异步编程库,压缩和最小化后只有419字节。示例代码:queue().defer(fs.stat,__dirname+"/../Makefile").de
queue.jsJavaScript 异步编程库
0
FC++C++ 函数编程库
FC++是最好的基于C++的函数编程库开放源码实现,可以把它插入遗留的C++代码中。BSFC++等项目中已经使用了FC++,BSFC++是一个用C++进行函数大规模同步并行编程的库。FC++的编译方法
FC++C++ 函数编程库
0
cpp-netlib网络编程库
cpp-netlib项目的目标是:基于最新的c++标准,提供一个易用的网络编程库。该项目使用最新的c++编译器版本及其特性。目前,该项目已经完成了一个HTTP客户端与服务端的实现、一个独立的URI库、
cpp-netlib网络编程库
0