-
Notifications
You must be signed in to change notification settings - Fork 196
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
v2 merge followup #1040
Comments
A few things:
|
@g-r-a-n-t I mostly agree with that list. However, I think it might be better to statically load the core library from the executable rather than the filesystem by default, and allow the user to override this by providing a Using a guaranteed-good copy of the core lib by default avoids potentially confusing or incorrect behavior if the fs copy is modified (intentionally, accidentally, or nefariously). |
The rust-embed crate (which the language server is/was using to load the old stdlib) will load files from disk in debug builds and from the executable in release builds, meaning working on the core lib wouldn't require rebuilds. https://crates.io/crates/rust-embed |
I’d be happy to work on specific modules of std/core, as I want to check features around HKTs and diagnostics. Does "Bare-bones" include implementing these features as well? In any cases, please feel free to proceed as you feel, I'll ask you before starting working on a specific feature. |
@sbillig that sounds good. So maybe we just start with a PR that contains the following:
I'd be happy to pair program on this Monday or work alone. We can go over it on the weekly call and hopefully have it merged. @Y-Nak I want to confirm something about v2 that came up recently in a meeting. I think it was mentioned at some point that an |
@g-r-a-n-t It can be used without any issues. As long as the Ingot dependencies do not form a cycle, it should work fine in v2. |
I was just thinking I'd put in a few simple things to start, like Option, Result, todo(), etc. At this point I'm just trying to get the scaffolding up basically, so it's easy to add more.
Sounds great. Feel free to get started and I'll check in and see where I can help. |
FYI @g-r-a-n-t @micahscopes @Y-Nak, to avoid duplicate work, here are the minor things I'm planning to do now that v2 has been merged:
@g-r-a-n-t Do you want to put up a basic stdlib pr with parts of #986?
@Y-Nak iirc you expressed some interest in working on the std lib, do you want to take that on?
The text was updated successfully, but these errors were encountered: