About This Title

Pages: 150
Published: February 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)

Programmer Passport: Pony

by Bruce Tate

Twenty years ago in The Pragmatic Programmer, my friend and business partner Andy Hunt and my longtime mentor Dave Thomas charged us with learning a new language every year. I took that advice and never gave up the habit. In this series we’ll learn languages together because doing so will make us better programmers. I strongly believe learning even obscure languages teaches common patterns that can be applied in your day-to-day job.

Available exclusive in partnership with our friends at grox.io


As we explore Pony together, you’re going to see a huge splash of new ideas, especially the concept of reference capabilities, an idea that allows Pony to check concurrency correctness in the compiler. Here’s how the Pony web site describes the new language: Pony is an open-source, object-oriented, actor-model, capabilities-secure, high- performance programming language.

This list might already pique your curiosity. The takes on OOP and capabilities make it pretty much fully unique among programming languages you see today. I’ll add that Pony is strongly typed with a tremendous emphasis on fully eliminating runtime errors, deadlocks, and data races.

Let’s get started.

What You Need

Resources

Releases:

Contents & Extracts

  • Pony Expressions
    • The Pony Story
    • Pony in Three Compiler Errors
    • Language Basics
    • Try It Yourself
  • Herds of Ponies
    • The Concurrency Stampede
    • Other Solutions
    • Don’t Let Dangerous Programs Compile
    • Refcaps: Revisiting the Two Laws
    • Scenario 1: Sharing References
    • Scenario 2: Isolation
    • Scenario 3: Many Readers
    • Scenario 4: Single-writer
    • Try It Yourself
  • Concurrent Programs
    • The Surfing Pony: State Machines
    • Features Supporting Promises
    • Promises: Async Meets Request/Response
    • Your Very Own Pony Collection
    • Try It Yourself
  • Chat with your Pony
    • The Chat Room Design
    • A Chat Room Client
    • A Chat Room Server
    • Try It Yourself
    • Wrapping Up

Author

Bruce A. Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He’s the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles, and has been involved with Elixir from the very beginning.

Available exclusive in partnership with our friends at grox.io

Related Titles:

About This Title

Pages: 150
Published: February 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)