Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm reply #220

Open
long0419 opened this issue Aug 19, 2023 · 2 comments
Open

wasm reply #220

long0419 opened this issue Aug 19, 2023 · 2 comments

Comments

@long0419
Copy link

long0419 commented Aug 19, 2023

The Mayo application has encountered several performance issues on the Windows client, and in some cases, it's even incompatible after installation. This client is primarily intended for 3D file format previewing, including interactions with 3D files. WebAssembly (wasm), aside from being cross-platform and independent of the underlying operating system, offers excellent zero-copy functionality and performs well in file rendering.

@HuguesDelorme I can contribute to this project if possible. Rewriting it in Rust could also be a good option.

Originally posted by @long0419 in #160 (comment)

@long0419 long0419 changed the title The Mayo application has encountered several performance issues on the Windows client, and in some cases, it's even incompatible after installation. This client is primarily intended for 3D file format previewing, including interactions with 3D files. WebAssembly (wasm), aside from being cross-platform and independent of the underlying operating system, offers excellent zero-copy functionality and performs well in file rendering. wasm reply Aug 19, 2023
@HuguesDelorme
Copy link
Member

How wasm port of Mayo can be faster than current native app?
Can you please elaborate more on the performance issues of the Windows version of Mayo? And also the issues after installation? Maybe these problems can be fixed.
If it's about STEP file format there's nothing to be done about it as support is provided by OpenCascade 3rdparty library. Rust won't be of any help also for that.

@long0419
Copy link
Author

long0419 commented Aug 20, 2023

For the Windows version, it's not just about its current state. To make this app more successful, focusing on its extensibility is important. OpenCascade itself might not be ideal, perhaps limited to general format conversion. There are numerous ways to achieve compatibility and display STEP format. The strongest suit of this system lies in its approach to 3D file manipulation. I aim to transform this functionality into a web-based approach, avoiding the use of three.js.

Can you tell me specific methods to compile this code local?

Sure, I'll take a look at the repository you provided to gain a better understanding of the context. https://github.com/EYHN/space-thumbnails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants