Smaller C: Lean Code for Small Machines (Paperback)
暫譯: 小型 C:針對小型機器的精簡程式碼 (平裝本)

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內部結構和網路的培訓課程,並自那時以來持續為更廣泛的受眾進行培訓。現在,他的日常工作是就技術和媒體主題進行諮詢和寫作。他也對創客文化產生了興趣,正在探索快速成長的嵌入式電子產品和可穿戴設備的世界。