Modern C : Covers the C23 Standard, 3/e (Paperback)
暫譯: 現代 C 語言:涵蓋 C23 標準,第 3 版(平裝本)

Gustedt, Jens

  • 出版商: Manning
  • 出版日期: 2025-10-07
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 425
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633437779
  • ISBN-13: 9781633437777
  • 相關分類: C 程式語言
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Discover the full power of modern C programming, with an inside look at the new C23 standard.

For programs that need to be small, fast, and reliable, C is the gold standard. Whether you're writing embedded code, low-level system routines, or high-performance applications, C is up to the challenge. This unique book by Jens Gustedt, a member of the ISO C standards committee, gets you up to speed with C23.

In Modern C, Third Edition you'll:

- Learn C basics, core features, and advanced concepts
- Leverage major C23 improvements for security, reliability, and performance
- Write portable code that runs anywhere
- Build multi-threaded applications with atomics and synchronization
- Create robust and resilient software with error handling
- Use type-generic programming for reusable code

In Modern C, Third Edition you'll learn to harness C's full potential using the latest tools and techniques. After a quick review of the fundamentals suited for coders who haven't used C in a while, this book guides you to mastery of C23, the latest ISO standard.

About the Technology

From code running on the smallest embedded devices to the low-level libraries behind popular programming languages like Python and Ruby, the software world depends on C. And even after 50 years, it's still getting better! The new C23 standard adds improvements for security, reliability, and performance. In this thoroughly-revised new edition, author Jens Gustedt gives you an authoritative inside view.

About the Book

Modern C, Third Edition is a fast-paced introduction to the C language, with special attention on its most modern features. It starts with a quick review of structure, grammar, and execution and then progresses quickly to control structures, data types, operators, and other core language features. Fully revised for C23, this expanded Third Edition covers compound expressions and lambdas, new insights into approaching program failure, and how to transition smoothly to C23.

What's Inside

- All major C23 features
- Portable code that runs anywhere
- Multi-threaded applications with atomics and synchronization
- Use type-generic programming for reusable code

About the Readers

For readers with intermediate skills in any programming language.

About the Author

Jens Gustedt is a senior scientist at the French National Institute for Computer Science and Control (INRIA), deputy director of the ICube lab in Strasbourg, France, and an active member of the ISO C standards committee.

Table of Contents

Level 0 Encounter
1 Getting started
2 The principal structure of a program
Level 1 Acquaintance
3 Everything is about control
4 Expressing computations
5 Basic values and data
6 Derived data types
7 Functions
8 C library functions
Level 2 Cognition
9 Style
10 Organization and documentation
11 Pointers
12 The C memory model
13 Storage
14 More involved processing and I/O
15 Program failure
Level 3 Experience
16 Performance
17 Function-like macros
18 Type-generic programming
19 Variations in control flow
20 Threads
21 Atomic access and memory consistency
A Transitional code
B C compilers
C C libraries
Takeaways

Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.

商品描述(中文翻譯)

探索現代 C 語言的全部力量,深入了解全新的 C23 標準。

對於需要小巧、快速且可靠的程式,C 是黃金標準。無論您是在編寫嵌入式程式碼、低階系統例程,還是高效能應用程式,C 都能迎接挑戰。這本由 Jens Gustedt 撰寫的獨特書籍,作為 ISO C 標準委員會的成員,將幫助您快速掌握 C23。

Modern C, Third Edition 中,您將:

- 學習 C 的基本知識、核心特性和進階概念

- 利用 C23 的主要改進來增強安全性、可靠性和效能

- 編寫可攜式程式碼,能在任何地方運行

- 使用原子操作和同步構建多執行緒應用程式

- 創建具有錯誤處理的穩健和彈性軟體

- 使用類型泛型編程來實現可重用的程式碼

Modern C, Third Edition 中,您將學會利用最新的工具和技術來發揮 C 的全部潛力。在快速回顧適合已久未使用 C 的程式設計師的基本知識後,本書將引導您掌握 C23,這是最新的 ISO 標準。

關於技術

從運行於最小嵌入式設備的程式碼到支撐流行程式語言(如 Python 和 Ruby)的低階庫,軟體世界依賴於 C。即使在 50 年後,它仍在不斷進步!全新的 C23 標準為安全性、可靠性和效能增添了改進。在這本經過徹底修訂的新版本中,作者 Jens Gustedt 為您提供了權威的內部視角。

關於本書

Modern C, Third Edition 是一本快速介紹 C 語言的書籍,特別關注其最現代的特性。它從結構、語法和執行的快速回顧開始,然後迅速進入控制結構、數據類型、運算符和其他核心語言特性。這本完全修訂的第三版涵蓋了複合表達式和 lambda,對於程式失敗的全新見解,以及如何順利過渡到 C23。

內容概覽

- 所有主要的 C23 特性

- 可攜式程式碼,能在任何地方運行

- 使用原子操作和同步的多執行緒應用程式

- 使用類型泛型編程來實現可重用的程式碼

關於讀者

適合具備任何程式語言中級技能的讀者。

關於作者

Jens Gustedt 是法國國家計算機科學與控制研究所(INRIA)的高級科學家,法國斯特拉斯堡 ICube 實驗室的副主任,並且是 ISO C 標準委員會的活躍成員。

目錄

Level 0 初識

1 開始

2 程式的主要結構

Level 1 熟悉

3 一切都與控制有關

4 表達計算

5 基本值和數據

6 派生數據類型

7 函數

8 C 標準庫函數

Level 2 認知

9 風格

10 組織和文檔

11 指標

12 C 的記憶體模型

13 儲存

14 更複雜的處理和 I/O

15 程式失敗

Level 3 經驗

16 性能

17 類似函數的宏

18 類型泛型編程

19 控制流的變化

20 執行緒

21 原子訪問和記憶體一致性

A 過渡程式碼

B C 編譯器

C C 標準庫

重點摘要

購買印刷版書籍時,您將獲得 Manning 提供的免費電子書(PDF 或 ePub),以及訪問線上 liveBook 格式(及其能用任何語言回答您問題的 AI 助手)。