Unisciti a noi in un viaggio nel mondo dei libri!
Aggiungi questo libro allo scaffale
Grey
Scrivi un nuovo commento Default profile 50px
Grey
Iscriviti per leggere l'intero libro o leggi le prime pagine gratuitamente!
All characters reduced
C++ in Embedded Systems - A practical transition from C to modern C++ - cover

C++ in Embedded Systems - A practical transition from C to modern C++

Amar Mahmutbegović

Casa editrice: Packt Publishing

  • 0
  • 0
  • 0

Sinossi

Transitioning from C can be daunting, with concerns about performance overhead, added complexity, and unfamiliar tooling. Addressing these challenges, Amar Mahmutbegovic, an advocate for modern C++ in embedded development, shows you how to harness zero-cost abstractions, compile-time checks, and powerful modern C++ capabilities to preserve performance while achieving safer, cleaner code. This book bridges the gap between traditional C and advanced C++, helping you retain the efficiency C developers demand while unlocking the safety and expressiveness of modern C++. Starting with a modern development environment setup, including a Docker container for seamless example replication, you’ll overcome the hurdles of using the C++ standard library in memory-constrained settings and get acquainted with the Embedded Template Library (ETL) as an alternative. The book walks you through essential C++ concepts before exploring advanced topics such as templates, strong typing, error handling, compile-time computation, and RAII. Through practical examples, you'll implement a sequencer, write a type-safe HAL, and apply patterns like Command, State, and Observer to solve common embedded development problems. By the end of this book, you’ll have learned how to apply modern C++ to develop robust, modular firmware with performance matching or exceeding hand-coded C solutions.
Disponibile da: 02/07/2025.
Lunghezza di stampa: 402 pagine.

