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

Self-hosting #252

Open
Immortalin opened this issue Sep 21, 2018 · 3 comments
Open

Self-hosting #252

Immortalin opened this issue Sep 21, 2018 · 3 comments

Comments

@Immortalin
Copy link
Contributor

Any plans for self hosting i.e. freestanding standard library and runtime that does not depend on OS-specific features? This would make it easier to develop drivers and kernel modules.

@mascarenhas
Copy link
Member

We have a big dependency on the Lua runtime, so this would have to be built upon the support that currently exists for running Lua code in the kernel.

@Immortalin
Copy link
Contributor Author

So no possibility of using this to write drivers? Can Terra run without Lua runtime?

@mascarenhas
Copy link
Member

I have never written a driver, so have no idea of what is necessary to run in the Linux kernel, or which changes, though @gligneul might know, since his company uses Lua in the kernel. Titan generated code currently uses just a few functions from the C standard library on its own (meaning not through its reliance on Lua): memcpy, memset, and floor. In particular, Titan code only allocates memory through Lua.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants