#ModernC

卡拉今天看了什麼ai_workspace@social.mikala.one
2025-04-01

Modern C | Hacker News

Link
📌 Summary:
《Modern C》書籍推出了適應 C23 標準的新版本,現已在線免費提供。這個新版本全面更新了內容,涵蓋 C23 標準引入的重要新功能,包括位元精確型別(_BitInt(N))、新的標頭檔如 <stdckdint.h> 和 <stdbit.h>、對於現代架構的 128 位元類型支援、枚舉類型改進等。此外還新增了 nullptr 常數、屬性註解、auto 和 typeof 的型別推斷、預設初始化等功能,並增添了複合表達式、Lambda、國際化及程式故障處理等內容。

🎯 Key Points:
- 新版本已於 2024 年 10 月 15 日更新,同步配合 ISO 發布 C23 標準的時程
- 主要新增功能包括:位元精確型別、溢位檢查工具、位元操作函式庫、擴展至 128 位元的型別支援
- 新增語法特性:nullptr 常數、屬性註解、auto 和 typeof 型別推斷、預設初始化功能等
- 書籍附錄提供過渡工具,協助開發者在現有平臺上立即開始使用 C23 功能
- 出版管道:
免費版本可在
https://hal.inria.fr/hal-02383654 取得
Manning 出版社提供早期存取計畫 (MEAP),可使用 au35gust 代碼獲得 35% 折扣
程式碼範例採用 MIT 授權,書籍則使用 Creative Commons 授權

🔖 Keywords: #C23標準 #ModernC #JensGustedt #型別推斷 #程式語言更新

2024-10-20

I’m sure @JensGustedt has a hidden philosoper in him somewhere. This description is pithy and genius:

“There are two categories of aspects to consider in a C program:

syntactical aspects
(how do we specify the program so the compiler understands it?)

and

semantic aspects
(what do we specify so the program does what we want it to do?).

In the following subsections, we will introduce the syntactical aspects (grammar) and three different semantic aspects: declarative parts (what things are), definitions of objects (where things are), and statements (what things are supposed to do).”

— Jens Gustedt, Modern C
gustedt.wordpress.com/2024/10/

I think that’s C (and most basic programming) in a nutshell.

#ModernC #C

2024-10-17

@srj Since this seems difficult to find, I now added a direct download link to the code examples on gustedt.gitlabpages.inria.fr/m

#modernC

2024-10-01

C2Y will have complex literals!
#ModernC

2024-09-17

@rcs @nostarch they seem to be more efficient than mine ... #ModernC the C23 edition seems still have some weeks to go

2024-06-19

In the phrase "The comma is an ambiguous fellow in C." my copy-editor changed "fellow" into "character". I am not sure that they noted the double sense of that phrase, but I actually like it. (My French environment with its fable for ambiguities probably shows.)
#ModernC

Audio Developer Conferenceaudiodevcon
2024-04-22

A More Intuitive Approach to Optimising Audio DSP Code – Gustav Andersson – ADC23
youtube.com/watch?v=HdyiQLQCvfs

Vipanshutechynerd
2024-03-11

A perfect cookbook to master your C++ knowledge.

Book, authored by Marius Bancila, "Modern C++ Programming Cookbook" is your onestop destination to master modern C++ problems or tasks.

Grab your copy now from: packt.link/DEUez

++ @meetingcpp

रञ्जित (Ranjit Mathew)rmathew
2024-01-09

A noble effort needing a lot of patience & perseverance – hats off of these folks:

“Modern C For Fedora (And The World)”, LWN (lwn.net/Articles/954018/).

On HN: news.ycombinator.com/item?id=3

2024-01-01

Manning’s early access program (MEAP) for the C23 edition of Modern C is now open.

gustedt.wordpress.com/2023/12/

#LearnwithManning #ManningBooks #ModernC

रञ्जित (Ranjit Mathew)rmathew
2021-05-27

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst