AutoCAD & WebAssembly: Moving a 30 Year Code Base to the Web(英语演讲)



嘉宾 : Kevin Cheung | AutoDeskSoftware Architect

会议室 : 大宴会厅3


专题演讲嘉宾:Kevin Cheung

AutoDesk Software Architect

Kevin is a software developer with the AutoCAD team and his main interest is in C++ and Web development. For the last few years, he has been focusing on using Emscripten to port C++ projects to asm.js and now WebAssembly. Kevin enjoys spending time with his family and studying the Bible. 



演讲:AutoCAD & WebAssembly: Moving a 30 Year Code Base to the Web(英语演讲)

AutoCAD is a computer-aided design desktop software application that was first released in 1982. With the advent of the internet age, there comes a need to extend AutoCAD's capabilities to the browser. However, the massive, complex, and constantly changing code base makes it impractical to rewrite everything in JavaScript. Therefore, the question remains: Can we really find an elegant way to leverage AutoCAD on the Web?

Enter WebAssembly! A compilation target for languages such as C/C++ that runs on modern browsers. For the first time in history, legacy code bases can now run on the Web at near native speed with the help of the Emscripten compiler. Nevertheless, there are mismatches between the programming paradigms of the desktop and Web world which greatly complicate the porting effort. Some of these include the use of synchronous blocking calls and shared memory on the desktop.

The goals of this session are two-fold. Firstly, the solutions for overcoming the above challenges will be explored in the context of existing Web APIs. Secondly, both the build time and performance implications of porting such a large code base will be addressed as well. As such, this talk will be helpful for developers who aspire to reuse their legacy software on the Web.


© 2020 Baidu - GS(2019)5218号 - 甲测资字1100930 - 京ICP证030173号 - Data © 长地万方