Abstract
To continue where we left off, this chapter demonstrates how C++ can be applied to embedded systems. Script languages are also examined in this chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
For all practical purposes, this calling convention can be seen as the way that the stack frame is formed, which includes the order that parameters are pushed onto the stack (from left to right or from right to left). There are two kinds of calling conventions: stdcall and cdecl. The default calling convention for your C and C++ compilers might be different.
- 2.
In its simplest form, the markup language can be a certain format convention or some predefined tags.
References
Real-Time C++, Efficient Object-Oriented and Template Microcontroller Programming. Chris Michael Kormanyos, Springer-Verlag Berlin Heidelberg, 2013
STL Tutorial and Reference Guide, C++ Programming with the Standard Template Library. David R. Musser, Gillmer J.Derge and Atul Saini, Addison-Wesley, 1996
C++ Templates: The Complete Guide. David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, November, 2002
TclDoc Info Page ( http://th-labs.de/tcldoc/TclDocInfoPage.html )
perlpod—the Plain Old Documentation format ( http://perldoc.perl.org/perlpod.html )
Doxygen ( http://www.stack.nl/~dimitri/doxygen/index.html )
Docstring conventions ( https://www.python.org/dev/peps/pep-0257/ )
The Python Library Reference, Release 3.6.0a0. Guido van Rossum and the Python development team, Python Software Foundation
SPHINX Python Documentation Generator ( http://sphinx-doc.org/ )
reStructuredText Primer ( https://docs.python.org/3.1/documenting/rest.html )
Docutils: Documentation Utilities ( http://docutils.sourceforge.net/ )
The C++ Programming Language, 4th Edition. Bjarne Stroustrup, Addison-Wesley, 2013
Effective Modern C++, 42 Specific Ways to Improve Your Use of C++11 and C++14. Scott Meyers, O’Reilly Media, 2015
C++11: Create 0 to N constexpr array in C++, Stackoverflow http://stackoverflow.com/questions/19019252/c11-create-0-to-n-constexpr-array-in-c
Generating Lookup Table Constant Expressions in C++11, Joshua Napoli’s blog, The Critical Section, Agile software development and C++ syntactic delights, http://joshuanapoli.com/blog/2012/12/generating-lookup-table-constant-expressions-in-c11/
Programming: Principles and Practice Using C++ (2nd Edition). Bjarne Stroustrup, Addison-Wesley, May, 2014
Practical Programming in Tcl and Tk (4th Edition). Brent B. Welch, Ken Jones with Jeffrey Hobbs, Prentice Hall PTR, 2003
Exploring Expect. Don Libes, O’Reilly Media, December, 1994
GITHUB: Construct a C++11 constant expression array table of generated values. Joshua Napoli, https://github.com/joshuanapoli/table
Object-Oriented Programming with ANSI-C. Axel-Tobias Schreiner, December, 1994
“Portable Inheritance and Polymorphism in C.” Miro Samek, Embedded Systems Programming, December, 1997
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Changyi Gu
About this chapter
Cite this chapter
Gu, C. (2016). Firmware Coding in the C++ and Script Languages. In: Building Embedded Systems. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1919-5_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1919-5_7
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1918-8
Online ISBN: 978-1-4842-1919-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)