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

The variants of generics under consideration #9

Open
certik opened this issue Oct 12, 2020 · 3 comments
Open

The variants of generics under consideration #9

certik opened this issue Oct 12, 2020 · 3 comments

Comments

@certik
Copy link
Member

certik commented Oct 12, 2020

@tclune, @rouson, @FortranFan, @mleair, Magne and myself discussed the various paths forward. It seems the available options are:

  • templates without concepts (e.g., traditional C++ templates)
  • templates with concepts light (C++20)
  • templates with concepts strong
  • parametrized modules

It looks like the consensus is that we want strong concepts. The parametrized modules look like might be a different syntax for strong concepts.

The only other alternative path forward is intelligent macros, and we decided to concentrate on generics at this time (see #8 for more details).

@certik
Copy link
Member Author

certik commented Oct 12, 2020

@certik
Copy link
Member Author

certik commented Oct 20, 2020

Our next meeting is on Thursday Oct 22, 2020 01:00 PM Pacific Time:

https://fortran-lang.discourse.group/t/generics-proposal-for-202y-video-call/353/3

@mleair
Copy link

mleair commented Oct 20, 2020

Some recent discussion on templated/parameterized modules in the J3 mailing list:

https://mailman.j3-fortran.org/pipermail/j3/2020-October/012587.html
https://mailman.j3-fortran.org/pipermail/j3/2020-October/012589.html
https://mailman.j3-fortran.org/pipermail/j3/2020-October/012590.html

-Mark

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