Size: a a a

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

2019 July 17

VG

Victoria Guevara in WebAssembly — русскоговорящее сообщество
でゲソ
And it's not a JavaScript
It's compatible derivative.
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Parra
quickjs is just js to c (or binary) compiler
I compiled the pi.js from examples with qjsc -e and obtained this result: https://gist.github.com/michaelvoronov/ea513bb8fbea454ec389a0a6e8e4a47e#file-quickjs_pi-c-L164. So, it seems that more precise, to say that quickjs translates js to some special bytecode format (https://github.com/ldarren/QuickJS/blob/5c9d67e87abd127266a92e7787df922f44b895e9/quickjs-opcode.h#L67), embeds it into C file that includes engine libs and calls js_std_eval_binary in main. In its way, this function interprets instruction by instruction (you can find the source code in JS_CallInternal function of quickjs.c).
источник

ҪҸ

Ҫѐҏӗѫӑ Ҹҋ 🤖 in WebAssembly — русскоговорящее сообщество
so quick.js is an interpreter
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
And yes, there is no JIT
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Ҫѐҏӗѫӑ Ҹҋ 🤖
so quick.js is an interpreter
+1
источник

ҪҸ

Ҫѐҏӗѫӑ Ҹҋ 🤖 in WebAssembly — русскоговорящее сообщество
> Can compile Javascript sources to executables with no external dependency.

that means that it compiles to bytecode + interpreter and not c
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Victoria Guevara
jsc.exe is installed by default in your Windows since Vista. It was one if three default .NET languages before Core.
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?
источник

P

Parra in WebAssembly — русскоговорящее сообщество
でゲソ
And it's not a JavaScript
oh, sad story
источник

P

Parra in WebAssembly — русскоговорящее сообщество
Ҫѐҏӗѫӑ Ҹҋ 🤖
> Can compile Javascript sources to executables with no external dependency.

that means that it compiles to bytecode + interpreter and not c
your interpretation is strange to me
источник

P

Parra in WebAssembly — русскоговорящее сообщество
it compiles to bytecode and needs a small runtime to execute it
источник

P

Parra in WebAssembly — русскоговорящее сообщество
the runtime isn't an interpreter
источник

P

Parra in WebAssembly — русскоговорящее сообщество
the resulting is a c code that you can compile to binary
источник

P

Parra in WebAssembly — русскоговорящее сообщество
beating v8 in execution
источник

P

Parra in WebAssembly — русскоговорящее сообщество
with v8 is difficult to achieve in the same way
источник

P

Parra in WebAssembly — русскоговорящее сообщество
and the same with node
источник

P

Parra in WebAssembly — русскоговорящее сообщество
with node you can compile v8 and nodejs std together with the js file but it's in plain js
источник

P

Parra in WebAssembly — русскоговорящее сообщество
not bytecode
источник

P

Parra in WebAssembly — русскоговорящее сообщество
it isn't a transpiler
источник

P

Parra in WebAssembly — русскоговорящее сообщество
if you meant that
источник

MV

Mikhail Voronov in WebAssembly — русскоговорящее сообщество
Parra
beating v8 in execution
by speed?
источник