Hacker News new | ask | show | jobs
by vive-la-liberte 3813 days ago
>there used to be C++ and Java code generators that have since been removed.

What was the reason for removal? Difficulty of maintenance? Out of scope for a C# project?

1 comments

Mainly lack of an interested maintainer.

It's also a bit tricky because some .Net assumptions are hardcoded (i.e. overload resolution, generics, pointers+references), which makes it harder to generate idiomatic code for other languages. Nothing that cannot be fixed with a bit of effort if someone interested shows up, but until then it's better to generate excellent bindings for one runtime than mediocre bindings for multiple (and pretty much every runtime comes with a mediocre OpenGL binding.)