Is it possible to convert golang code into C language

I need to write C project but I do not know it at all, so I want to write golang and convert into C

:man_facepalming:

At my GitHub page

there is a project (Video Poker) that I originally wrote in C, and translated to Go and Javascript. As I added to them, I’ve kept the three synchronized, so there is a 3-way matching of the code, and they work almost identically.

If you write in a style similar to the Go version, it will make it easier to translate it to C.

It can be done! And it’s really not hard. Just keep in mind that if you use things that are in Go but not C, then you will have to rewrite that part in C.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.