Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Alter-Native can transpile 'Go' to 'C'/'C++' ? #12

Open
atErik opened this issue Oct 18, 2020 · 1 comment
Open

How Alter-Native can transpile 'Go' to 'C'/'C++' ? #12

atErik opened this issue Oct 18, 2020 · 1 comment

Comments

@atErik
Copy link

atErik commented Oct 18, 2020

Hi, it appears helpful (as i can see many users have Starred it).

How do i transpile Go source into C or C++ source code with it ?
is there a transpiler that can convert Go src into C or C++ src, with (almost all) high level structures used in source, kept fairly same/accurate in output source ?

if this project can keep C# (csharp) source code's high-level structures fairly/accurately same in C++ output source code, then i can use go2cs first.

i have Starred this project too.



EXTRA INFO : BTW , i have mentioned it in a Transpiler List here in SO(StackOverflow) site , would you please UPVOTE it here ( or vote to UNDELETE it ) ? please upvote my Question+Answer, both, if you find it useful or if you think it will be helpful for other users related to this type of transpiler projects . By the way, Transpiler-List can be seen from here or here or find it under my repo(s) here.
( and please downvote user Caleb's answer, as that is incorrect answer . Correct-answer must answer my questions first , My question is about "Transpiler" tools & which "transpiler" tool can keep high-level algorithms/structures intact , Question/article is NOT about language learning, when to transpile & when-not, etc.
In SO site, user Flimzy (and Caleb) doesn't give advice When "C/C++",etc to "Go" conversion related question is posted or when "C/C++" is criticized , But when "Go"-to-"C/C++",etc conversion Question is posted or when Google based products (like "Go"-language) are criticized , then those users, especially Flimzy "Close" the question & downvotes, & gives many un-asked advices, etc, Because those users are Google PUSHERS & google based product (like "Go", Google-Advertisements,etc) PUSHERS . Flimzy edited-out important text from my post criticizing Advertisements . Google Crimes1, 2, 3, 4, 5, 6. Problems in "Go"1, 2, 3, 4, 5, 6, 7. )

EDIT : added links (created new page for Transpiler List).
EDIT : added links ('Go'-problems).

@atErik atErik changed the title How Alter-Native can transpile Go to C/C++? How Alter-Native can transpile Go to C/C++ ? Oct 18, 2020
@atErik atErik changed the title How Alter-Native can transpile Go to C/C++ ? How Alter-Native can transpile 'Go' to 'C'/'C++' ? Oct 18, 2020
@jlopezr
Copy link
Collaborator

jlopezr commented Oct 25, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants