17.01.2015 Views

Erlang and OTP in Action.pdf - Synrc

Erlang and OTP in Action.pdf - Synrc

Erlang and OTP in Action.pdf - Synrc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

392<br />

implementation is the best practical tool you have for shav<strong>in</strong>g off microseconds, milliseconds,<br />

<strong>and</strong> depend<strong>in</strong>g on the situation even m<strong>in</strong>utes or hours off execution times.<br />

15.4 – Summary<br />

In this chapter we have covered the properties <strong>and</strong> caveats surround<strong>in</strong>g the <strong>Erlang</strong>/<strong>OTP</strong><br />

system from basic data types to complex modules <strong>and</strong> processes. This knowledge gives you<br />

the power to program cleanly from the get go, optimize usage for speed when you need to,<br />

<strong>and</strong> measure what you have done to prove that it works. There is more <strong>in</strong>formation to be<br />

read about this topic with<strong>in</strong> the <strong>Erlang</strong>/<strong>OTP</strong> documentation itself. We suggest that you do<br />

take the time to cover those docs. In either case though at this po<strong>in</strong>t with this coverage of<br />

efficiency you can really start to call yourself a well rounded <strong>Erlang</strong> programmer with the<br />

necessary tools to build <strong>and</strong> just as importantly ma<strong>in</strong>ta<strong>in</strong> real <strong>Erlang</strong> production systems.<br />

Well done.<br />

Appendix A<br />

Install<strong>in</strong>g <strong>Erlang</strong><br />

There are several ways of <strong>in</strong>stall<strong>in</strong>g <strong>Erlang</strong>, depend<strong>in</strong>g on your operat<strong>in</strong>g system <strong>and</strong> your<br />

personal preferences. <strong>Erlang</strong> currently runs on modern versions of W<strong>in</strong>dows, on Mac OS X,<br />

L<strong>in</strong>ux, <strong>and</strong> most other Unix-like operat<strong>in</strong>g systems, <strong>and</strong> on the VxWorks real-time operat<strong>in</strong>g<br />

system.<br />

©Mann<strong>in</strong>g Publications Co. Please post comments or corrections to the Author Onl<strong>in</strong>e forum:<br />

http://www.mann<strong>in</strong>g-s<strong>and</strong>box.com/forum.jspaforumID=454

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!