Minggu, 16 Desember 2012

Wow! eBook: Effective C++ in an Embedded Environment - 4 new eBooks


Wow! eBook: Effective C++ in an Embedded Environment - 4 new eBooks

Link to Wow! eBook - Blog

Effective C++ in an Embedded Environment

Posted: 16 Dec 2012 03:40 AM PST

Effective C++ in an Embedded Environment

Book Description

++’s flexibility, modelling power, support for and generic , and extensive tool set, make it attractive for embedded projects, but some developers worry about code bloat and hidden penalties. This seminar begins by confronting those issues directly, then moves on to demonstrate how ++ can improve the correctness, readability, and efficiency of embedded software, in some cases accomplishing what is literally impossible in .

Detailed topic outline

  • Overview of “Embedded C++.”
  • C++ under the hood:
    • The efficiency philosophy behind C++
    • Detailed examination of virtual function implementation under single and multiple inheritance
    • Overview of how all other language features are implemented
    • Causes of code bloat and how to address them
    • The crucial role of inlining
  • Three approaches to interface-based :
    • Virtual functions and runtime polymorphism
    • Separate compilation and link-time polymorphism
    • Templates and compile-time polymorphism
  • Applying C++ in Embedded Systems:
    • Rules for what can and cannot be ROMed
    • Memory :
      • Issues: speed, fragmentation, leaks, exhaustion
      • Static allocation
      • Dynamic allocation:
        • Writing custom versions of new and delete
        • LIFO allocation
        • Pool allocation
        • Block allocation
        • Other options: regions and variable-sized allocators
    • Modeling memory-mapped IO (MMIO):
      • Putting objects at specific addresses:
        • Placement new
        • reinterpret_cast
        • Compiler extensions
      • Modeling MMIO registers directly vs. indirectly
        • Creating shadow registers
      • Preventing common usage errors
      • Generalizing via templates
    • Implementing callbacks for C APIs (e.g., ISRs):
      • C++ functions C APIs can call
      • Linkage and exception issues
      • Approaches and their pros/cons:
        • Using virtual functions
        • Using std::tr1::function objects
    • Overview of TR1 and Boost
    • Interesting template applications:
      • Generating cost-free type-safe wrappers for void*-based code
      • Performing compile-time dimensional unit compatibility
      • Specifying finite state machines (FSMs)
  • Considerations for safety-critical and systems
  • Sources for Additional Information

Book Details

  • Paperback: 347 pages
  • Publisher: Artima Inc (October 2012)
  • Language: English
  • ISBN-10: n/a
  • ISBN-13: n/a
Note: There is a file embedded within this post, please visit this post to download the file.

Related Posts

The post Effective C++ in an Embedded Environment appeared first on Wow! eBook - Blog.

Monadic Design Patterns for the Web

Posted: 16 Dec 2012 03:39 AM PST

Monadic Design Patterns for the Web

Book Description

Complexity is a major issue facing the professional programmer today. A programmer building an -based application interacts with, on average, no less than a dozen technologies. These applications need nearly continuous operation: 24-7 availability in order to service hundreds to thousands of concurrent requests. Developers need the tools to manage that complexity and Monadic Design Patterns for the serves that need.

Monadic Design Patterns for the aims to demystify the monad. Using web applications as an example, this book will show you how you can apply monadic design patterns to help you solve practical, real-world problems. Reading this book will arm you with important techniques that will help you manage complexity.

Table of Contents
Chapter 1. Motivation and Background
Chapter 2. Toolbox
Chapter 3. An Monad for HTTP Streams
Chapter 4. Parsing Requests, Monadically
Chapter 5. The Model as Abstract Syntax
Chapter 6. Zippers and Contexts and URIs, Oh My!
Chapter 7. A Review of Collections as Monads
Chapter 8. Model, Storage, and State
Chapter 9. Putting it All Together
Chapter 10. The Semantic Web

