Skip to content
This repository was archived by the owner on Nov 5, 2021. It is now read-only.
Discussion options

You must be logged in to vote

Lack of support for generics

Even in C++, we'll not be able to call template functions directly form generated code. We'll have to do manual template specialization using wrappers. It will be similar in rust as well. We might be able to automate it by writing a macro to generate it, in either case.

No type checking safeties

Ya, we'll not be able to leverage Rust's native safety advantage specially at the boundary (ie: layer that interface with generated code). But hopefully the deeper parts like stdlib/langlib will be benefited. We should localize all our unsafe keyword usages just to the runtime layer.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@manuranga
Comment options

Comment options

You must be logged in to vote
1 reply
@ruvi-d
Comment options

Answer selected by ruvi-d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants