4 ms·
Jint is nice but it's really slow. Script# looks like it only compiles C# to JS, not really relevant here. Exor looks interesting but the CLR doesn't handle as
by Rohansi 12y ago
Jint is nice but it's really slow. Script# looks like it only compiles C# to JS, not really relevant here.
Exor looks interesting but the CLR doesn't handle assembly reloading very well. You either have to use AppDomains or dynamic assemblies (which can be GC'd but have limitations IIRC) to clean up old assemblies.
- eropple 12y agoJint is pokey, but fast enough for most use cases. I went away from it mostly out of a desire to enforce contracts and static typing. I personally use Exor as a one-shot loader when the game using it starts, so yeah, you'd have to get cute with AppDomains if you're worried about reloading. (Last I checked, Mono didn't really support AppDomains and about 50% of my development is on a Mac, so I didn't really care).
- eropple 12y agoRegarding Script# - I got the wrong project, I always mix these two up and I was posting from my phone. I meant SSharp, which used to be called Script.NET, see... https://github.com/PetroProtsyk/SSharp https://github.com/PetroProtsyk/SSharp