Smaller C: Lean Code for Small Machines (Paperback)

Loy, Marc

買這商品的人也買了...

商品描述

For makers looking to use the smallest controllers or wring the highest performance out of larger controllers, the C language is still the best option. This practical book provides a solid grounding in C basics for anyone who tinkers with programming microcontrollers. You'll explore many ways C enables developers and makers to get big results out of tiny devices.

Author Marc Loy shows you how to write clean, maintainable C code from scratch. This language and its C++ cousin are still widely used to write low-level code for device drivers or operating systems. By understanding C syntax and quirks, you'll gain an enduring computer language literacy that will help you pick up new languages and styles more easily.

  • Learn C fundamentals including data types, flow control, and functions
  • Explore memory management including how programs work on small devices
  • Understand answers provided in online forums such as Reddit or Stack Overflow
  • Write efficient, custom C code that's both readable and maintainable
  • Analyze the performance of your code and weigh optimizations
  • Evaluate third-party libraries for use in your own projects
  • Create your own libraries to share with others

商品描述(中文翻譯)

對於希望使用最小的控制器或從較大的控制器中獲得最高性能的製造商來說,C語言仍然是最佳選擇。這本實用書為任何對編程微控制器感興趣的人提供了C基礎的扎實基礎。您將探索C語言如何使開發人員和製造商能夠從微小設備中獲得巨大的成果。

作者Marc Loy向您展示如何從頭開始編寫乾淨、易於維護的C代碼。這種語言及其C++衍生版本仍然被廣泛用於為設備驅動程序或操作系統編寫低級代碼。通過理解C語法和特點,您將獲得持久的計算機語言能力,這將有助於您更輕鬆地學習新的語言和風格。

- 學習C的基礎知識,包括數據類型、流程控制和函數
- 探索內存管理,包括小型設備上的程序運行方式
- 理解在線論壇(如Reddit或Stack Overflow)上提供的答案
- 編寫高效、可讀性和易於維護的自定義C代碼
- 分析代碼的性能並權衡優化
- 評估第三方庫以在自己的項目中使用
- 創建自己的庫以與他人分享

作者簡介

Marc Loy caught the programming bug after learning 6808 assembly to program his school's HERO 1 in the 80s. He developed and delivered training classes on Java, Unix internals, and networking at Sun Microsystems back in the day and has continued training a (much) wider audience ever since. He now spends his days consulting and writing on technical and media topics. He has also caught the maker bug and is exploring the fast-growing world of embedded electronics and wearables.

作者簡介(中文翻譯)

Marc Loy在80年代學習6808組合語言來編程他學校的HERO 1後,對編程產生了濃厚的興趣。他曾在Sun Microsystems開發並提供關於Java、Unix內部和網絡的培訓課程,並一直以來都在培訓更廣泛的受眾。現在,他專注於技術和媒體領域的咨詢和寫作。他也對製造業產生了濃厚的興趣,並正在探索快速發展的嵌入式電子和可穿戴技術領域。