3 ms·
Thanks, I'll follow up. (And fix the email link) FYI: You can do GC in WASM. I'm actively working in Blazor right now, which is C# compiled to WASM. Even thoug
by gwbas1c 5y ago
Thanks, I'll follow up. (And fix the email link)
FYI: You can do GC in WASM. I'm actively working in Blazor right now, which is C# compiled to WASM. Even though it's GC, it still relies on the Dispose pattern. (IE, if an object has a resource or needs explicit cleanup, it can't rely on the garbage collector to know when to release its resource or otherwise do its cleanup.)
But I'd be careful about being too opinionated about forcing a language onto the consumers of an API. I believe WinForms (the first C# UI API) was a thin wrapper around the Windows UI API, but I never did a Windows UI in Win32 directly to fully validate my assumption.