• Complain

Mike Rourke - Learn WebAssembly: Build web applications with native performance using Wasm and C/C++

Here you can read online Mike Rourke - Learn WebAssembly: Build web applications with native performance using Wasm and C/C++ full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Packt Publishing, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Learn WebAssembly: Build web applications with native performance using Wasm and C/C++
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2018
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Learn WebAssembly: Build web applications with native performance using Wasm and C/C++: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learn WebAssembly: Build web applications with native performance using Wasm and C/C++" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The first definitive guide on WebAssembly to help you break through the barriers of web development and build an entirely new class of performant applications

Key Features
  • Generate WebAssembly modules from C and C++ using Emscripten and interact with these modules in the browser
  • Learn how to use WebAssembly outside of the browser and load modules using Node.js
  • Build a high performance application using C and WebAssembly
Book Description

WebAssembly is a brand new technology that represents a paradigm shift in web development. This book will teach you how to leverage this technology to write high performance applications that run in the browser. Youll be introduced to powerful WebAssembly concepts that will help you write lean and powerful web applications with native performance. Learn WebAssembly begins by getting you acquainted with the evolution of web programming, the state of things today, and what can be done with the advent and release of WebAssembly. Youll then take a look at the journey from JavaScript to asm.js to WebAssembly. As you progress, youll analyze the anatomy of a WebAssembly module and the relationship between binary and text formats, along with the corresponding JavaScript API. Further on, youll implement all the techniques youve learned to build a high performance application using C and WebAssembly, and then port an existing game written in C++ to WebAssembly using Emscripten.

By the end of this book, you will be well-equipped to create high performance applications and games for the Web using WebAssembly.

What you will learn
  • Understand how WebAssembly and its associated elements (text format, module, and the JavaScript API) came to be
  • Create, load, and debug a WebAssembly module (editor and compiler/toolchain)
  • Build a high performance application using C and WebAssembly
  • Extend WebAssemblys feature set using Emscripten by porting a game written in C++
  • Explore the upcoming features of WebAssembly, Node.js integration, and alternative compilation methods
  • Port an existing C++ game to WebAssembly using Emscripten
Who this book is for

If you are a web developer or C/C++ programmer keen to leverage the powerful WebAssembly to build high performance web applications, this book is for you.

Table of Contents
  1. What is WebAssembly?
  2. Elements ofWebAssembly Wat, Wasm, and the JavaScript API
  3. Development Workflow, Tooling, and Configuration
  4. Installing the Required Dependencies
  5. Creating and Loading aWebAssembly Module
  6. Interacting with JavaScript and Debugging
  7. Creating an Application from Scratch
  8. Porting a Game with Emscripten
  9. Integrating with Node.js
  10. Advanced Tools and Upcoming Features

Mike Rourke: author's other books


Who wrote Learn WebAssembly: Build web applications with native performance using Wasm and C/C++? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learn WebAssembly: Build web applications with native performance using Wasm and C/C++ — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learn WebAssembly: Build web applications with native performance using Wasm and C/C++" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learn WebAssembly Build web applications with native performance using - photo 1
Learn WebAssembly

Build web applications with native performance using Wasm and C/C++
Mike Rourke

BIRMINGHAM - MUMBAI Learn WebAssembly Copyright 2018 Packt Publishing All - photo 2

BIRMINGHAM - MUMBAI
Learn WebAssembly

Copyright 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Kunal Chaudhari
Acquisition Editor: Trusha Shriyan
Content Development Editor: Aishwarya Gawankar
Technical Editor: Surabhi Kulkarni
Copy Editor: Safis Editing
Project Coordinator: Sheejal Shah
Proofreader: Safis Editing
Indexer: Priyanka Dhadke
Graphics: Alishon Mendonsa
Production Coordinator: Nilesh Mohite

First published: September 2018

Production reference: 1240918

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78899-737-9

www.packtpub.com

To my beautiful and infinitely patient wife, Elisabeth. I couldn't have done this without your love and support. To all the members of my wolf pack, howl.
maptio Mapt is an online digital library that gives you full access to over - photo 3
mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?
  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

  • Improve your learning with Skill Plans built especially for you

  • Get a free eBook or video every month

  • Mapt is fully searchable

  • Copy and paste, print, and bookmark content

PacktPub.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.

At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors
About the author

Mike Rourke has been writing code for over a decade. He got his start creating Microsoft Access applications using VBA and decided he wanted to work with JavaScript full-time after building a Mozilla Firefox extension. He has a B.S. in mechanical engineering technology and worked primarily in product design/manufacturing engineering roles before starting a career as a software engineer in 2017. Currently, he works for a Chicago-based consulting company and is focused primarily on frontend JavaScript development. When's he not writing code, he's out in the woods camping with his wolf brothers.

I would like to thank my wife, Elisabeth, for her love and support. I would also like to thank my colleagues at Pandera Labs for their enthusiasm, support, and valuable suggestions.
About the reviewers

Dan Ruta is a fresh graduate, about to start an MSc in computer vision. He got started with WebAssembly by implementing a small web-based deep learning library, and messing around with WebAssembly and GPGPU.

Other publications he has worked on include occasional technical blogs on Medium, and a team research paper combining AI, AR, and WebGL shaders to assist the visually impaired, which he presented at a conference.

His projects can be followed on GitHub and Medium (DanRuta), or on his website and tweets (Dan_Ruta).

Maxim Shaydo aka Moreas MaxGraey is an independent developer, consultant, system architect from Ukraine, he has worked with at LaSoft as a CTO and is a big fan of open source community.

He continues to be an enduring contributor for open source projects dedicated to WebAssembly, such as AssemblyScript language that has been gaining a lot of attention lately. He happens to be very interested in development of WebGL, WebVR technologies, and Flow Based Programming as well.

This project could not have been completed without being reviewed by Alon Zakai (kripken) known for his work on emscripten and binaryen. Special thanks to Daniel Wirtz (dcodeIO) who is the main contributor of AssemplyScript and an incredibly productive mate. Last but not the least, I would like to thank my parents Mr. and Mrs Shaydo, without them none of this would indeed be possible.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.

Preface

This book introduces readers to WebAssembly, a new and exciting technology capable of executing languages other than JavaScript in the browser. The book describes how to build a C/JavaScript application from scratch that uses WebAssembly and the process for porting an existing C++ code base to run in the browser with the help of Emscripten.

WebAssembly represents an important shift for the web platform. As a compilation target for languages such as C, C++, and Rust, it provides the ability to build a new class of application. WebAssembly is supported by all of the major browser vendors and represents a collaborative effort.

In this book, we'll describe the elements that make up WebAssembly, as well as its origins. We'll walk through the process of installing the required tools, setting up a development environment, and interacting with WebAssembly. We'll work through simple examples and progress through increasingly advanced use cases. By the end of this book, you'll be well-equipped to use WebAssembly in your C, C++, or JavaScript project.

Who this book is for

If you are a C/C++ programmer who wishes to build applications for the web, or a web developer who wishes to improve the performance of their JavaScript applications, then this book is for you. The book is intended for developers familiar with JavaScript who wouldn't mind learning some C and C++ (and vice versa). This book accommodates for C/C++ programmers and JavaScript programmers alike by providing two example applications.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learn WebAssembly: Build web applications with native performance using Wasm and C/C++»

Look at similar books to Learn WebAssembly: Build web applications with native performance using Wasm and C/C++. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learn WebAssembly: Build web applications with native performance using Wasm and C/C++»

Discussion, reviews of the book Learn WebAssembly: Build web applications with native performance using Wasm and C/C++ and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.