Unity and WebAssembly with Brett Bibby

Unity is a game engine for building 2-D and 3-D experiences, augmented reality, movies, and other applications. Unity is cross-platform, so that applications can be written once and deployed to iOS, Android, web, and other surfaces. Unity has been around for 13 years, and has grown in popularity with the rise in gaming and game development.

Brett Bibby is VP of engineering at Unity, and he joins the show to describe how Unity applications are built. Since Unity SDKs allow Unity code to run across all the different platforms, this requires writing and maintaining native code libraries for each of these devices.

When asm.js came out, Unity developers were able to deploy 3-D games to the web–these were some of the first examples of asm.js being used. Asm.js is a small, performant subset of JavaScript that other languages could compile down into. So in this case, Unity programs in C# were running in the browser after being compiled down into asm.js. Since then, WebAssembly has improved the tooling further, allowing a high-performance compilation path for non-JavaScript programs.

After exploring the basics of Unity, Brett described how Unity works with WebAssembly, and the potential for creative applications of Unity both on and off the web.

 

Show Notes

Transcript

Transcript provided by We Edit Podcasts. Software Engineering Daily listeners can go to weeditpodcasts.com/sed to get 20% off the first two months of audio editing and transcription services. Thanks to We Edit Podcasts for partnering with SE Daily. Please click here to view this show’s transcript.


Sponsors

QCon San Francisco 2018 features 18 editorial tracks with 140+ speakers from places like Uber, Google, Dropbox, Slack, Twitter, and more. At QCon, we create a platform for senior software engineers, team leads, architects, and leaders working at innovator and early adopter companies to share their stories. It goes to the heart of who we are. We simply prefer practitioners over evangelists in the speakers we bring to the conference. SED listeners can save $100 off the price of a ticket using the promo code SED100.

Backblaze is unlimited, cloud backup for Macs and PCs for just $5/month. You can use it to back up documents, music, photos, videos, drawings, projects – everything you can think of! Get the peace of mind of knowing that all your files are backed up securely in the cloud – never lose a file again. Best of all, it gives you the option to restore your files – and you can restore one file or all of them, depending on your needs – the choice is yours. Try Backblaze by getting a fully featured 15-day free trial at Backblaze.com/sed. Go there, play with it, and start protecting yourself from potential bad times. Start today.

With Brilliant.org, actively solving problems becomes an addictive interactive experience that can enhance your computer science expertise. To support Software Engineering Daily and learn more about Brilliant, go to brilliant.org/sedaily and sign up for free. And also, the first 200 people that go to that link will get 20% off the annual Premium subscription.

Leap.ai matches you with high quality career opportunities. You are more than just your skills and a job description and resume can’t fully capture who you are. Leap looks beyond these details to match you with just the right opportunities. See for yourself at Leap.ai/sedaily.