Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Domain-separate intrinsics #1122

Closed
3 tasks done
adlerjohn opened this issue Apr 1, 2022 · 3 comments
Closed
3 tasks done

Domain-separate intrinsics #1122

adlerjohn opened this issue Apr 1, 2022 · 3 comments
Labels
compiler General compiler. Should eventually become more specific as the issue is triaged enhancement New feature or request good first issue Good for newcomers language feature Core language features visible to end users P: critical Should be looked at before anything else team:compiler Compiler Team

Comments

@adlerjohn adlerjohn added enhancement New feature or request compiler General compiler. Should eventually become more specific as the issue is triaged language feature Core language features visible to end users labels Apr 1, 2022
@adlerjohn adlerjohn moved this to Todo in Fuel Network Apr 1, 2022
@otrho
Copy link
Contributor

otrho commented Apr 1, 2022

Do we prefer __size_of() to just using intrinsics::size_of() in user code?

@adlerjohn
Copy link
Contributor Author

adlerjohn commented Apr 1, 2022

We would prefer users use intrinsics::size_of(), so that they never need to know that intrinsics even exist. Usage of intrinsics should be limited to the standard library (and then, only as directly wrapped).

@mohammadfawaz mohammadfawaz added good first issue Good for newcomers P: critical Should be looked at before anything else labels Apr 5, 2022
@mohammadfawaz
Copy link
Contributor

A lot of work went in recently to clean intrinsics up (both in the standard library and the compiler). I think this can be closed now.

Future intrinsics can now be added quite easily, as needed.

Repository owner moved this from Todo to Done in Fuel Network Jun 9, 2022
@IGI-111 IGI-111 added the team:compiler Compiler Team label Feb 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
compiler General compiler. Should eventually become more specific as the issue is triaged enhancement New feature or request good first issue Good for newcomers language feature Core language features visible to end users P: critical Should be looked at before anything else team:compiler Compiler Team
Projects
Archived in project
Development

No branches or pull requests

4 participants