Developer Working on Browser Port of KiCad EDA Software Using WebAssembly
By
david927
A baker's-dozen of insight crammed into one ring.
Summary
A developer is working on porting KiCad, an open-source electronics design automation software, to run in web browsers using WebAssembly. The project involves significant challenges with multithreading, debugging race conditions, and adapting the WxWidgets framework for browser compatibility. The developer has made progress with about 200 tests passing and a working browser build, but continues to face technical hurdles with Web Workers and asyncify transitions.
Key quotes
· 4 pulledI'm working on porting KiCad to the browser. It's a lot of sweat and tears, multithreading issues and some more sweat.
I've updated a port of WxWidgets and now I support all the features KiCad needs with ~200 tests.
Right now I have a build that loads in the browser, but I really want to have 'multithreading' which means workers in the web.
One can use asyncify with emscripten to translate blocking C++ to WASM, but that transition is not perfect, right now I'm debugging a bug where there's a race condition that halts all execution and the main thread runs in an infinite loop.
You might also wanna read
WebSparks: An AI-Powered Tool for Building Web Applications Without Extensive Coding
WebSparks is an AI-powered software engineer that transforms ideas into fully functional web applications without requiring extensive coding
innovirtuoso.com·16h agoJoost de Valk publishes open Website Specification: 128 rules for modern, future-proof websites
Joost de Valk, creator of Yoast SEO, published the Website Specification (specification.website) — an open, platform-agnostic reference docu
ZX Spectrum BASIC interpreter rebuilt from scratch to run natively in web browsers
A developer has rebuilt the ZX Spectrum's BASIC interpreter from scratch to run in a web browser, without emulating the original Z80 hardwar
How to Set Up an Apache Reverse Proxy for an Ecommerce Website
This article provides a comprehensive, start-to-finish guide on setting up an Apache reverse proxy specifically for ecommerce websites. It c
blog.radwebhosting.com·2d agoImplementing live text search in React with Firestore Enterprise's built-in search pipeline
Firebase's Firestore Enterprise edition now includes built-in text search support. This article demonstrates how to implement live text sear
firebase.blog·2d agowterm: A DOM-based Web Terminal Emulator Powered by Zig and WebAssembly
wterm is a web-based terminal emulator that renders directly to the DOM, providing native text selection, copy/paste, find functionality, an
