tomass1996, on 16 January 2015 - 11:59 AM, said:
Thank you! I'd started writing an emulator this week for a bit of fun, and to solve some of these issues, however it looks like I won't have to now! I wrote a debug API patcher a long time ago for a mod that never reached release stage, you can have a read if it helps. Just a couple of questions:
- Will the LuaJC compiler be optional? Obviously it is much faster, however it doesn't give a perfect representation of running it in ComputerCraft. Also, if you do end up porting it to use ASM as suggested in the thread, will you open source that file? (Or will you stick with BCEL)
- I realise you are still using CC's ComputerThread instance. Is there a chance that you could make this local to each computer, so the Too long without yielding error duration could be increased? I understand this would require a lot of ASM hacking but I'm wondering if it is possible?
- Is there a chance of a plugin API? This seems like a really odd question, but sometimes I want to write things in Java, the key element being a profiler as a Lua profiler would have to much overhead. I think writing a mod is overkill for this. All this would really need would be a way of registering a computerOn hook or something, so APIs could be loaded. This is clearly not a priority, I'm just wondering if there is a chance of it in the future?