Altri libri che potrebbero interessarti

  • Celestial Bodies - Galaxies Meteors and Stellar Evolution (3 in 1) - cover

    Celestial Bodies - Galaxies...

    Steff Jaywan

    • 0
    • 0
    • 0
    This book consists of 3 titles, which are the following: 
    Galaxies - Galaxies are dynamic entities, constantly evolving through processes like mergers, collisions, and interactions with neighboring galaxies. When galaxies merge, their stars, gas, and dust can undergo dramatic transformations, leading to the formation of new stars and restructuring of the galaxy's shape. These interactions can trigger intense bursts of star formation and feed supermassive black holes at the galaxies' centers, leading to the emission of powerful jets of radiation. 
    Meteors - Meteors, also known as shooting stars, are remnants of comets or asteroids that orbit the Sun. When these objects cross Earth's path, they enter the atmosphere at high speeds, often exceeding 25,000 miles per hour (40,000 kilometers per hour). As they travel through the atmosphere, the air resistance causes them to heat up and vaporize, creating the bright streaks of light we observe. 
    Stellar Evolution - Stellar evolution refers to the process by which a star changes over the course of time. This field of astrophysics studies the formation, life, and death of stars, which involves a series of complex physical processes and transformations. Here, we outline the key stages and concepts in stellar evolution.
    Mostra libro
  • Volcanology - The Fiery Mountains of Earth - cover

    Volcanology - The Fiery...

    Mike Crawford

    • 0
    • 0
    • 0
    Volcanoes have long captured the human imagination, evoking awe and fear in equal measure. These mighty forces of nature, with their explosive eruptions and slow, relentless lava flows, seem to embody the raw power of the Earth itself. For centuries, volcanoes have inspired myths, legends, and scientific curiosity. They are a reminder of the dynamic nature of our planet and the complex forces shaping its surface. From ancient cultures that viewed volcanoes as the homes of gods, to modern scientists who study them to better understand the planet’s inner workings, the fascination with these fiery mountains persists. 
    Volcanoes are among the most visible and dramatic expressions of the Earth’s geological processes. They form when molten rock, or magma, from beneath the Earth's crust escapes to the surface, often resulting in the creation of new landforms. This natural phenomenon is not only awe-inspiring but also offers insights into the fundamental processes of plate tectonics and the movement of the Earth’s lithosphere. The eruption of a volcano, whether it’s a gentle release of lava or a violent explosion that sends ash and gas into the atmosphere, can alter the landscape and climate in profound ways.
    Mostra libro
  • The Birth of the Internet – A Digital Revolution - How Innovation Machines and Factories Transformed the World - cover

    The Birth of the Internet – A...

    Carter Reed

    • 0
    • 0
    • 0
    The world we live in today—one of skyscrapers, mass production, and global trade—was born from one of history’s greatest transformations: the Industrial Revolution. But how did we go from handcrafting goods to building massive factories, steam-powered locomotives, and electric cities? 
    This audiobook takes you deep into the story of the Industrial Revolution, uncovering its inventions, economic impact, and the people who drove progress forward. Discover: 
    ✅ How steam engines, textile mills, and railroads reshaped economies 
    ✅ The key figures behind industrial breakthroughs, from James Watt to Henry Ford 
    ✅ The social effects of urbanization, child labor, and factory life 
    ✅ How the Industrial Revolution paved the way for the modern technological era 
    The Industrial Revolution – The Birth of Modern Society is a must-listen for history lovers, technology enthusiasts, and anyone fascinated by the forces that shaped today’s world.
    Mostra libro
  • Maladies of Empire - How Colonialism Slavery and War Transformed Medicine - cover

    Maladies of Empire - How...

    Jim Downs

    • 0
    • 0
    • 0
    Most stories of medical progress come with ready-made heroes. John Snow traced the origins of London's 1854 cholera outbreak to a water pump, leading to the birth of epidemiology. Florence Nightingale's contributions to the care of soldiers in the Crimean War transformed hospitals from crucibles of infection to sanctuaries of recuperation. Yet histories of individual innovators ignore many key sources of medical knowledge. 
     
     
     
    Reexamining the foundations of modern medicine, Jim Downs shows that the study of infectious disease depended crucially on the unrecognized contributions of nonconsenting subjects—conscripted soldiers, enslaved people, and subjects of empire. Plantations, slave ships, and battlefields were the laboratories in which physicians came to understand the spread of disease. Military doctors learned about the importance of air quality by monitoring Africans confined to the bottom of slave ships. Statisticians charted cholera outbreaks by surveilling Muslims in British-dominated territories returning from their annual pilgrimage. 
     
     
     
    The scientific knowledge derived from discarding and exploiting human life is now the basis of our ability to protect humanity from epidemics. Boldly argued and eye-opening, Maladies of Empire gives a full account of the true price of medical progress.
    Mostra libro
  • Metal Detecting - Tips Techniques and Tools - cover

    Metal Detecting - Tips...

    Sophie Henner

    • 0
    • 0
    • 0
    Metal detecting involves using a metal detector, an electronic device designed to find metal objects nearby. These devices vary in form, from handheld wands to large industrial machines. The main components of a metal detector include the control box, which houses the electronic circuitry, controls, and batteries; the search coil, also known as the antenna, which senses metal objects; the shaft, which connects the search coil to the control box and is often adjustable for comfort; and sometimes a stabilizer to keep the unit steady during use. 
      
    The search coil generates an electromagnetic field, and when this field encounters a metal object, it creates a disturbance. The control box processes this disturbance and sends a signal to the user, typically an audible beep or a visual display. Metal detecting is used for various purposes, including treasure hunting, where individuals search for coins, jewelry, relics, and other valuable items lost or buried; archaeology, to locate historical artifacts at dig sites; security, for scanning individuals or luggage for concealed weapons or contraband; and construction, to detect metal pipes or rebar in walls, floors, or underground. It is also a popular hobby for enthusiasts who explore parks, beaches, and other areas for interesting finds.
    Mostra libro
  • The Seaweed Revolution - Uncovering the Secrets of Seaweed and How It Can Save the Planet - cover

    The Seaweed Revolution -...

    Vincent Doumeizel

    • 0
    • 0
    • 0
    Of all the unexploited resources in the world, seaweed is the greatest. Without it, there would be no crustaceans, nor fish. The ocean would be a desert without carbon or oxygen, and half of our atmosphere’s oxygen would be gone.  
    The most recent research tells us that seaweed is one possible solution for our future on the planet. It could feed human beings, reduce plastic pollution, absorb enough carbon to cool the atmosphere, reconstruct generative ecosystems, treat certain illnesses that are incurable today, replace land livestock farming that exhausts the environment, and give jobs to coastal populations. 
    The seaweed revolution is a hope for tomorrow!
    Mostra libro