Remix.run Logo
rausr 11 hours ago

I must admit to being somewhat confused by the article's claim that Rust and C++ emit bytecode. To my knowledge, neither do (unless they're both targeting WASM?) - is there something I'm missing or is the author just using the wrong words?

EDIT: bramhaag pointed out the error of my ways. Thanks bramhaag!

bramhaag 11 hours ago | parent | next [-]

By 'Rust compiler' and 'C++ compiler', they refer to the LibJS bytecode generator implemented in those languages. This is about the generated JS bytecode.

rausr 11 hours ago | parent | next [-]

Yes, I re-read again, and I think you are correct. Thanks!

mdavid626 8 hours ago | parent | prev [-]

Thanks! I was confused about this as well.

xwowsersx 11 hours ago | parent | prev | next [-]

They're referring to LibJS's bytecode (the internal instruction stream of Ladybird’s JS engine), not to Rust/CPP output formats.

11 hours ago | parent | prev [-]
[deleted]