separate repos for stdlib #228
Replies: 8 comments 3 replies
-
i agree, that would allow us to have a heavily packed stdlib, since there is no packaging yet. |
Beta Was this translation helpful? Give feedback.
-
related (tests): #222 |
Beta Was this translation helpful? Give feedback.
-
I agree but it is something that requires some implementation in amber, like to create new blocks. Anyway yes it is the best way to move on so can happen independently from the project itself. |
Beta Was this translation helpful? Give feedback.
-
We can implement a separate versioning of stdlib in the same repository. I dislike the idea to spread everything to separate repositories (at least for now at alpha stage) as everything gets harder to integrate together (it just adds unnecessary additional steps). We can just create a directory |
Beta Was this translation helpful? Give feedback.
-
Splitting stdlib and compiler can make the release process more difficult and add complexity for OS package maintainers. It also makes unit and functional testing of the compiler and the stdlib more difficult, as they need to move in lockstep. |
Beta Was this translation helpful? Give feedback.
-
I understand, there is a close connection between Amber and the stdlib. Maybe including stdlib in the build process is a good choice. |
Beta Was this translation helpful? Give feedback.
-
I partially agree with all of you. At this early stage, if the standard library does not function as intended, it could be a compiler issue. In such cases, we can re-label the issue instead of recreating it. I recognize that the root cause is that not everyone understands Rust, and developing tests for the standard library can be challenging. One possible solution is to separate I propose keeping everything in a single repository for the reasons stated by @FedericoCeratto, as it would maintain our workflow. Splitting them does not seem to simplify the complexity of this project or add significant value. While it was suggested that separating them could facilitate easier filtering on our GitHub project or issues, there is already a built-in filter for this purpose. Additionally, I have not found any compilers, such as those for Swift, TypeScript, Go, or Rust, that separate the standard library from the project. Overall, keeping everything together seems to be the more practical approach. |
Beta Was this translation helpful? Give feedback.
-
We have a ticket for that #330 |
Beta Was this translation helpful? Give feedback.
-
Maybe it's a good choice to separate stlib into a new repository.
Before starting a new issue in Amber repositories for new features we can try in stdlib.
for example :
color text
sudo execution
debug mode
native lock file
and unit test
I can try to made a repos and include unit test write with Amber
Beta Was this translation helpful? Give feedback.
All reactions