
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
اصول بنیادی Cython را بیاموزید تا برنامههای قدیمیتان را گسترش دهید.
ویژگیهای کلیدی
[•]یاد بگیرید چطور برنامههای C را با کد خالص پایتون گسترش دهید
[•]از پایتون بیشتر بهره ببرید — نه فقط Cython را یاد میگیرید، بلکه درک عمیقتری از نحوهٔ بهکارگیری پایتون هم پیدا میکنید
[•]پر از نکتهها و ترفندهایی که کار با Cython را آسان نشان میدهد؛ وارد این راهنمای سادهٔ برنامهنویسی شوید و ببینید وقتی C و پایتون کنار هم قرار میگیرند چه میشود!
دربارهٔ کتاب
Cython یک زبان برنامهنویسی ترکیبی است که برای نوشتن افزونههای C برای زبان پایتون به کار میرود. با ترکیب راحتی پایتون و سرعت و سادگی زبان C، زبانی جذاب است که اگر بخواهید با آسانی برنامههای سریع بسازید، ارزش یادگیری دارد. این ویرایش تازهٔ کتاب «یادگیری برنامهنویسی Cython» به شما نشان میدهد از کجا شروع کنید و اصول پایه را مرور میکند تا بتوانید قدرتهای منحصربهفرد آن را تجربه کنید. ابتدا با راهاندازی آشنا میشوید و بعد رابطهٔ بین پایتون و Cython را بررسی میکنید. همچنین دیباگ کردن Cython را میبینید و سپس به ساختارهای C++، نکات احتیاطی در استفاده از C++، نخبندی پایتون و GIL در Cython میپردازید. در پایان، مقداردهی اولیهٔ اشیا و زمان کامپایل را یاد میگیرید و درک عمیقتری از پایتون ۳ پیدا میکنید؛ در نتیجه نه فقط یک توسعهدهندهٔ مطمئن Cython میشوید، بلکه در پایتون هم روانتر کار میکنید.
آنچه یاد میگیرید
[•]استفادهٔ مجدد از سیستم لاگ پایتون در C
[•]ساخت یک ربات IRC از روی برنامهٔ C خودتان
[•]گسترش یک برنامه طوری که وبسروری برای فراخوانیهای REST داشته باشید
[•]تمرین Cython روی کد C++ خودتان
[•]ترفندهایی برای کار با ConfigParser پایتون در C
[•]ساخت بایندینگهای پایتون برای کتابخانههای بومی
[•]آشنایی با نخبندی و همزمانی مرتبط با GIL
[•]گسترش ترمینال مالتیپلکسر Tmux با Cython
این کتاب برای چه کسانی است
این کتاب برای توسعهدهندگانی است که با مبانی برنامهنویسی C و پایتون آشنا هستند و میخواهند برنامهنویسی Cython را یاد بگیرند تا برنامههایشان را گسترش دهند.
Learn the fundamentals of Cython to extend the legacy of your applicationsKey Features[•]Learn how to extend C applications with pure Python code[•]Get more from Python – you'll not only learn Cython, you'll also unlock a greater understanding of how to harness Python[•]Packed with tips and tricks that make Cython look easy, dive into this accessible programming guide and find out what happens when you bring C and Python together!Book DescriptionCython is a hybrid programming language used to write C extensions for Python language. Combining the practicality of Python and speed and ease of the C language it's an exciting language worth learning if you want to build fast applications with ease. This new edition of Learning Cython Programming shows you how to get started, taking you through the fundamentals so you can begin to experience its unique powers. You'll find out how to get set up, before exploring the relationship between Python and Cython. You'll also look at debugging Cython, before moving on to C++ constructs, Caveat on C++ usage, Python threading and GIL in Cython. Finally, you'll learn object initialization and compile time, and gain a deeper insight into Python 3, which will help you not only become a confident Cython developer, but a much more fluent Python developer too. What you will learn[•]Reuse Python logging in C[•]Make an IRC bot out of your C application[•]Extend an application so you have a web server for rest calls[•]Practice Cython against your C++ code[•]Discover tricks to work with Python ConfigParser in C[•]Create Python bindings for native libraries[•]Find out about threading and concurrency related to GIL[•]Expand Terminal Multiplexer Tmux with CythonWho this book is forThis book is for developers who are familiar with the basics of C and Python programming and wish to learn Cython programming to extend their applications.