w***g 发帖数: 5958 | 1 Bjarne上次来我们学校讲C++的时候说,设计0x的时候C++那批人想直接用java的memory
model,因为java的memory model确实设计得很优美。结果最先站出来反对的就是在su
n和IBM搞java的那批人。理由是如果C++用了java的memory model,整个java world的速
度都会因此而减慢两倍,因为java解释器都是用C++写的。
另外Bjarne认为C++成功的一个重要原因是没有不必要的开销。比如程序用到一个32-
bit integer,那开销就是4个字节。这个其实是很难的,很多语言都做不到这一点。我
觉得C++未来的发展也会继续坚持这个原则。 |
|
|
m****r 发帖数: 51 | 3 读Bjarne Stroustrup写得The C++ programming language 是不是经常有不知所谓的
感觉。水平该怎么提高呢? |
|
f*******y 发帖数: 2368 | 4 by Bjarne Stroustrup书
中的for loop就常用i++(p54, p92, p94, p100...)。当然你可以
认为Bjarne Stroustrup不是牛逼人,尽管可能同意你的观点的人不会
很多。。。 |
|
f*******y 发帖数: 988 | 5 发信人: RuralHunter (乡村猎人), 信区: Programming
标 题: 看看牛人们是怎么评价编程语言的zz
发信站: 水木社区 (Tue May 22 11:33:20 2012), 站内
Basic
一个有过 BASIC 编程经历的人是很难学会好的编程习惯的。作为一个潜在的程序员
,他们已经被脑残并且无法修复。
-- Edsger Wybe Dijkstra,Dijkstra 算法发明者
C
C 语言程序就像一群拿着刀的人在刚刚打过蜡的地板上快速的跳舞。
-- Waldi Ravens
罗马帝国衰败的主要原因之一是因为他们缺少0,他们没有办法知道他们的 C 程序
已经成功的执行完了。
-- Robert Firth
现在是早上五点,你知道那个指针现在什么地方吗?
-- 匿名
C++
C 很容易让你朝自己的脚开枪。在 C++ 中,这么做变的困难了,但是你要不注意就
会崩掉自己的整条腿。
-- Bjarne Stroustrup,C++ 发明者
我发明了“面向对象”,... 阅读全帖 |
|
W********u 发帖数: 58 | 6 C++必备书籍推荐
[手册类 – 所有级别]
The C++ Programming Language, 4th Edition 作者:Bjarne Stroustrup(更新到C++
11)C++之父写的经典C++书籍。第四版涵盖了C++11的所有内容,从语言内核到标准库。
C++ Standard Library Tutorial and Reference, 2nd Edition 作者:Nicolai
Josuttis (更新到C++11) 这本书是C++标准库(STL)的引导和手册。 2012年4月发行
的第二版涵盖了C++11。
[实用]
Effective C++, 3rd Edition 作者:Scott Meyers 本书以瞄准成为C++程序员必读的
第二本书籍而写,内容覆盖了50多个很容易记住的条款,每个条款深入浅出(并且有趣
)讲到了你可能没有考虑过的C++规则。
Effective STL 作者:Scott Meyers 讲解方式和Effective C++类似,但内容主要面向
于STL。
Effective Modern C++ 作者:Scott Meyers... 阅读全帖 |
|
z*******n 发帖数: 1034 | 7 http://www.informit.com/articles/printerfriendly/2211695
Introduction to "The Java Language Specification, Java SE 8 Edition"
By James Gosling, Gilad Bracha, Alex Buckley, Bill Joy, Guy L. Steele
Date: Jun 12, 2014
The Java® programming language is a general-purpose, concurrent, class-
based, object-oriented language. It is designed to be simple enough that
many programmers can achieve fluency in the language. The Java programming
language is related to C and C++ but is organized rather dif... 阅读全帖 |
|
z*******n 发帖数: 1034 | 8 Language founder Bjarne Stroustrup gives early indicators of what to expect
in C++17
Oct 29, 2014
Although it is very early in the process, higher-level parallelism is slated
to be a key theme of the next version of C++, says Bjarne Stroustrup, the
founder of the language.
Interviewed recently, Stroustrup says the 35-year-old language has to
exploit new hardware, including transactional memory capabilities promoted
by IBM and Intel. To take advantage of these features, C++17 will need to
handle ... 阅读全帖 |
|
e***n 发帖数: 286 | 9 这有啥,Bjarne Stroustrup(C++的创始人)去国内开会,好几次了都没人搭理 |
|
|
s*****r 发帖数: 773 | 11 What is C++?
Released in 1985, C++ is an object-oriented programming language created by
Bjarne Stroustrup. C++ maintains almost all aspects of the C language, while
simplifying memory management and adding several features - including a new
datatype known as a class (you will learn more about these later) - to
allow object-oriented programming. C++ maintains the features of C which
allowed for low-level memory access but also gives the programmer new tools
to simplify memory management.
C++ use |
|
l****5 发帖数: 95 | 12 According to Bjarne Stroustrup's book "The C++ Programming language
(special edition)" page 78 (the very top):
"The sizeof an enumeration is the sizeof some integral type that can
hold its range and not larger than sizeof(int), unless an enumerator
cannot be represented as an int or as an unsigned int".
Here integral type include Boolean, character and integer types.
Please also refer the discussion here
http://stackoverflow.com/questions/1113855/is-the-sizeofenum-sizeofint-
always
defined, and |
|
i**********e 发帖数: 1145 | 13 If you already know programming basics, the best way to learn a language is
to program on it a lot. Try to come up with a self project, like a simple
game. In the process you will encounter a lot of problems and you will find
solutions. That's how you learn to program.
Highly recommended is Bjarne Stroustrup's The C++ Language to serve as your
reference, and also The C++ FAQ which can be found here:
www.parashift.com/c++-faq-lite/
一些常见面试题的答案与总结 -
http://www.ihas1337code.com
ago |
|
j********x 发帖数: 2330 | 14 书好不好看作者
ACC C++作者是谁?Andrew Koenig and Barbara E. Moo
早年一起跟着Bjarne大叔搞CFront的,他肯写一本入门的书给你看,还不是捧着拜读啊
。。。
这书影响力不大就是太浅,但是并不简单,非常适合初学者
thinking in c++我觉得其实讨论问题的深度上不如ACC |
|
s**x 发帖数: 7506 | 15 <> third edition, bjarne stroustrup.
he is the father of C++. |
|
w**z 发帖数: 8232 | 16 I am not a C++ guy, just saw this somewhere. Hopefully, it's helpful to
someone.
"
The "The C++ Programming Language" book by Bjarne Stroustrup, creator of the
C++ programming language contains many questions and exercises. Now someone
(Brett?) has attempted to answer all 384 of them and has published them on
Github.
That's quite a bit of work, so a big thank you to him for producing and
publishing them. He doesn't claim that they are all perfect. It's a work in
progress. If you can improve on a... 阅读全帖 |
|
s*f 发帖数: 807 | 17 给你讲个经典的非内推故事吧。一家非常著名的基金,一天来了个老兄,号称对C++很
熟,上来个老中问了他半天,觉得还是不够满意,人走了以后还说忘了问他个什么问题
。看不对眼没办法,杯具兄最后只好到南方一个什么学校去教书。
杯具兄叫Bjarne Stroustrup。 |
|
g*******s 发帖数: 2963 | 18 刚才网上查了一下为啥pure virtual=0, 我只想说 “我……&#¥……%#”
As with most "Why" questions about the design of C++, the first place to
look is The Design and Evolution of C++, by Bjarne Stroustrup1:
The curious =0 syntax was chosen over the obvious alternative of introducing
a new keyword pure or abstract because at the time I saw no chance of
getting a new keyword accepted. Had I suggested pure, Release 2.0 would have
shipped without abstract classes. Given a choice between a nicer syntax and
abstract classes, I... 阅读全帖 |
|
r*******n 发帖数: 3020 | 19 知道不知道Bjarne Stroustrup的生日类似这种的问题,能测试什么反应能力?
如果你知道到可以说明你是c++ fan。 |
|
p*u 发帖数: 2454 | 20 Bjarne is @ Morgan Stanley. |
|
p*u 发帖数: 2454 | 21 Bjarne is @ Morgan Stanley. |
|
x*******5 发帖数: 152 | 22 王同学最新大作摘要:“你觉得世界上有几个人能够在B521上得A+呢?谦虚是一种美德
,不要随便评判别人,然而当看到这么多“大牛”都那么不谦虚,耀武扬威的,很多人
用他们作为评判其他人的依据,所以我只好冒着评判他们的风险,告诉你一些事实。其
实Donald Knuth, Dennis Ritchie, Bjarne Stroustrup, Guido van Rossum, Brendan
Eich, Linus Torvalds, Rob Pike, ... 这些很多人仰慕的大牛,如果上B521肯定是
连A都拿不到的。有些甚至不能及格,因为有些人根本不知道他们在干什么,设计出一
堆复杂的垃圾,然后仗着自己的威望和强权迫使你去“学习”。其实我对计算机的理解
跟这些大牛们,早就不在一个数量级上了。我心里有数他们该得什么分数,你们自己猜
猜吧。
“告诉你一些事实”,这TMD是事实嘛?是臆想。“肯定连A都拿不到”,来我们问问这
门课的instructor他是不是这么看的?“仗着自己的威望和强权强迫你去学习”, 谁
TMD逼着你去学啦?他们的威望是自己earn来的,是对全人类做出了贡献,你算个什... 阅读全帖 |
|
|
s*****V 发帖数: 21731 | 24 格局小了,上等码农,怎么也是得能开疆扩土,Bjarne Stroustrup, JEFF DEAN这样的把
30 |
|
z***e 发帖数: 5393 | 25 你也莫丢微软的脸了。
这些白痴歪理,有什么好扯?你能升到sr. lead,不是因为你没读phd;有的人做得不
行,不是因为他读过phd.
我看你对这个phd的title似乎很纠结,jeffrey ritcher也没读phd(据我的记忆),他
想嘲笑Texa A&M的bjarne stroustrup是个loser么? |
|
r******s 发帖数: 3662 | 26 BJARNE RIIS 1997 TOUR DE FRANCE
DAVID MILLAR 2008 GIRO D'ITALIA
BRADLEY WIGGINS 2009 WORLD TIME TRIAL CHAMPIONSHIP
MARK CAVENDISH 2010 TOUR DE FRANCE |
|
G**Y 发帖数: 33224 | 27 你看看这圈里能有干净的人吗?
from ny times,
”Q. When and if Armstrong is stripped of his Tour titles, who are the
official winners?
A. Technically, the second-place riders would move into the top spot,
replacing Armstrong as the official winner. But you never know how A.S.O.,
the company that runs the Tour, will handle it. (Bjarne Riis admitted to
doping when he won the 1996 Tour, but it was outside the eight-year statute
of limitations. He is still listed as the 1996 Tour winner on the Tour’s
Web site.)
In 1... 阅读全帖 |
|
x****o 发帖数: 21566 | 28 有个打篮球对我说:闭着眼进你们足球训练场,听到的全是污秽语言,“直塞啊!”“
突突突!”“射呀射呀!” 我不服气回应:闭着眼进你们篮球训练场听到的才脏呢,
“上紧逼啊!”“啪啪啪!”“要丢!要丢!”
有个学姐做实验用的是猴子,每次抓一只,轮流做时间长了,就不用她看标号抓了,每
次猴子都会把该轮到做实验的那只推出来……
刚刚又看到新闻说储户存款消失,从几百万到几个亿不等,储户索赔无望,我吓了一跳
,赶紧驱车到银行查查:卡里的150块钱还在,吓死我了。以后再也不看新闻了,心好
累。走出银行一看,妈的自行车没了
高速路刚开始安装雷达的照相的时候,有人上来开快了,照相闪了一下,副驾驶说”开
快点啊,好像起闪电,要下雨啦”于是司机一路猛踩油门,结果不停超速不停闪照相,
副驾驶不停说快点啊,好像闪电打的很厉害啊,要来雨了。。。。回家后不久N张单子
飞来
晚上有个姑娘在电影院门口上车和外头的男朋友道别。她男朋友问她冷不冷,姑娘很淑
女的说:有你在,人家怎么会觉得冷啦摸摸达。结果等她上车关上窗,姑娘扭头我说:
你娘卵泡把人冻死哦,师傅你快点把空调开大点
我一个哥们的女朋友跟一个有钱人跑了,然后怀孕了,... 阅读全帖 |
|
i********e 发帖数: 31 | 29
I'd like to say who knows if there is no Phd requirement. :-)
At least I won't be surprised if Bjarne Stroustrup or James Gosling is
named.
BTW, Can you predict the winners in next a few years? What do you think
in computer science are the most important breakthroughs which have not
been given Turing Award in last 20 years? Just curious.
Engineers"? |
|
w***f 发帖数: 75 | 30 裘宗燕 "C++程序设计语言" ( Chinese translation of Bjarne Stroustrup's
classic)
这本书应该是中译本里的 best of best 了。 |
|
j**********s 发帖数: 132 | 31
~~~~~~~~~~~~~ 没戏,Turing Award 喜欢孤胆英雄而不是团队领袖。单纯凭
设计一门高级语言得 Turing 奖自 Fortran 以后就不可能了。Nillaus Wirth,
Alan Kay, Dennis Ritchie 都不是只靠设计高级语言得奖的。C++ 的作者
Bjarnes Strousrup 到现在也没拿到 Turing.
~~~~~~~~~~~~~~~~~~
这个更没戏, SVM 不算 Turing Award 认可的 CS 范畴,这种东西和Statistics
更沾边些。 |
|
l***e 发帖数: 35 | 32 On the 1st of January 1998, Bjarne Stroustrup gave an interview to the IEEE's 'Computer' magazine. Naturally, the editors thought he would be giving a retrospective view of seven years of object-oriented design, using the language he created.
By the end of the interview, the interviewer got more than he had bargained for and, subsequently, the editor decided to suppress its contents, 'for the good of the industry' but, as with many of these things, there was a leak.
Here is a complete transcript |
|
G*O 发帖数: 706 | 33 比如Bjarne Stroustrup的C++ Programming Language? |
|
l**t 发帖数: 452 | 34 本人以前都是用Fortran,Unix, 还用过点C。现在准备学C++, VC, VB。前两天自己试
着用了VB, 感觉有好多不同的新概念。
精华区介绍的C++有 The C++ Programming Language (2nd edition). Addison Wesley
, 1991.
看了一下amazon, 最近的是 The C++ Programming Language (Special 3rd Edition)
by Bjarne Stroustrup (Hardcover - Feb 15, 2000
VB 基本上在精华区没有介绍。
大家说说看那些书比较好,新。谢谢! |
|
|
t****n 发帖数: 15 | 36 Thanks thrust and NoDealToday.
Yes, that's what I thought.
But this example is given by Bjarne Stroustrup in his New Casts Revisited (
google New Casts Revisited, in the section 4). Maybe it is a typo?
not
of
*> |
|
h**o 发帖数: 347 | 37 原例抄自于Bjarne的书p 275,让自己定义的类参于已存在的类的运算
代码如H下 |
|
r*********e 发帖数: 29495 | 38 哪位大侠有如下书籍的电子版,或者下载地址,多谢
The Annotated C++ Reference Manual by Margaret A. Ellis (Author), Bjarne
Stroustrup (Author)
More Effective C++: 35 New Ways to Improve Your Programs and Designs (
Addison-Wesley Professional Computing Series) (Paperback)
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd
Edition) (Addison-Wesley Professional Computing Series) by Scott Meyers
Algorithms in C++, Parts 1-4: Fundamentals, Data Structure, Sorting, Searching (3rd Edition) Sedgewick |
|
w******g 发帖数: 22 | 39 从水木看来的,
orz 拜一下。
http://www.newsmth.net/bbstcon.php?board=Programming&gid=111974
发信人: Stroustrup (Bjarne), 信区: Programming
标 题: [代征]学舞蹈的大二MM征友
发信站: 水木社区 (Tue Mar 10 14:13:10 2009), 站内
【 以下文字转载自 PieLove 讨论区 】
发信人: debian (GNU), 信区: PieLove
标 题: [代征]学舞蹈的大二MM征友
发信站: 水木社区 (Tue Mar 10 13:53:07 2009), 站内
注1:本贴是代人发帖,请勿回站内。
注2:这个MM是我本科同学的堂妹,我见过2次,很漂亮,有气质,照片是真的。
注3:我很讨厌当媒婆,如果应征,一切后果自负,千万别若干年后离婚了来找我算账。
注4:这个MM家教很严,据说家里人每晚打电话给她。
注5:该MM会写c++程序,在Topcoder上有个蓝色的账号,我很佩服这一点。
注6:这个照片是发到我手机上的,估计是用手机照的,有些模糊。 |
|
h*********n 发帖数: 915 | 40 没有alignment问题?64-bit机器。
memory
su
的速 |
|
c*****t 发帖数: 1879 | 41
memory
su
的速
Go check out the JVM 1.5 source code yourself. It only used minimal
C++ for dealing with cross platform issues. There are JVMs written
in C. |
|
s******n 发帖数: 876 | 42 he is very funny.
memory
su
的速 |
|
z****e 发帖数: 2024 | 43 这帖子已经变成玄幻小说了。下边来说说Bjarne Stroustrup在冥界化胡为佛,勇斗
java,perl,python,lisp几个宗师的八门紧锁阵吧。
话说那日,尘头蔽日,旌旗招展,BS大师阴魂不散,率领一干Cpp精锐阴兵,直捣阎罗
殿前面的八门紧锁大阵。。。
一时间,飞沙走石,刀剑乱舞,键盘也生风,鼠标也光辉。阎王也公然不惧,调出独脚
鬼王、七十二洞妖王与四个健将,就于洞门外列成阵势。你看这场混战好惊人也——
寒风飒飒,怪雾阴阴。那壁厢旌旗飞彩,这壁厢戈戟生辉。滚滚盔明,层层甲亮。
滚滚盔明映太阳,如撞天的银磬;层层甲亮砌岩崖,似压地的冰山。大捍刀,飞云掣电
;楮白枪,度雾穿云。方天戟,虎眼鞭,麻林摆列;青铜剑,四明铲,密树排阵。弯弓
硬弩雕翎箭,短棍蛇矛挟了魂。BS一本cpp宝典,翻来覆去战天神。杀得那空中无鸟过
,山内虎狼奔。扬砂走石乾坤黑,播土飞尘宇宙昏。只听兵兵扑扑惊天地,煞煞威威振
鬼神。。。。
欲知后事如何,BS大师强削死籍,且听下回C++1X分解。 |
|
w***g 发帖数: 5958 | 44 C++标准库就是一个joke。 iostream里的字符串竟然用的是char *,而不是std::strin
g。上次bjarne来我们这旮瘩讲c++,就承认他们没什么人力物力,standard committee
至少在名义上都是业余搞的,所以只能致力于语言的发展,而没法估计standard libra
ry。 |
|
d****p 发帖数: 685 | 45 Personally I found this kind of claim is hard to understand: if you are not
really good at sth, don't draw general conclusions on it.
Meahwhile, I am eager to know the reasoning why iostream should be
implemented on string instead of char*:
1. What's the real diff between string and char*
2. What obvious benefit you can gain with such change when doing normal c++
coding.
3. What's the impact of such change to the whole c++ thing.
I guess you may hear some stuff from big figure like bjarne. Pleas |
|
e****d 发帖数: 895 | 46 来自主题: Programming版 - C++0x You can ask Bjarne Stroustrup about who needs C++. |
|
|
m****r 发帖数: 51 | 48 就不要取笑了,已经很懊恼了。
写C++也有几年了,想系统提高一下。是不是这本书本身很晦涩! 还是本人学习方法不
对,实在想请教一下。 |
|
r*********r 发帖数: 3195 | 49 这本书其实是写给 language designer level 的人看的,
至少要学过点 compiler, os, PL 之类的才知道他想要说什么.
如果你自己设计过一个小编程语言的话, 就更能 appreciate 他为什么
花那么大力气设计这么复杂的一个语言. |
|
a****l 发帖数: 8211 | 50 没这么高深吧?这本书是写的好,基本上是做标准看的,那也是没办法,谁让这书是语言的
原作者写的呢?不过一般人也应该是很容易看懂的,看不懂的实在是有问题. |
|