Book Details

  • Paperback: 202 pages
  • Publisher: Artima Inc (August 2012)
  • Language: English
  • ISBN-10: n/a
  • ISBN-13: n/a
Note: There is a file embedded within this post, please visit this post to download the file.

Related Posts

The post Monadic Design Patterns for the Web appeared first on Wow! eBook - Blog.

Actors in Scala

Posted: 16 Dec 2012 03:30 AM PST

Actors in Scala

Book Description

Recent trends in computer make and parallelism an essential ingredient of efficient program execution. The actor model of allows you to express real-world in a natural way using concurrent processes that communicate via asynchronous messages.

is a language for the virtual machine, providing excellent support for both and functional . By including a powerful actor framework in its standard library, offers a compelling approach to tackle concurrent . ’s actors let you apply the actor model to the , enabling real-world solutions that are efficient, scalable, and robust.

Published by Artima, this is the first book on ’s actors, co-authored by the creator and lead maintainer, Philipp Haller, and Frank Sommers. Starting with the fundamentals of the actor concurrency model, this book offers a comprehensive tutorial on practical programming with actors in . It enables you to leverage the full power of today’s and tomorrow’s processors by describing both basic and advanced features of ’s actor framework in-depth.

Table of Contents
Chapter 1. Concurrency Everywhere
Chapter 2. Messages All the Way Up
Chapter 3. Scala’s Language Support for Actors
Chapter 4. Actor Chat
Chapter 5. Event-Based Programming
Chapter 6. Exceptions, Actor Termination, and Shutdown
Chapter 7. Customizing Actor Execution
Chapter 8. Remote Actors
Chapter 9. Distributed and
Chapter 10. Actors
Chapter 11. Overview

Book Details

  • Paperback
  • Publisher: Artima Inc (January 2012)
  • Language: English
  • ISBN-10: 0981531652
  • ISBN-13: 978-0981531656
Note: There is a file embedded within this post, please visit this post to download the file.

Related Posts

The post Actors in Scala appeared first on Wow! eBook - Blog.

Akka Concurrency

Posted: 16 Dec 2012 03:27 AM PST

Akka Concurrency

Book Description

Writing truly concurrent software on the Virtual Machine just got a whole lot easier. The Toolkit takes the sting out of coding for multiple cores, multiple processors, and even multiple machines.

will show you what it means to design and write software in the paradigm of Akka. You’ll learn how to think about your software in new and exciting ways that will allow you to express your designs naturally, allowing you to focus on the business of your software more than on the of it. This book picks up where the Akka documentation leaves off, exploring the how and the why of Akka, in a way that will empower you to grow your applications to new levels of scalability, responsiveness, and .

Table of Contents
Chapter 1. Preface
Chapter 2. Concurrency and Parallelism
Chapter 3. Set Up Akka
Chapter 4. Akka Does Concurrency
Chapter 5. Actors
Chapter 6. Akka
Chapter 7. Systems, Contexts, Paths, and Locations
Chapter 8. Supervision and DeathWatch
Chapter 9. Being Stateful
Chapter 10. Routing Messages
Chapter 11. Dispatchers and Mailboxes
Chapter 12. Coding in the Future
Chapter 13. with
Chapter 14. Going Multi-Node with Remote Actors
Chapter 15. Sharing Data with Agents
Chapter 16. Granular Concurrency with Dataflow
Chapter 17. Patterns for Akka
Chapter 18. Antipatterns for Akka
Chapter 19. Growing Your App with Add-On Modules
Chapter 20. Using Akka from
Chapter 21. Now that You’re an Akka Coder

Book Details

  • Paperback: 481 pages
  • Publisher: Artima Inc (October 2012)
  • Language: English
  • ISBN-10: 0981531660
  • ISBN-13: 978-0981531663
Note: There is a file embedded within this post, please visit this post to download the file.

Related Posts

The post Akka Concurrency appeared first on Wow! eBook - Blog.

Tidak ada komentar:

Posting Komentar