Высокая производительность Delphi (черновик перевода глав 1-2) [Примож Габриэльчич] (fb2) читать постранично
[Настройки текста] [Cбросить фильтры]
- 1
- 2
- 3
- . . .
- последняя (93) »
Примож Габриэльчич ВЫСОКАЯ ПРОИЗВОДИТЕЛЬНОСТЬ DELPHI Создание быстрых приложений на Delphi с использованием конкурентности, параллельного программирования и управления памятью
BIRMINGHAM - MUMBAICopyright © 2018 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Merint Mathew Acquisition Editor: Nitin Dasan Content Development Editor: Nikhil Borkar Technical Editor: Jijo Maliyekal Copy Editor: Safis Editing Project Coordinator: Ulhas Kambali Proofreader: Safis Editing Indexer: Mariammal Chettiyar Graphics: Tania Dutta Production Coordinator: Deepika Naik
First published: February 2018 Production reference: 1230218 Published by Packt Publishing Ltd.
Livery Place 35 Livery Street Birmingham
B3 2PB, UK. ISBN 978-1-78862-545-6 www.packtpub.com
mapt.io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals Improve your learning with Skill Plans built especially for you Get a free eBook or video every month Mapt is fully searchable Copy and paste, print, and bookmark contentPacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.Contributors
Об авторе
Primož Gabrijelčič started coding in Pascal on 8-bit micros in the 1980s and he never looked back. In the last 20 years, he was mostly programming high-availability server applications used in the broadcasting industry. A result of this focus was the open sourced parallel programming library for Delphi—OmniThreadLibrary. He's also an avid writer and has written several hundred articles, and he is a frequent speaker at Delphi conferences where he likes to talk about complicated topics, ranging from memory management to creating custom compilers.Примож Габриэльчич начал кодировать на Паскале на 8-битных микрокомпьютерах в 1980-х годах и никогда не оглядывался назад. В последние 20 лет он в основном программировал серверные приложения с высокой доступностью(?), используемые в индустрии вещания. Результатом этого внимания стала библиотека параллельного программирования с открытым исходным кодом для Delphi — OmniThreadLibrary. Он также заядлый писатель, написал несколько сотен статей и часто выступает на конференциях Delphi, где любит говорить на сложные темы, начиная от управления памятью и заканчивая созданием пользовательских компиляторов.
About the reviewers
Stefan Glienke, since his very first steps with Turbo Pascal in school, was passionate about programming. In his spare time, he worked at a software company using Visual Basic and started learning C++ and Delphi and decided to start an apprenticeship as a software developer after graduation. Over the years, he developed an interest in software architecture and began helping fellow developers improve their skills, participating in several open source projects, such as Spring4D. He is also the author of TestInsight. Stefan has worked as reviewer on the books Coding in Delphi and Dependency Injection in Delphi. I'd like to thank Primoz for writing this incredible book and suggesting me as a technical reviewer. I'd also like to thank Nitin Dasan and Ulhas Kambali from Packt for their help and patience. Also, big thanks go to my parents who helped me with my relocation, which was happening at the same time as I was doing this review.Bruce McGee is the founder of Glooscap Software, a software development and consulting company in Toronto, Ontario. He is also a long-time Delphi user, which he continues to work with every day.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.Table of Contents
Title Page Copyright and Credits Delphi High Performance Packt Upsell Why subscribe? PacktPub.com Contributors About the author About the reviewers Packt is searching for authors like you Preface Who this book is for What this book covers To get the most out of this book Download the example code files Conventions used Get in touch Reviews About Performance What is performance? Different types of speed Algorithm complexity Big O and Delphi data structures Data structures in practice Mr. Smith's first program Looking at code through the Big O eyes Don't guess, measure! Profiling with TStopwatch Profilers AsmProfiler Sampling Profiler AQTime Nexus Quality Suite Summary Fixing the Algorithm Responsive user interfaces Updating a progress bar Bulk updates Virtual display Caching Dynamic cache Speeding up SlowCode Summary Fine-Tuning the Code Delphi compiler settings Code inlining control Optimization Record field alignment Assertions Overflow checking Range checking Extracting common expressions The helpful CPU window Behind the scenes A plethora of types Simple types Strings Arrays Records Classes Interfaces Optimizing method calls Parameter passing Method inlining- 1
- 2
- 3
- . . .
- последняя (93) »
Последние комментарии
50 минут 37 секунд назад
8 часов 55 минут назад
9 часов 15 минут назад
9 часов 40 минут назад
9 часов 44 минут назад
19 часов 14 минут назад