node-compute-cluster
- 授权协议: ISC
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/lloyd/node-compute-cluster
软件介绍
node-compute-cluster 是一个让 Node.js 支持跨进程分布式计算的扩展。
主程序:
const computecluster = require('compute-cluster');
// allocate a compute cluster
var cc = new computecluster({
module: './worker.js'
});
var toRun = 10
// then you can perform work in parallel
for (var i = 0; i < toRun; i++) {
cc.enqueue({}, function(err, r) {
if (err) console.log("an error occured:", err);
else console.log("it's nice:", r);
if (--toRun === 0) cc.exit();
});
};
worker.js:
process.on('message', function(m) {
for (var i = 0; i < 100000000; i++);
process.send('complete');
});
Intel汇编语言程序设计
Kip Irvine / 电子工业出版社 / 2007-9-1 / 61.00元
《国外计算机科学教材系列•Intel汇编语言程序设计(第5版)》全面细致地讲述了汇编语言程序设计的各个方面。从微处理器体系结构、工作机制到指令集;从最基本的编译器链器的使用到高级过程、结构和宏的使用;从用纯汇编编写程序到用C/C++等最新编译器与汇编的混合接口编程;从16位实模式下BIOS、DOS实模式文本及图形程序设计到32位保护模式的Windows程序设计;从磁盘基础知识到Intel指令编码、......一起来看看 《Intel汇编语言程序设计》 这本书的介绍吧!
