kawamuray / wasmtime-java

Java or JVM-language binding for Wasmtime
Apache License 2.0
127 stars 29 forks source link

do support type string? #16

Open baisijian opened 3 years ago

baisijian commented 3 years ago

do support type string?

kawamuray commented 3 years ago

What do you mean by "type string"?

zageyiff commented 2 years ago

I think what he/she means is if wasmtime-java supports high level java types like java.lang.String into WASM. Similar as what as-bind does for AssemblyScript, for example allows to pass js strings as parameter into a WebAssembly module.

I'm interested in knowing as well.

kawamuray commented 2 years ago

Thanks for complementing the question @zageyiff. In that regard, no wasmtime-java doesn't provide such special type support for string.

wasmtime-java project intends to provide equivalent APIs offered by wasmtime (rust) to Java, and any richer APIs to make it easier for using in real applications can be built on top of it I suppose.