Support / Discussion for Cheerp has been migrated to Discord https://discord.leaningtech.com
@kkimdev it does, see https://github.com/leaningtech/cheerp-meta/wiki/FAQs-(Frequently-asked-questions)#should-i-release-my-code-as-gpl-if-i-use-cheerp.
However, if GPLv2 restrictions are not acceptable, we offer alternative (non-copyleft) licenses https://leaningtech.com/cheerp/
client::ArrayBuffer* buf=(client::ArrayBuffer*)xhr->get_response();
int byteLength = buf->get_byteLength();
client::Int8Array* i8buf=new client::Int8Array(buf);
char* charBuf=__builtin_cheerp_make_regular<char>(i8buf, 0);
/Applications/cheerp/bin/clang -O3 -target cheerp -I/Applications/cheerp/include hello.cpp -o hello