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

Why does this only have 14 stars?! This tool is unreasonably good at converting C++ to D!! #7

Open
GavinRay97 opened this issue Mar 28, 2021 · 9 comments

Comments

@GavinRay97
Copy link
Contributor

Thank you for making this and publishing it =)

@Superbelko
Copy link
Owner

Glad that you find it useful.

About the topic - this is mostly due to fact that 2 main other tools dstep and dpp have somewhat famous (in D circles) authors and the latter even backed by hedge fund, unlike them I have no name and no time and energy left for propaganda and advertisement.

I however doesn't see them as direct competitors to this tool since dstep is C-only, and dpp does it's job in somewhat strange way by being basically a D pre-processor.

@GavinRay97
Copy link
Contributor Author

GavinRay97 commented Mar 29, 2021

FWIW dpp and the VisualD C++ -> D translator don't really hold a candle to ohmygentool.

I was able to port the entire API/SDK of a third party C++ library (several thousand lines of definitions) to D in one command and then a handful of manual typename changes.

It even translated some small function definitions in the header 😲

@Imperatorn
Copy link

Wow, I must give this a try. Want to output D

@Imperatorn
Copy link

Btw, for us lazy ppl, when is the next release planned? 😁

@Superbelko
Copy link
Owner

Honestly, I can't give exact time estimate. I was planning to do it when it will be able to process Recast navigation with at most 3 manual fixes. Currently about 20, but it is just 7 categories or so.

If I can find some time then this will take probably around 40 hours.

But even then it's just a small step. For my needs I WAS needed to be able to generate FBX SDK and PhysX bindings, but they are too heavily templated and overly engineered in general.

@GavinRay97
Copy link
Contributor Author

GavinRay97 commented Apr 10, 2021

Do you want donations and/or help (I know you said no pull requests taken at the moment)?
Not particularly well off but as a show of gratitude would happily donate.

@Superbelko
Copy link
Owner

Thanks, but at this point it is more of a time issue.

@Superbelko
Copy link
Owner

Since the question was already raised in this issue - I'm planning next release to be early May.

There was a number of fixes and some minor improvements, so despite lack of new major features I think it is still ok to do a release as it is.
Maybe few extra improvements as well, but definitely nothing that big like smarter macro conversion.
Anyway since now it is somewhat CI'ed it would be easier to do regular releases not bounded by feature majority.

@Imperatorn
Copy link

This tool rox!

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

3 participants