GSoC Project: Ion as a library, week 1

By AdminXVII on

Keyword of the week: Reorganisation

Summary of the work done

What’s left to do

Idea to explore: non-forking builtins

Since builtins should not be threat actors, it should be safe to share file descriptors and memory with them. A builtin could thus simply read & write directly from a provided file descriptor, instead of the standard input, output and error. This would first allow to keep the normal level of safety guarantee provided by rust by removing unsafe forking. Second, the usage of threads (and maybe even green threads?) would provide a important speed boost. Feedback on the idea and potential roadblocks would be appreciated.