F# High Performance
暫譯: F# 高效能
Eriawan Kusumawardhono
- 出版商: Packt Publishing
- 出版日期: 2017-01-20
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 338
- 裝訂: Paperback
- ISBN: 1786468077
- ISBN-13: 9781786468079
-
相關分類:
F#
海外代購書籍(需單獨結帳)
商品描述
Key Features
- Explore the advanced concurrency support in F# and .NET TPL
- Covers major optimization techniques in F# to improve the performance of applications
- Use Struct, Class and Record model, Interop with C# and VB without sacrificing performance.
Book Description
F# is a functional programming language and is used in enterprise applications that demand high performance. It has its own unique trait: it is a functional programming language and has OOP support at the same time.
This book will help you make F# applications run faster with examples you can easily break down and take into your own work. You will be able to assess the performance of the program and identify bottlenecks.
Beginning with a gentle overview of concurrency features in F#, you will get to know the advanced topics of concurrency optimizations in F#, such as F# message passing agent of MailboxProcessor and further interoperation with .NET TPL. Based on this knowledge, you will be able to enhance the performance optimizations when implementing and using other F# language features.
The book also covers optimization techniques by using F# best practices and F# libraries. You will learn how the concepts of concurrency and parallel programming will help in improving the performance. With this, you would be able to take advantage of multi-core processors and track memory leaks, root causes, and CPU issues.
Finally, you will be able to test their applications to achieve scalability.
What you will learn
- Understand how the execution of functions in F# works
- Identify common performance bottlenecks
- Implement best practices to optimize performance
- Use the available tooling to help measure performance
- Combine the best practice of asynchronous and synchronous
- Optimize further using various F# language constructs
About the Author
Eriawan Kusumawardhono is a veteran senior software development engineer (SDE) who has software development experience of more than 13 years, with 11 years of having developed in .NET, since the introduction of Visual Studio 2003. On usual working day he works at Allegro Development, a software development company, and in his spare time, he does speaking and training for software development and programming language communities in Indonesia. He is also a member of F# Foundation speaker program. He enjoys being a full-time technical polyglot software developer, mingling both OOP and functional programming at the same time.
He currently holds a Microsoft MVP award in Visual Studio development platform competency, from 2011 to 2017, for more than 5 consecutive years.
He lives in Jakarta with his wife, enjoying reading and cooking heterogeneous exotic food in Indonesia.
Table of Contents
- Performing Common Optimizations in F#
- Performance Measurement
- Optimizing Data Structures
- Introduction to Concurrency in F#
- Advanced Concurrency Support in F#
- Optimizing Type Provider
- Language Features and Constructs Optimization
- Optimizing Computation Expressions
商品描述(中文翻譯)
**主要特點**
- 探索 F# 和 .NET TPL 中的進階併發支援
- 涵蓋 F# 中的主要優化技術,以改善應用程式的性能
- 使用結構 (Struct)、類別 (Class) 和記錄 (Record) 模型,與 C# 和 VB 互操作而不犧牲性能。
**書籍描述**
F# 是一種函數式程式語言,廣泛用於需要高性能的企業應用程式。它有一個獨特的特性:同時具備函數式程式設計和物件導向程式設計 (OOP) 的支援。
本書將幫助您使 F# 應用程式運行得更快,並提供易於拆解的範例,您可以將其應用到自己的工作中。您將能夠評估程式的性能並識別瓶頸。
本書從 F# 中的併發特性簡介開始,讓您了解 F# 中的進階併發優化主題,例如 F# 的郵件箱處理器 (MailboxProcessor) 消息傳遞代理,以及與 .NET TPL 的進一步互操作。基於這些知識,您將能夠在實作和使用其他 F# 語言特性時增強性能優化。
本書還涵蓋了使用 F# 最佳實踐和 F# 函式庫的優化技術。您將學習併發和並行程式設計的概念如何幫助改善性能。這樣,您將能夠利用多核心處理器,並追蹤記憶體洩漏、根本原因和 CPU 問題。
最後,您將能夠測試應用程式以實現可擴展性。
**您將學到的內容**
- 了解 F# 中函數執行的運作方式
- 識別常見的性能瓶頸
- 實施最佳實踐以優化性能
- 使用可用的工具來幫助測量性能
- 結合非同步和同步的最佳實踐
- 使用各種 F# 語言結構進一步優化
**關於作者**
**Eriawan Kusumawardhono** 是一位資深軟體開發工程師 (SDE),擁有超過 13 年的軟體開發經驗,其中 11 年專注於 .NET,自 Visual Studio 2003 推出以來。他在 Allegro Development 這家軟體開發公司工作,並在空閒時間為印尼的軟體開發和程式語言社群進行演講和培訓。他也是 F# 基金會演講者計畫的成員。他喜歡成為全職的技術多語言軟體開發者,同時結合 OOP 和函數式程式設計。
他目前持有 Microsoft MVP 獎項,專注於 Visual Studio 開發平台能力,自 2011 年至 2017 年,連續五年獲獎。
他與妻子居住在雅加達,享受閱讀和烹飪印尼的異國美食。
**目錄**
1. 在 F# 中執行常見優化
2. 性能測量
3. 優化資料結構
4. F# 中的併發簡介
5. F# 中的進階併發支援
6. 優化類型提供者
7. 語言特性和結構的優化
8. 優化計算表達式