先賣一賣廣告: MySinaBlog 出書 《Why We Blog》 ,當中有近年 Blog 大事表,小弟有份寫,不過主要寫是 2005 年的。合寫的 Hang 與 Sidekick 則已經分別發表了《2006 年香港 Blog 事回顧》,在此轉載:
- Blogger出書 ( JAN 2006) 出版社主動接洽Middle,將他的
I've already linked to this in passing , but I'm going to rerun itas an explicit link. Threads Cannot be Implemented as a Library by HansBoehm makes the argument in its title:
We provide specific arguments that a pure library approach, in whichthe compiler is designed independently of threading issues, cannotguarantee correctness of the resulting code.
There is also a discussion of this paper at Lambda the Ultimate that may be interestingreading. On a quick skim of the LtU discussion thread, thisUsenet article
There are some things that Solaris is very good at; one of them isuser-level ABI compatibility (at least for basic programs). As anillustration of just how good it is, I only recently noticed that on ourSolaris 8 machines I am still routinely using some dynamically linkedprograms compiled in August of 1993 (which is probably when this groupstarted using Solaris machines).
I hadn't noticed before now because the programs hadn't really changedsince then (so I had no
先賣一賣廣告: MySinaBlog 出書 《Why We Blog》 ,當中有近年 Blog 大事表,小弟有份寫,不過主要寫是 2005 年的。合寫的 Hang 與 Sidekick 則已經分別發表了《2006 年香港 Blog 事回顧》,在此轉載:
依樣葫蘆 ,回看 2006 看過的上映電影:
Jan
Feb
Here's an automounter irritation that keeps biting us: on fileservers,the Solaris 8 automounter is not smart enough to notice when anunderlying If it gets a request for the filesystem, it 'mounts' things anyways,which then fouls up various aspects of, say, remounting the realfilesystems. It is remarkably difficult to persuade the automounter tolet go so that you can restore things to normality, and you can't justshoot the entire automounter The SMTP frontend died twice late Friday night, to my irritation.That said, this week we: The message count is down dramatically from last week because this week Courtesy of Pete Zaitcev ,here's a great example of what happens when optimizing compilers aren'tthread aware. Start with code of the form: Modern versions of gcc 4 on x86 will optimize the function call into: (This is a less stupid optimization than it looks; /export/
Weekly spam summary on December 30th, 2006
無聊才上網
What can go wrong if your compiler is not thread aware
struct a b;
b.pos = *ppos;ret = foo(&b, ..., b.pos);
ret = foo(&b, ..., *ppos ); ppos Menu