LibreCAD, a popular open-source 2D CAD software, has been ported to run directly in web browsers using WebAssembly. This allows users to create and edit CAD drawings without needing to install software, highlighting advancements in the WebAssembly ecosystem, though it is limited to specific browsers.
LibreCAD is a free, GPL-licensed 2D CAD application that allows users to read and write DXF and DWG files, as well as utilize features such as layers and dimensions. The new port compiles the original C++ source code to WebAssembly through Emscripten and Qt's WebAssembly support, allowing the actual desktop application to run in a browser without a server-side component.
The initial load of the WebAssembly version is approximately 18 MB compressed, and subsequent uses leverage browser caching. Currently, this port requires a recent version of Chromium-based browsers (Chrome or Edge 137+) due to reliance on WebAssembly JSPI, which is not yet available in Firefox or Safari.
This port is the result of utilizing advancements in the WebAssembly ecosystem, particularly improvements made by the Qt team. While the application functions, users are cautioned that the port may contain bugs, indicating itβs a work-in-progress rather than a fully polished solution.
This development is significant as it enables users unfamiliar with CAD software to create drawings quickly and easily without installation barriers. As the WebAssembly framework continues to mature, similar applications may emerge, enhancing web capabilities in software previously confined to desktop environments.
β¨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β check the original sources. How BrevFeed works β
LibreCAD, a popular open-source 2D CAD software, has been ported to run directly in web browsers using WebAssembly. This allows users to create and edit CAD drawings without needing to install software, highlighting advancements in the WebAssembly ecosystem, though it is limited to specific browsers.