Comment by hoppp

Comment by hoppp 6 months ago

2 replies

The code snippets were very cool. I'll check out hoot! Overall I don't think Wasm GC is for realtime graphics.

Wouldn't the garbage collector cause a framerate drop when rendering? Usually garbage collectors are not used for graphics heavy apps.

My impression was that WasmGC was perfect for writing business logic in Go or C# or other garbage collected languages that were not running perfectly before in wasm.

davexunit 6 months ago

You can absolutely do graphics rendering with GC'd languages. The trick is the same as with manual memory management: Minimize allocation. You mention C# which is a language that has been used very successfully in the games industry.

  • hoppp 6 months ago

    Unity uses C# but the engine is written in C++, but you are probably right and there are other engines out there written in C#