Converting C+ to JavaScript

Status
This thread has been locked.

markd

plox.host
Supreme
Feedback score
56
Posts
644
Reactions
394
Resources
0
(this may not be possible but lets see..)

I am looking for someone to convert my C+ code into Javascript.. if you could do this please add me on discord.

The code is a discord bot, if you know a program where you can convert the code

markd#0001
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

DDarkInferno

Feedback score
16
Posts
311
Reactions
63
Resources
0
I don't believe there's a program that can convert C+ to Javascript, but I may be wrong, but what you could do is show a javascript developer your bot, explain all the features, and ask them to just remake it in Javascript.
 

vddox

Feedback score
0
Posts
1
Reactions
2
Resources
0
Emscripten is a program that can transpile C++ to Javascript using bytecode. I could talk about it for days, it's a great tool that has helped me out on many a project.

Here are a few links to get you started:
Code:
https://www.sitepoint.com/getting-started-emscripten-transpiling-c-c-javascript-html5/
https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/index.html
https://isocpp.org/blog/2013/03/cpp-to-javascript


Another option would be to use Node.js's C++ plugins, however that probably won't fit your needs.

I would advise asking future questions regarding development on the infamous Stack Overflow: The leading question forum for computer programming. You are pretty much guaranteed to get somebody who knows what they're talking about answering your question.

Good luck with your problem. I'll PM you my email incase you need more advice.


EDIT* Posted the links as code because this account is new, and someone thought it a good idea to block URLS until you have 3 posts. Seriously, use stack overflow for dev questions..
 
Last edited:
Status
This thread has been locked.
Top