Are there sizeable examples of code that builds and runs when compiled in betterC mode?
Dennis
dkorpel at gmail.com
Sun Nov 22 16:09:34 UTC 2020
On Saturday, 21 November 2020 at 23:50:50 UTC, Dibyendu Majumdar
wrote:
> 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:
https://github.com/BindBC
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:
https://github.com/dkorpel/glfw-d
https://github.com/dkorpel/libsoundio-d
They have `buildOptions "betterC"` in the dub.sdl.
If you're looking for betterC libraries with brand new code,
check out:
https://github.com/libmir
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