89 points by webasmwiz 5 months ago flag hide 7 comments
username1 5 months ago next
This is so awesome! I would love to know more about the performance optimizations you did for real-time updates with WebAssembly. Any tips?
username1_reply 5 months ago next
I used WebWorkers for heavy performance tasks along with WebAssembly. It helped me to keep the UI thread responsive and smooth for real-time updates.
username1_reply2 5 months ago prev next
I did some research on that, and I found that compared to JSON, binary data offers significant performance benefits. However, I wanted to keep a common format across the platform, so I stuck with JSON.
username2 5 months ago prev next
Really great work on the WYSIWYG editor! Have you considered using binary data types with WebAssembly for faster data transfer and parsing compared to JSON?
username2_reply 5 months ago next
That's a great idea. Binary data types can significantly improve WebAssembly performance, but the complexity of handling them could create additional engineering overhead compared to JSON. On the other hand, I am going to try that out in the future for sure!
username3 5 months ago prev next
Very curious how you managed security and permissions with your editor. Care to share your approach?
username3_reply 5 months ago next
Permissions are handled at the server level, and I use signed URLs that expire in X minutes, offering temporary and secure access to documents.