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

Guide page how to use with -betterC #59

Open
5 tasks
WebFreak001 opened this issue Sep 16, 2023 · 1 comment
Open
5 tasks

Guide page how to use with -betterC #59

WebFreak001 opened this issue Sep 16, 2023 · 1 comment

Comments

@WebFreak001
Copy link
Member

  • how to define entry points
  • what options to add to the recipe, also to keep it compatible as a library with other users
  • link how https://code.dlang.org/?sort=updated&limit=20&category=library.nogc suitable for @nogc use might be usable
  • mention bindbc-* packages and link to popular ones
  • maintain a list of std packages compatible with betterC?
@renatoathaydes
Copy link
Contributor

I suggest using tags for this. Those can probably be automatically inferred based on code analysis?

A package manager I like a lot is Dart's pub.dev which has something like tags to say whether a Dart package:

  • uses the Dart SDK or require Flutter (the UI framework).
  • minimum Dart SDK version.
  • platforms (linux, macos, ios, windows, android, web).
  • they used to have null-safe, but now all packages are null-safe.

DUB could infer the applicable data (@betterc, @safe, @nogc etc) for each package (perhaps as a percentage of all functions?), that would be really helpful.

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

2 participants