ullage icon indicating copy to clipboard operation
ullage copied to clipboard

Actix scripting environment

Open naturallymitchell opened this issue 5 years ago • 6 comments

based on Actix-Lua

further downstream: https://github.com/foundpatterns/torchbear/issues/234

what do you think, @iwillspeak?

naturallymitchell avatar Jan 25 '19 19:01 naturallymitchell

Ullage has grown into a more statically compiles language rather than a scripting one. Torchbear does look impressive. Not sure how you would integrate ullage like that though.

iwillspeak avatar Jan 25 '19 19:01 iwillspeak

could it support scripting?

perhaps similar to rustscript

naturallymitchell avatar Jan 25 '19 20:01 naturallymitchell

and these:

https://github.com/iwillspeak/ullage/blob/acd03c0242894545fbe8576451ae0d05f05e92e4/STRUCTURE.md#low_loader

https://github.com/iwillspeak/ullage/blob/acd03c0242894545fbe8576451ae0d05f05e92e4/docs/90-ullage-0.1.md#jit

naturallymitchell avatar Jan 25 '19 20:01 naturallymitchell

It would be interesting to investigate. Maybe a switch back to JIT compilation using cranelift and more of an embedable scripting language. C# scripting and Roslyn comes to mind as a good example of how you can make a statically compiled language scriptable.

iwillspeak avatar Jan 25 '19 20:01 iwillspeak

I think changes to modular code and small-medium sized code bases should compile fast enough to make JIT related research unnecessary

I guess one difference then between Actix-Lua and Actix-Ullage, in that regard, would be handling a runtime re/compilation step

naturallymitchell avatar Jan 25 '19 20:01 naturallymitchell

yea, I mean like this https://github.com/faern/rustscript#internals

naturallymitchell avatar Jan 25 '19 20:01 naturallymitchell