Size: a a a

WebAssembly — русскоговорящее сообщество

2019 July 18

P

Parra in WebAssembly — русскоговорящее сообщество
one question guys, what can be the limitations of compiling a runtime into webasm? the filesystem, threading, and other syscalls (that arent implemented for that platform) or is it possible to find incompatibilities in the runtime itself?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
I have read about transition of python to webasm, and the main problems were that, but do you know any other runtime?
источник

VG

Victoria Guevara in WebAssembly — русскоговорящее сообщество
Parra
I didn't know that, I thought it was c++/CLI c# vb.net and asp.net and then f#, have you ever used jscript.net?
Yup. I even maged to compile some CoffeeScript v1 code into it with some manual fixing. Not stellar, but still ECMAScript we all love.
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Victoria Guevara
Yup. I even maged to compile some CoffeeScript v1 code into it with some manual fixing. Not stellar, but still ECMAScript we all love.
nice
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Parra
one question guys, what can be the limitations of compiling a runtime into webasm? the filesystem, threading, and other syscalls (that arent implemented for that platform) or is it possible to find incompatibilities in the runtime itself?
It depends on a runtime. E.g. it difficult to compile some goto/setjmp/longjump of C to wasm due to the structered control flow. You can also check marvelous WASI that provide a possibility to compile C/C++ to wasm with the limited set of imported syscalls.
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Mikhail Voronov
It depends on a runtime. E.g. it difficult to compile some goto/setjmp/longjump of C to wasm due to the structered control flow. You can also check marvelous WASI that provide a possibility to compile C/C++ to wasm with the limited set of imported syscalls.
but goto and family are just jumps, aren't they contemplated in wasm?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
also, LLVM seems to be supporting wasm, or at least I heard that, am I right?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
what do you mean by imported syscalls?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
how wasm plans to solve syscalls problem?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
at the end there will be an OS or a browser on as a platform
источник

P

Parra in WebAssembly — русскоговорящее сообщество
syscalls is an essential part
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Parra
but goto and family are just jumps, aren't they contemplated in wasm?
In wasm you can jump only to the predefined points called blocks. You can find more info in spec or in the article
источник

P

Parra in WebAssembly — русскоговорящее сообщество
without them you cannot interact with the platform
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Mikhail Voronov
In wasm you can jump only to the predefined points called blocks. You can find more info in spec or in the article
I see, thanks dude
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
In this article you can find almost all answers except about llvm
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
And it is more easy to read compare to the wasm spec
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Parra
also, LLVM seems to be supporting wasm, or at least I heard that, am I right?
Yes, and since 8.0.0 this support isn't experimental, but only llvm can't solve the problem with OS interaction. You shoud have some special libc (you can find more details on the introduction here https://medium.com/fluence-network/porting-redis-to-webassembly-with-clang-wasi-af99b264ca8) and sysroot.
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Mikhail Voronov
In this article you can find almost all answers except about llvm
ty dude
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Mikhail Voronov
Yes, and since 8.0.0 this support isn't experimental, but only llvm can't solve the problem with OS interaction. You shoud have some special libc (you can find more details on the introduction here https://medium.com/fluence-network/porting-redis-to-webassembly-with-clang-wasi-af99b264ca8) and sysroot.
I see, thanks
источник