買這商品的人也買了...
-
$450$383 -
$1,860$1,767 -
$980$774 -
$590$466 -
$420$332 -
$880$792 -
$750$638 -
$560$476 -
$990Beginning Visual C++ 6 (Paperback)
-
$480$379 -
$750$593 -
$590$460 -
$540$427 -
$650$553 -
$650$507 -
$450$405 -
$350$277 -
$650$507 -
$680$578 -
$750$593 -
$680$537 -
$780$616 -
$720$569 -
$800$632 -
$1,200$948
相關主題
商品描述
Extending and Embedding Perl explains how to expand the functionality and usefulness of the Perl programming language and how to use Perl from C programs. It begins simply but also covers complex issues using real code examples from the Perl source. The book discusses how to write interfaces to C libraries (as well as C++ and Fortran libraries). It shows you how to implement Perl callbacks for C libraries, how to pass Perl hashes and arrays between Perl and C, and how to use the Perl Data Language infrastructure to improve the speed of array operations.
Additionally, the book peers under the hood to see how the Perl programming language really works by looking at the interpreter. The make-up of Perl variables is discussed along with details on how a Perl program is parsed and converted to executable code.
What's Inside:
- C For The Perl Programmer
- Basic and Advanced XS
- Embedding Perl in C Programs
- Perl Internals
- An API reference for the internal C interface to Perl
- A reference on the typemap system
- Embedding Perl into the mutt mail reader
Table of Contents
- 1 C for Perl programmers 1
- 2 Extending Perl: an introduction 24
- 3 Advanced C 51
- 4 Perl’s variable types 70
- 5 The Perl 5 API 100
- 6 Advanced XS programming 163
- 7 Alternatives to XS 231
- 8 Embedding Perl in C 254
- 9 Embedding case study 268
- 10 Introduction to Perl internals 277
- 11 Hacking Perl 304
- 2 Extending Perl: an introduction 24
- A: Perl’s typemaps 324
B: Further reading 348
C: Perl API index 350
index 355
商品描述(中文翻譯)
《擴展與嵌入 Perl》解釋了如何擴展 Perl 程式語言的功能和實用性,以及如何從 C 程式中使用 Perl。書中從簡單的概念開始,但也涵蓋了使用 Perl 原始碼的實際程式範例來探討複雜的議題。這本書討論了如何為 C 函式庫(以及 C++ 和 Fortran 函式庫)撰寫介面。它展示了如何為 C 函式庫實作 Perl 回呼,如何在 Perl 和 C 之間傳遞 Perl 哈希和陣列,以及如何使用 Perl 數據語言基礎架構來提高陣列操作的速度。
此外,這本書深入探討 Perl 程式語言的運作原理,通過查看解譯器來了解其內部運作。書中討論了 Perl 變數的組成,以及 Perl 程式如何被解析和轉換為可執行代碼的詳細資訊。
**內容概覽:**
- C 對於 Perl 程式設計師
- 基本與進階 XS
- 在 C 程式中嵌入 Perl
- Perl 內部結構
- Perl 內部 C 介面的 API 參考
- 類型映射系統的參考
- 將 Perl 嵌入 mutt 郵件閱讀器
**目錄**
1. C 對於 Perl 程式設計師 1
2. 擴展 Perl:簡介 24
3. 進階 C 51
4. Perl 的變數類型 70
5. Perl 5 API 100
6. 進階 XS 程式設計 163
7. XS 的替代方案 231
8. 在 C 中嵌入 Perl 254
9. 嵌入案例研究 268
10. Perl 內部結構介紹 277
11. 破解 Perl 304
A: Perl 的類型映射 324
B: 進一步閱讀 348
C: Perl API 索引 350
索引 355