Minsoo

Results 41 comments of Minsoo

After much time passes, I feel more confident on zig now. I do not think they should be explained. However, I still think that some common operators would be introduced....

1. It doesn't work... The new error says: `TypeError: Cannot read properties of undefined (reading 'length') at http://127.0.0.1:5500/figlet.js:719:37` 2. I am not familiar with unit tests, but I can make...

Compiling pyxel to webassembly is a very tricky task. The pyxel core uses SDL and is written in Rust. We also need to write python code to make a game....

I tried several attempts to compile pyxel to the wasm32 target. However, there are many obstacles. First, we should use the `wasm32-unknown-emscripten` target. `wasm32-unknown-unknown` lacks many std libs and OS...

After several months, I managed to compile the only engine of pyxel. the Python binding part is not compiled yet. ![image](https://user-images.githubusercontent.com/20869932/167562348-7514228e-47d9-444e-a26f-af62a3cfebe0.png) This is the compiled version of `test_pyxel.rs` It works....

@messense It's awesome! Did you tested compiled code?

Building a `pyxel` wheel with `maturin` is incredible. I'm just curious how `maturin` detects appropriate environment variables. I thought that `PyO3` needs to be configured when cross-compiling. Does it cross-compile...

If the current missing symbol issue resolves, then we may change the loops. Pyxel uses loops in `engine/system.rs`. [run, show](https://github.com/kitao/pyxel/blob/2817e5cd9fff0dfa62f3a6349a11018520d42fa7/lib/engine/src/system.rs#L88) and [wait](https://github.com/kitao/pyxel/blob/2817e5cd9fff0dfa62f3a6349a11018520d42fa7/lib/engine/src/system.rs#L208). However, [these loops may make the app hang](https://emscripten.org/docs/getting_started/FAQ.html#why-does-my-html-app-hang)....

Current status: https://github.com/pyodide/pyodide/issues/2964 was resolved. (Thank you, @messense and hoodname!) To run the wheel properly, we must use `pyodide` with some patches. In [Makefile.envs](https://github.com/pyodide/pyodide/blob/main/Makefile.envs#L98-L109), we add `-s USE_SDL=2` and `-s...

For now, a few examples work. The problems that I mentioned were not solved yet, but I built some examples. These examples are: - Using `filp()` only. Because of browser...