Are there sizeable examples of code that builds and runs when compiled in betterC mode?

Dennis dkorpel at
Sun Nov 22 16:09:34 UTC 2020

On Saturday, 21 November 2020 at 23:50:50 UTC, Dibyendu Majumdar 
> I am looking for examples that are betterC only.

I'm not sure exactly what you're looking for, but here are some 
things that might interest you:

BindBC-bindings are pretty sizeable:

However, they're simply interfaces for C libraries so they're not 
really complex or interesting as a code example.

I recently translated most of glfw and libsoundio, two C 
libraries, resulting in ~50 000 lines of D code:
They have `buildOptions "betterC"` in the dub.sdl.

If you're looking for betterC libraries with brand new code, 
check out:

If you're looking for an application instead of library 
specifically, I don't have a good example currently.

More information about the Digitalmars-d mailing list