跳到主要內容

發表文章

New website of BoostCon

BoostCon 的網站 主要是針對 Boost Conference 所做的網站,提供 Conference 的一些訊息,在這個 Conference 所討論的議題不僅包括 Boost Library 的內容,也涉及一些與 C++ 相關的議題,目前 BoostCon 網站已經改名為 C++now 網站 ,為何要改成 C++now 可以參考 網站中 About 的說明 。在 2013 年的 Conference 中有許多 speaker 討論了一些議題值得關注,Session 的 Slides 可以在 Github repository 中下載,整個 Video 可以到 YouTube 網站 中觀看,最佳 Session 的得主已經公佈在 這個網站中 。 ODB, an ORM for C++(11):軟體可以到 Code Synthesis 公司網站 下載 Survey of Multi-Threaded Programming Support in C++11 and Boost Live Coding with C++ and the LLVM JIT Engine

使用 Boost 相關 Library 的分析軟體

看到有人寫 Boost Dependency Analyzer 這種軟體,真是 cool !有了它,以後在使用 Boost Library 時,可以更清楚自己及所引用的 Library 的相依性,對於想要了解 Boost Library 內部的人也有相當大的幫助。 同時,在 ISO C++ 中連結了 HPX version 0.9.6 released 的消息,要寫平行處理及平行計算的開發者,是另一種不同的選擇。

為何 mobile web apps 會慢?

今天在 Twitter 上看到 Herb Sutter post 一篇文章:「 Recommended reading: Why mobile web apps are slow (Drew Crawford) 」,第一句話寫著: I don’t often link to other articles, but this one is worth reading. 更是好奇的想看看 Why mobile web apps are slow 這篇文章的內容,大略瀏覽了一下內容,應該如 Drew Crawford 所道: So if you are trying to figure out exactly  what brand of crazy all your native developer friends are on for continuing to write the evil native applications on the cusp of the open web revolution, or whatever , then bookmark this page, make yourself a cup of coffee, clear an afternoon, find a comfy chair, and then we’ll both be ready. Herb Sutter 認同這篇文章所寫的內容,文章中還提到 Herb Sutter 去年他所寫的 When will better JITs save managed code? 這個文章。 2013.07.26 今天在中央研究院 計算中心通訊2013年第14期 中介紹了一個 mobile 開發環境,叫做 PhoneGap 是一個 open source code 及跨平台的 Framework,可以使用在 Android, iOS, BlackBerry 等不同的 Mobile 平台,文章中有說明其安裝的過程。在文章中有一段 PhoneGap 的問號?第一個最大的問號是: 問號1:只要會寫網頁就可以開發? 多數人選擇PhoneGap的原因大多為只懂得網頁開發技術、例如:HTML、CSS等等,但是其中要注意到的是, 在使用Ph...

C++11 The Future is Here

C++ Father Bjarne Stroustrup 發表了這個 Video, 談論 C++ 的未來 ,唉,許多的工作及家裡的事情要做,無暇及靜心的好好觀看。 Update: 2013.08.21 Bjarne Stroustrup 在 A9 所談論 C++ 未來的影片 而由 C++ 界的三位大師 Andrei Alexandrescu , Scott Meyers and Herb Sutter 所主談的題目: C++ and Beyond 2012 ,可以在 Channel 9 網站觀看。   相同的題目,也是論及 C++ 的未來發展,在 Microsoft所support 的 Channel 9 網站 ,由 ISO C++ Standard 的秘書長 Herb Suttter 主談的內容 。

ISO CPP Website 的文章

在 isocpp.org 網站中總是會 post 一些值得參考的文件,看過之後,卻沒有記錄下來,日後要參考這些資料,需要再次的從網站中尋找,相當耗費時間。又使用紀錄在 daily 無法使用超連結的功能。因此使用 Blog 來紀錄自己認為有價值的文章清單,以下是按照日期的先後順序來做來排序: 2013.10.18 : Out Parameters, Move Semantics, and Stateful Algorithms—Eric Niebler 2013.09.03 : A Glimpse into C++14: Combine Flexibility and Performance with Dynamic Arrays and Runtime-Sized Arrays 2013.08.20 : Functional C++: Type Classes—whanhee 2013.08.20 : C++ String to Int—Ivan Neeson 2013.07.28 : Expression Templates—Volker Krause 2013.07.25 : The Universal Reference/Overloading Collision Conundrum—Scott Meyers 2013.06.23 : Efficient Programming with Components—Alexander Stepanov 2013.05.02 : static constexpr variable vs function 2013.05.02 : Functional Patterns in C++—Bartosz Milewski 2013.05.01 : C++ on the Web: Run Your Big 3D Game in the Browser!—Andre Weissflog 2013.04.30 : Preconditions, Part 4—Andrzej Krzemieński 2013.04.08 : Universal References (revisited)—Ben Hekster 2013.03.29 : Preface for The C++ P...

消失的 dll

在家裡的電腦(Windows 7)開機以後出現:「找不到 msvcr70.dll」的錯誤訊息,但是辦公室的電腦已經安裝成 Windows 8 系統,頓時無法得到 msvcr70.dll 這個檔案,只好上網找看看,網路上充斥著許多提供 .dll 檔的網站,不過都是與病毒離不開關係,所以不會下載這些網站所提供的 .dll 檔;也有許多如何恢復 .dll 檔的教學網站,可是按照步驟做,卻有不見將問題解決。 在找了需多資料以後,找到了 www.dll-files.com 網站,下載所欠缺的 msvcr70.dll 檔以後,確實可以 run,在開機時已經沒有錯誤的訊息產生了。 總是忙碌,一直沒有將這個網站的網址記錄下來,後來看到當時下載時的 readme.txt 檔,才警覺需要趕緊寫下這些網站的網址。 在同時間,也紀錄一下 「鳥毅」的 Blog ,在他的 Blog 中有一些 Hyper-V, XenServer, VMware ESXi,  等 VM 的安裝過程。而這一篇 Why I move to VMware 的文章,以後要再安裝 VM 時,可以參考一下。

Building Wt with Visual Studio 2012 on Windows 8 x64 PC

安裝 Wt 花了許多時間,主要的問題是「在 cmake configure 時,會出現如下圖錯誤的訊息」,導致我一直認為這種問題,在按下「 Generate 」鍵之後,不會產出 Visual Studio Project 相關的檔案。因此,上網找了 解決方式 ,依照這個解決方式將 mspdb110.dll copy  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\mspdb110.dll into  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin or C:\Windows\System 這是不需要的,因為這個錯誤的動作,導致後續的 Compile 無法完成。而發現這個問題是來自:在清除 wt build 目錄之後,重新 cmake wt project 時,會產生 The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program. 由於之前都沒有這種現象的發生,測試了幾台電腦以後,出現相同的錯誤現象,才開始懷疑可能是將 mspdb110.dll copy into C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin or C:\Windows\System 所導致的錯誤。 果不其然,真的是 copy mspdb110.dll into C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin or C:\Windows\System 所產生的問題。 所以,結論是:「不可以這樣做。如果在 Cmake 按下 Configure 時,出現上圖的錯誤訊息,不需要理會它,依然可以產生 vs 的 project 檔。」 首先說明我目前系統的環境及使用軟體的版本,接著再說明整個安裝的過程。目前所使用的作業系統是:  x64 bits Windows 8 的...