Joel Dice

Results 186 comments of Joel Dice

Status update: I've removed `TeaVMTargetType.WASI` and made `TeaVMTargetType.WEBASSEMBLY` generate a WASI module unconditionally (but see caveat below). I've also updated wasm-runtime.js to use @bjorn3's `browser_wasi_shim`, so these modules run fine...

@konsoletyper I'm guessing you're busy and that this PR isn't a high priority for you right now, which is totally understandable. For the time being, it might be best if...

Per my above comment, I've created a [friendly fork](https://github.com/fermyon/teavm-wasi) of this project and published an initial release to the Maven Central repository under the [`com.fermyon`](https://repo1.maven.org/maven2/com/fermyon/) group. I'll be using that...

> Pushed commit that attempts to fix the issue. Please, check Thanks. I just tried your commit, but the example I gave above (`Character.getNumericValue` followed by `System.gc`) still causes an...

> Ok, tried another attempt Thanks again. That seems to have fixed the test case I gave above. However, here's a more complicated example which is still broken: https://github.com/dicej/teavm-memory/blob/ae74daff091d44c66a7e9c92d0f6203655db4b36/src/main/java/Main.java I'm...

No worries -- thanks for looking into it. I'll post a PR if I can come up with a better solution.

Thanks for pointing that out -- `Address.pin` sounds useful. And if that doesn't help, I can also switch back to allocating buffers using `Memory.malloc` and copying the array contents into...

FYI, I have created temporary forks of both `mio` and `tokio` (and also `tokio-postgres`, for real-world testing), adding WASI Preview 2 support -- most notably `wasi-sockets`, which is vastly more...

> It's nice that wasi is working towards more socket options, but you say that they are still proposals, so it doesn't sound like there is anything for us to...

As I noted in my edit above, building the C# app using `-c Release` ensured that the max table size in the component was well under the default limit, but...