`
hqs7636
  • 浏览: 216090 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
July 16, 2009 Posted by Bartosz Milewski under C++, Concurrency, D Programming Language, Erlang, Java, Multithreading, Programming, Scala, Type System [31] Comments Is the Actor model just another name for message passing between threads? In other words, can you consider a Java Thread object wit ...
July 7, 2009 Posted by Bartosz Milewski under Programming [9] Comments I started writing a post about implementing actors in D when I realized that there was something wrong with the way thread spawning interacts with data sharing. Currently D’s Thread class closely mimics its Java counterpart, s ...
June 23, 2009 Posted by Bartosz Milewski under C++, Concurrency, D Programming Language, Java, Multithreading, Programming, Type System 1 Comment If it weren’t for the multitude of opportunities to shoot yourself in the foot, multithreaded programming would be easy. I’m going to discuss some of ...
June 15, 2009 In my last post I talked about the proposal for the ownership scheme for multithreaded programs that provides alias control and eliminates data races. The scheme requires the addition of new type qualifiers to the (hypothetical) language. The standard concern is that new type qualifie ...
June 2, 2009 Since ownership plays a major role in race-free programming, it will be the first topic in my proposal for a race-free system. I presented the bird’s eye view of the system and provided a few teasers in my previous post. The design is based on published papers (see bibliography at the ...
Posted by Bartosz Milewski under Programming May 26, 2009 [27] Comments Most languages were caught unaware by the multicore revolution. C++, predictably, developed a portable assembly language for multiprocessors (C++0x atomics). Out of sheer desperation some programmers turned to Erlang. Many sti ...
翻译了一半多了,还不少   再加一个: ini 文件中的基本翻译完了,要翻译干净会很难,代码中我搜到的就还有近 200 处可翻译的字符串,kuan兄把它们分离出来会很辛苦
c中指针的指针 悬赏分:30 - 解决时间:2007-8-15 12:03 int** p 这是什么意思呢,我知道 int*p=&a 是指向int a的一个指针,定义名字为p,存储的是a的地址,p+1的话,执行后为a的地址加sizeof(int), 那int **p 是什么呢 举个具体例子,包括 地址 还有在其上的运算 1、 简单来说 int **p 是一个指向2维数组的指针。 数学上一个2维数组描述有NR行,NC列的矩阵,例如 int a[NR][NC]; 为了使程序有通用性,编程时不把这个数组行列数定死,而让使用者临时输入行列数,再动态分配数组存放单元,这时,我们声明一个2维数组 ...
      最近对C/C++指针特别感冒,就详细的研究了下       看下面的定义:          char a[] = "Hello World";       char *p   = "Hello World";       1.什么是地址       地址本身就是一种基本数据类型,它跟整数,浮点数,字符等基本类型是一样的。指针不是类型,真正的类型是地址,指针只不过是存储地址这种数据类型的变量。     打个比方,对于     int i=10;     10是整数,而i是存储整数的变量,指针就好比这个i,地址就好比那个10。指 ...
http://tieba.baidu.com/f?kz=485067090 1 c语言指针的用处 C里面函数都只能返回一个值,如果你的函数要返回两个值,那就要用指针了,把变量地址传进函数,然后把希望通过函数操作后想要的值存进传进来的变量地址里面。当然函数可以返回数组,结构体,但是你看多了你就知道,没有人会这么做的,都返回指针。试想如果我有一个1万个元素的数组,你会把它整个地传进一个函数里面或者整个地返回出来吗?C语言里面都是传值的,就是说传进函数的参数值首先被复制一边赋值给形式参数,你想想1万个元素,够呛咯!但是有指针就好多了,我们可以把指针(数组的第一个元素的地址)传进函数里面,有了 ...
http://bbs.eccn.com/ecbbs/dispbbs.asp?BoardID=180&id=16566     指针为C语言编程提供了强大的支持——如果你能正确而灵活地利用指针,你就可以直接切入问题的核心,或者将程序分割成一个个片断。一个很好地利用了指针的程序会非常 ...
原文:http://www.infoq.com/cn/news/2009/03/D-NET 作者 Jonathan Allen 译者 王瑜珩 发布于 2009年3月19日 上午3时36分 社区     .NET 主题     语言设计 Cristian Vlasceanu正在将D语言的编译器移植到.NET平台。 向那些还没听说过D语言的读者介绍一下D语言把:     D语言支持多种编程范式:面向对象、函数式、模版元数据编程,甚至还包含了像goto语句和内联汇编这样较难驾驭的特性。     我听说Walter Bright(D语言之父)将D语言描述为编译器实现者发明的语言(而不是语言 ...
https://www.ibm.com/developerworks/cn/opensource/os-cn-ecljtf7/ Quick Assistant developerWorks 文档选项 将打印机的版面设置成横向打印模式 打印本页 将此页作为电子邮件发送 将此页作为电子邮件发送 样例代码 级别: 中级 马 若劼 (mar ...
https://www.ibm.com/developerworks/cn/opensource/os-cn-ecljtf6/ 文档选项 将打印机的版面设置成横向打印模式 打印本页 将此页作为电子邮件发送 将此页作为电子邮件发送 样例代码 级别: 中级 马 若劼 (maruojie@cn.ibm.com), 软件工程师, IBM 中国软件开发中心 2008 年 4 月 10 日     Text Hover(文本悬浮)和 Annotation Hover(标注悬浮)是两种提供快速帮助的功能。本文介绍两种悬浮的基本概念和在 JTF 中的实现方式。 Text Ho ...
https://www.ibm.com/developerworks/cn/opensource/os-cn-ecljtf5/ Text Decoration developerWorks 文档选项 将打印机的版面设置成横向打印模式 打印本页 将此页作为电子邮件发送 将此页作为电子邮件发送 样例代码 级别: 中级 马 若劼 (maruojie@cn.ibm.com), 软件工程师, IBM 中国软件开发中心 2008 年 4 月 10 日     Text Decoration(文本装饰)是指对文本进行一些附加的视觉效果处理。本文介绍和文本装饰相关的概念并 ...
Global site tag (gtag.js) - Google Analytics