I should add that to your suggestion, shouldn't Noone "implemented a whole compiler". I would do this job as well if I knew it would be merged and had a chance at making it go into non-experimental mode. It would also probably break a whole lot if not all scripts out there. The only real solution I see is a complete PB API rewrite, to separate it and make it threadsafe, and I can't say I see that happening any time soon. We've spent a lot of time trying to solve these issues. and then you're in an undefined state which is quite likely to either crash your game or at best glitch it out badly. Even if you could kill it, it might very well be in the middle of changing some game state. It's not running on a thread but the main game thread, because the game engine isn't threadsafe and there's no threadsafe layer between the PB and the game. It's normal compiled code just like the game itself. It's not running on an interpreter or anything like that. We've wanted to do this ever since the beginning, but I'm afraid you can't arbitrarily kill the PB after an arbitrary time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |