Kenneth Lo

@closer

Prime membership

Joined on Dec 31, 2017

  • 我是個長期的行列使用者。目前主力的系統 Windows 11 雖然內建行列,但我還是會另外安裝「新行列30輸入法」,並且設定為預設輸入法。有時也會再加裝 DIME 行列。 最近打算玩一下 C++/WinRT,因此我就用 Visual Studio 2022 建立了一個預設的範例專案 (Core Application)。然後我在 IDE 中直接執行.... 結果 VS 切到 Debug View 後,沒多久就 crash 了: 我試著去 google 類似的狀況,都沒有找到答案。 後來我想說去 Windows 的事件記錄簿中看一下 crash log,結果發現它是 crash 在 Array30IME.dll 裡:
     Like  Bookmark
  • Programming Rust, 2nd Edition 導讀 Concurrency Comes Safe & Fast Before Rust: Programs that use threads well are full of unwritten rules. Now with Rust: The unwritten rules are ==written down== and ==forced by the compilers==. 3 Ways to Use Threads Fork-join parallelism Channels Shared mutable state
     Like  Bookmark
  • Ch. 15: Smart Pointers 初學 Rust 常見問題 如何動態配置記憶體 如何寫鏈結串列 如何共用記憶體位址 如何變更記憶體內容 記憶體操作注意事項 Agenda
     Like  Bookmark
  • Programming Rust 導讀 Iterators Any type that implemnts trait std::iter::Iterator.trait Iterator { type Item; fn next(&mut self) -> Option<Self::Item>; //.... } 不斷呼叫 next(),就可以依續取得所有的 items。
     Like  Bookmark