Skip to content
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

Rewrite the core in something different than bash #32

Open
Doeme opened this issue Mar 4, 2019 · 2 comments
Open

Rewrite the core in something different than bash #32

Doeme opened this issue Mar 4, 2019 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Doeme
Copy link
Member

Doeme commented Mar 4, 2019

This is not strictly necessary, but having the core written in a programming language that has access to more linux/glibc-features might be beneficial for dropping privileges when operating on a build directory (e.g. seccomp, namespaces, etc..)

The core can execute a bash-process, read the right files and pipe them into the bash-stdin.
Also, we might benefit from a less botched log-redirection feature.

I'm open for suggestions. C is of course the most feature-rich, python is usually installed on gentoo system so it might be worth a shot, and personally I'm a fan of DLang, but this has the drawback of depending on a not widely distributed compiler.

@Doeme Doeme added the enhancement New feature or request label Mar 4, 2019
@TheChymera
Copy link
Member

Sounds good, I'm only wondering if this is not a bit premature, after all we're still in the phase of stabilizing a prototype and determining its core features. If you do want to go for this, you'd have to consider how much time you are able to put into it, and if that is “not a lot” it would need to be a language in which I can also contribute, which from the ones you mentioned is only Python.

@Doeme
Copy link
Member Author

Doeme commented Mar 5, 2019

Yes, this is definately premature. It's just something that I think can be improved at some point.

I'll add the issue to a far away milestone, s.t. this is clear.

@Doeme Doeme added this to the Release 2.0 milestone Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants