Menu

Rust rewrite with VSCode extension based on WebAssembly

2023-12-12
2023-12-12
  • Richard Lincoln

    Richard Lincoln - 2023-12-12

    Dear All,

    I have been working on a rewrite of OpenDSS using the Rust programming language. I published a VSCode extension that embeds a WebAssembly version of my program to demonstrate it:

    https://marketplace.visualstudio.com/items?itemName=rwl.vscode-ckt

    The extension is compatible with web-based instances of VSCode, if you don't have the desktop version installed:

    https://vscode.dev

    The OpenDSS Scripting Language proved a lot of effort to support. Instead, I devised a file format based on CSV and JSON files:

    https://github.com/cktcsv

    Only some simple solution modes have been implemented so far. My aim has been to get it to a point that I could demonstrate some of the potential. A cross-platform, memory-safe, multi-threaded implementation with idiomatic language bindings, web support, dependency management and IDE/GIS integration is an exciting prospect.

    If you are interested in a Rust version of OpenDSS and would like to support this work please do not hesitate to contact me.

    Yours sincerely,

    Richard Lincoln

     
    • Davis Montenegro

      Hello,

      Great, it looks like a very fun implementation, Congrats! However, for distribution I recommend considering the license agreement that comes with the code (attached).

      Best regards,

      Davis

       

Log in to post a comment.