Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    DWC with Qt WebAssembly

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    3
    5
    261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoergS5undefined
      JoergS5
      last edited by JoergS5

      I am currently thinking about how to develop for DWC, but avoiding double coding C++ and JavaScript. One idea which emerged was Qt WebAssembly, which uses C++ code and let run it inside a web server. It should be possible to run it inside DWC. Qt has dual license, including GPL or LGPL (Qt has LGPL, but WebAssembly seems to be GPL only), so it should be allowed to link it with DWC. An idea is to make a link between OpenScad (which uses Qt) and DWC to transfer models between OpenScad and DWC.

      • is this a direction which is in the interest of the Duet team?
      • are there argumens against this solution?

      About WebAssembly eg https://doc-snapshots.qt.io/qt6-dev/wasm.html

      dc42undefined chrishammundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @JoergS5
        last edited by

        @JoergS5 I can' really comment on that, but it may be of interest to you that in version 3.5 of DWC the Javascript has been rewritten in Typescript.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        JoergS5undefined 1 Reply Last reply Reply Quote 0
        • JoergS5undefined
          JoergS5 @dc42
          last edited by

          @dc42 thank you for this information. Type safety is always a good idea.

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @JoergS5
            last edited by

            @JoergS5 You can develop a custom DWC plugin to embed custom WASM content but I don't want to add this to the core since we need to support standalone as well as SBC mode. A .NET alternative to Qt WebAssembly could be Blazor, which does basically the same thing, but is free-to-use AFAIK.

            Duet software engineer

            JoergS5undefined 1 Reply Last reply Reply Quote 0
            • JoergS5undefined
              JoergS5 @chrishamm
              last edited by

              @chrishamm ok, thanks, so I will stay at the current solutions for the moment, as Blazor is C# based.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA