Название: Smaller C: Lean Code for Small Machines
Автор: Marc Loy
Издательство: O’Reilly Media
Год: 2021
Страниц: 314
Язык: английский
Формат: epub
Размер: 43.9 MB
For makers looking to use the smallest microcontrollers or to wring the highest performance out of larger ones, the C language is still the best option. This practical book provides a solid grounding in C basics for anyone who tinkers with programming microcontrollers. You'll explore the many ways C enables developers and makers to get big results out of tiny devices.
Author Marc Loy shows you how to write clean, maintainable C code from scratch. This language and its cousin, C++, are still widely used to write low-level code for device drivers or operating systems. By understanding C syntax and its quirks, you'll gain an enduring computer language literacy that will help you pick up new languages and styles more easily.
In a world where new javascript frameworks come and go almost daily, why would you dive into an aging, bare-bones language like C? Well, for one, if you hope to keep up with all those framework fads (ouch, opinion alert), you might want a background in just such aging, bare-bones technologies that provide a foundation for so many “modern” languages. Did you look up popular programming languages on a site like TIOBE and find C consistently at the top? Maybe you’re interested in the amazingly advanced video cards and want to see how the software that drives them works. Or perhaps you’re exploring newer—and much smaller—gadgets like Arduinos and heard that C is the right tool for the job.
No matter the reason, it’s great to have you here. All of those reasons are valid ones, by the way. C is a foundational language and understanding its syntax and quirks will give you a very long-lived computer language literacy that will help you pick up new languages and styles more easily. C (and its cousin C++) are still widely used when writing low-level code for device drivers or operating systems. And the Internet of Things is breathing new life into microcontrollers with limited resources. C is a great fit for wringing the most of those tiny environments.
How to Use This Book:
This book aims to cover all the basics of good C programming for any of the situations mentioned above. We’ll look at control structures, operators, functions, and other elements of C’s syntax along with examples of alternate patterns that can shave a few bytes off the size of your compiled program. We’ll also be looking at the Arduino environment as a great application for lean C code. To best enjoy the Arduino section, you should have some basic experience with building simple circuits and using components like LEDs and resistors.
Learn C fundamentals, such as data types, flow control, and functions
Explore memory management including how programs work on small devices
Understand answers provided in online forums such as Reddit or Stack Overflow
Write efficient, custom C code that's both readable and maintainable
Analyze the performance of your code and weigh optimizations
Evaluate third-party libraries for use in your own projects
Create your own libraries to share with others
Автор: Marc Loy
Издательство: O’Reilly Media
Год: 2021
Страниц: 314
Язык: английский
Формат: epub
Размер: 43.9 MB
For makers looking to use the smallest microcontrollers or to wring the highest performance out of larger ones, the C language is still the best option. This practical book provides a solid grounding in C basics for anyone who tinkers with programming microcontrollers. You'll explore the many ways C enables developers and makers to get big results out of tiny devices.
Author Marc Loy shows you how to write clean, maintainable C code from scratch. This language and its cousin, C++, are still widely used to write low-level code for device drivers or operating systems. By understanding C syntax and its quirks, you'll gain an enduring computer language literacy that will help you pick up new languages and styles more easily.
In a world where new javascript frameworks come and go almost daily, why would you dive into an aging, bare-bones language like C? Well, for one, if you hope to keep up with all those framework fads (ouch, opinion alert), you might want a background in just such aging, bare-bones technologies that provide a foundation for so many “modern” languages. Did you look up popular programming languages on a site like TIOBE and find C consistently at the top? Maybe you’re interested in the amazingly advanced video cards and want to see how the software that drives them works. Or perhaps you’re exploring newer—and much smaller—gadgets like Arduinos and heard that C is the right tool for the job.
No matter the reason, it’s great to have you here. All of those reasons are valid ones, by the way. C is a foundational language and understanding its syntax and quirks will give you a very long-lived computer language literacy that will help you pick up new languages and styles more easily. C (and its cousin C++) are still widely used when writing low-level code for device drivers or operating systems. And the Internet of Things is breathing new life into microcontrollers with limited resources. C is a great fit for wringing the most of those tiny environments.
How to Use This Book:
This book aims to cover all the basics of good C programming for any of the situations mentioned above. We’ll look at control structures, operators, functions, and other elements of C’s syntax along with examples of alternate patterns that can shave a few bytes off the size of your compiled program. We’ll also be looking at the Arduino environment as a great application for lean C code. To best enjoy the Arduino section, you should have some basic experience with building simple circuits and using components like LEDs and resistors.
Скачать Smaller C: Lean Code for Small Machines
Все материалы, представленные на нашем сайте, Вы сможете скачать по ссылкам различных бесплатных файлообменников совершенно бесплатно!
Инструкции, поясняющие, как надо качать бесплатно с файлообменников смотреть тут
Регистрация на нашем сайте позволит Вам добавлять свои книги, а также комментировать опубликованные книги, общаться с нашими авторами.
Для этого мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.