You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, thank you for this amazing library. I used it everywhere in the past years.
Now, I am porting my desktop application framework to also run in browsers using Emscripten/WebAssembly.
The idea is to streamline app development and to be able to create apps that out of the box run on desktop, and in the browser.
Now, the library compiles fine in Emscripten, no issues there. However, if I run the program, I get an exception "Unable to get passwd struct". I see this is normal behavior, as it seems to call a system function, that is presumably doomed to fail in a web environment.
This is to be expected.
Now, you seem to have more knowledge than me about filesystems and file locations in general. Have you ever thought about WebAssembly or how your library would relate to browser environments?
I could just bypass the library and hard-code file locations, but do you know of any standards of file locations in a browser? Or virtual file systems?
TLDR there is nothing wrong with the library but I am wondering if you ever thought about it and how you would handle it.
The text was updated successfully, but these errors were encountered:
Hi there, thank you for this amazing library. I used it everywhere in the past years.
Now, I am porting my desktop application framework to also run in browsers using Emscripten/WebAssembly.
The idea is to streamline app development and to be able to create apps that out of the box run on desktop, and in the browser.
Now, the library compiles fine in Emscripten, no issues there. However, if I run the program, I get an exception "Unable to get passwd struct". I see this is normal behavior, as it seems to call a system function, that is presumably doomed to fail in a web environment.
This is to be expected.
Now, you seem to have more knowledge than me about filesystems and file locations in general. Have you ever thought about WebAssembly or how your library would relate to browser environments?
I could just bypass the library and hard-code file locations, but do you know of any standards of file locations in a browser? Or virtual file systems?
TLDR there is nothing wrong with the library but I am wondering if you ever thought about it and how you would handle it.
The text was updated successfully, but these errors were encountered: