cut the runtime standard library into its own crate #58

Open
opened 2025-05-28 06:59:45 +00:00 by ElhamAryanpur · 0 comments
ElhamAryanpur commented 2025-05-28 06:59:45 +00:00 (Migrated from github.com)

If the runtime's components and the standard library gets cut into its own crate and published outside, it allows for anyone else having similar projects to easily integrate them and use them in their own works.

The components or libraries used can be set behind feature flags for customization, and enabled all by default for the runtime itself.

Another design decision that needs to be considered is to not directly add the defined functions into the Lua, and rather return them and have functionality to let the user add the components themselves. Another possibility for the sake of simplicity can be keeping the ability to add them all in a single function, with a prefix of choice.

If the runtime's components and the standard library gets cut into its own crate and published outside, it allows for anyone else having similar projects to easily integrate them and use them in their own works. The components or libraries used can be set behind feature flags for customization, and enabled all by default for the runtime itself. Another design decision that needs to be considered is to not directly add the defined functions into the Lua, and rather return them and have functionality to let the user add the components themselves. Another possibility for the sake of simplicity can be keeping the ability to add them all in a single function, with a prefix of choice.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ArkForgeLabs/Astra#58
No description provided.