Open apowers313 opened 1 year ago
Nethack has the ability to cross-compile to a Web Assembly (WASM) module that provides a windowing API for rendering maps, displaying messages, displaying attributes, etc. Python has a Wasmer library that can run WASM modules.
I'd like to suggest that NLE use WASM rather than the Nethack C code.
[disclaimer: I wrote the Nethack WASM port]
I'd be happy to create a PR to ditch all the C code in this repo and replace it with a WASM module. I'm not sure how hard it would be to keep backwards compatibility with existing gym Spaces.
Create an alternative gym environment.
🚀 Feature
Nethack has the ability to cross-compile to a Web Assembly (WASM) module that provides a windowing API for rendering maps, displaying messages, displaying attributes, etc. Python has a Wasmer library that can run WASM modules.
I'd like to suggest that NLE use WASM rather than the Nethack C code.
[disclaimer: I wrote the Nethack WASM port]
Motivation
Pitch
I'd be happy to create a PR to ditch all the C code in this repo and replace it with a WASM module. I'm not sure how hard it would be to keep backwards compatibility with existing gym Spaces.
Alternatives
Create an alternative gym environment.