-
Notifications
You must be signed in to change notification settings - Fork 0
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
Design Front Facing Interface #5
Comments
I have made a pretty extensive item implementation on ttocsneb-api (docs). I'm feeling pretty good about it. I took inspiration from 0.2.0 mbon items and added some options which would allow for hinting at the internal storage of the items. Such as with Item, there is set_ptr, set_boxed, and set_normal. These tell mbon to store either as a pointer, boxed value, or as itself. If none of these are set, then mbon is free to decide how it wants to store it. In List and Map, there are options to try_set_normalized and with maps: set_struct. These similarly hint at whether the item should be stored as its more efficient version or as a struct. With try_set_normalized, it will check whether all of the contained items are actually normalized. Any modification to the item would cause the normalized flag to be reset. There are no implementations for normalization yet, but I have some ideas on how it might be done. I feel like there might be more that could be added, but I'm not sure yet. |
One minor thing I noticed, the docs say its also notable that It will also need to be decided if |
There isn't much information I could find online, and it seemed like +nightly is reserved for nightly builds while everything else would use That sounds good, I will prefix types with I want to have neither |
No problem! There really isn't much info, but its mentioned in the semver spec section 10, diffrently from pre-releases which are denoted with a
I don't know of a way for it to assume a set of features directly, no. However you can use |
With the new changes proposed on how the engine will work. It isn't very clear how exactly we will implement the engine. To help with that, I think creating the interface users will use might be helpful.
This would be function/type stubs with some docs on how they will be used.
The text was updated successfully, but these errors were encountered: