Having trouble reading this email? View it in your browser.
New This Week

Programming WebAssembly with Rust »

WebAssembly promises fast code, type-safe at compile time, with execution in the browser or anywhere else. Rust delivers the power of C and strictly enforces type safety. Combine them and write for the web like never before. Integrate with JavaScript, run code on platforms other than the browser, and take a step into IoT. Build powerful cross-platform applications and change the way you write code for the web.

Swift Style, Second Edition »

Discover the dos and don’ts involved in crafting readable Swift code as you explore common Swift coding challenges. From spacing, bracing, and semicolons to proper API style, discover the whys behind each recommendation. Refreshed to cover Swift 4 and 5, this practical, powerful, and opinionated guide offers the best practices you need to know to work successfully in this equally opinionated programming language.

Recently Released:

 

Coming Up Next:

  • Web Development with ReasonML: Type-Safe, Functional Programming for JavaScript Developers, in print
  • A Scrum Book: The Spirit of the Game, in beta
  • Programming Ecto: Build Database Apps in Elixir for Scalability and Performance, in print
Programming WebAssembly
March 27, 2019

In sports, in music, in business, and elsewhere, mastering the fundamentals is the best path to success. It's not flashy and probably won't earn you acclaim from your peers, but taking the time to practice the basics until you internalize them yields benefits later on. Knowing what the fundamentals are and how to practice them properly is key to this process, which is where a good coach is essential.

Both of this week's new releases focus on different kinds of fundamentals. Programming WebAssembly with Rust by Kevin Hoffman details how WebAssembly takes the principles of Assembly and applies them to the web, giving you greater control and faster code than ever before. Erica Sadun's Swift Style, Second Edition addresses the basic need of using proper style in your code. Although style may seem unimportant at first glance, if you use a logical and consistent style from the beginning, your code will be clearer and more readable to the next person who has to maintain it, especially if that person is you.

Check them both out today!

Programming WebAssembly with Rust: Unified Development for Web, Mobile, and Embedded Applications

WebAssembly is more than just a revolutionary new technology. It's reshaping how we build applications for the web and beyond. Where technologies like ActiveX and Flash have failed, you can now write code in whatever language you prefer and compile to WebAssembly for fast, type-safe code that runs in the browser, on mobile devices, embedded devices, and more. Combining WebAssembly's portable, high-performance modules with Rust's safety and power is a perfect development combination.

Learn how WebAssembly's stack machine architecture works, install low-level wasm tools, and discover the dark art of writing raw wast code. Build on that foundation and learn how to compile WebAssembly modules from Rust by implementing the logic for a checkers game. Create wasm modules in Rust to interoperate with JavaScript in many compelling ways. Apply your new skills to the world of non-web hosts, and create everything from an app running on a Raspberry Pi that controls a lighting system, to a fully-functioning online multiplayer game engine where developers upload their own arena-bound WebAssembly combat modules.

Get started with WebAssembly today, and change the way you think about the web.

Now in print and shipping from pragprog.com/book/khrust.

Swift Style, Second Edition: An Opinionated Guide to an Opinionated Language

Apple's Swift programming language has finally reached stability, and developers are demanding to know how to program the language properly. Swift Style guides you through the ins and outs of Swift programming best practices. Refreshed for Swift 4 and 5, this is the best practices book for serious, professional Swift programmers and for programmers who want to shine their skills to be hired in this demanding market.

A style guide offers a consistent experience of well-crafted code that lets you focus on the code's underlying meaning, intent, and implementation. This book doesn’t offer canonical answers on Swift coding style. It explores the areas of Swift where structure comes into play. Whether you’re developing a personal style or a house style, there are always ways to enhance your code choices. You’ll find here the ideas and principles to establish or enhance your own best style practices.

Begin with simple syntactical styling. Perfect spacing and layout. Master literal initialization and typing. Strengthen code bracing for easy readability. Style your closures for safety and resilience. Optimize control flow layout and improve conditional style choices. Transition from Objective-C and move code into Swift the right way. Boost API design using proper naming and labeling. Elevate defaulted arguments and variadics to their right places. Finally, Erica offers her own broad recommendations on good coding practice.

Now available from pragprog.com/book/esswift2.

Upcoming Author Appearances

  • 2019-03-28 Kevin Hoffman, Rust LATAM 2019
  • 2019-04-09 Frances Buontempo, ACCU, Bristol UK
  • 2019-04-09 Fred Hebert, Web à Québec
  • 2019-04-10 Ethan Garofolo, OpenWest 2019
  • 2019-04-11 Frances Buontempo, ACCU, Bristol UK
  • 2019-04-18 Paolo Perrotta, RubyKaigi, Fukuoka, Japan
  • 2019-04-24 Johanna Rothman, Influential Agile Leader, Toronto
  • 2019-04-30 Colin Jones, RailsConf, Minneapolis
  • 2019-05-08 Brian MacDonald, NDC Minnesota 2019
  • 2019-05-08 Michael Keeling, SATURN 2019 in Pittsburgh, PA
  • You Could Be a Published Author

    Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our pragprog.com/write-for-us page for details, including our 50% royalty (yes, for real!) and world-class development editors.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com

    Manage your subscription using your account, or permanently unsubscribe here.
    Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615