Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1411 Excellent

About Tzarls

  • Rank
  1. Tzarls

    BlindMindStudios JIT-Compiler and AS 2.3

    You guys rock! Thanks for the time you've invested into this. I'll have to consider purchasing a game from you guys to express my gratitude. Thanks again.
  2. Great. Thanks! A little magic is always welcome!
  3. Hi Andreas. I have a small question regarding the usage of script objects...let me explain my situation so you can better understand what´s going on here:   I have 3 threads. One thread (let´s call it "main") can recompile the script upon user request. The other 2 threads (let´s call them "workers") create script objects and call their methods regularly. Both workers work at their own rate and can call objects´ methods a couple of times per second or several thousand times per second. Workers will be notified when the script has been recompiled by the main thread, and they will destroy the old objects (by calling their Release() method) and create new objects based on the new version of the script. The problem is that a recompilation can occur at any time and the workers may continue to use the old objects for some time before they have the opportunity to update them.   Now, as far as I´ve been able to test, having objects created with an old version of the script (even if the script has been recompiled) causes no problem at all. I´ve even had objects created with 3 different versions of the script, all living together, even if the older objects call global functions that no longer exist in the current compiled version of the script.   Is it ok to do it this way? Does Angelscript include some magic to make all of this work, or I have just been lucky, using some kind of ghost code that might eventually get cleaned up and cause my code to finally crash?   ps: I don´t care much about serializing my objects right now.
  4. Tzarls

    Iterate through objects in Context ?

    What GUI lib are you using? In fltk (the one I use) you can access child widgets directly from the parent. So maybe you could store a pointer to the parent widget of the hierarchy tree (the main window) in the app and after the script finishes you can just access any left over widget from there.
  5. Tzarls

    QtScript vs AngelScript

    I can't look at your code right now but did you try with the jit on Angelscript?
  6. Tzarls

    Question regarding 'private' keyword

    That would be a nice addition!
  7. Tzarls

    What's everyone doing with Angelscript!

    I´m working on a graphicall programming system. Here´s a couple of videos showing what I´ve got so far:     The las video shows AS running on a Raspberry Pi, an ARM/Linux based system.
  8. Tzarls

    Precompiled Bytecode format

      Sorry.... somehow I got the idea he was releasing only the binaries as his IDE is tied to the game...
  9. Tzarls

    Precompiled Bytecode format

    Take a look at this thread:   http://www.gamedev.net/topic/636508-angelscript-on-flascc/#entry5015807   The guy there talks about a code editor he´s made... maybe you can get in touch with him and see if he can share his sources?
  10. Tzarls

    Angelscript on Raspberry Pi

    Mmmm.... this is weird. I just rebuilt the library removind the "no-threads" flag to post the errors I was getting, and guess what? It builds fine... I´m sure I was getting undefined references to thread-related functions, and I´m sure those errors went away when I added the flag...   About AS_NO_ATOMIC... what´s exactly its function? What kind of atomic operations does AS expect to be supported and when should them be supported?
  11. Tzarls

    Angelscript on Raspberry Pi

    One thing I forgot to mention is that when I build the lib on the RPi, I need to set the "no-threads" flag, otherwise I get lots of undefined symbol errors. What are the pre-requisites for getting threading to work with the lib?
  12. Tzarls

    Angelscript on Raspberry Pi

    Files sent!
  13. Tzarls

    Angelscript on flascc

    This look ver very interesting.... awaiting for more news!
  14. Tzarls

    Angelscript on Raspberry Pi

    Great! So now the work is complete! Until a bug appears...   I´ll send you the files later today so you can integrate them into the lib. I guess we´ll have to run some tests to check if the platform is being correctly identified when using "make" to build the lib.   Now.... All this exposure to ARM asm left me thinking... how difficult could it be to make a JIT compiler (based on an existing one for some other platform)? Maybe I´m being a bit optimistic, but hey, it won´t kill to ask, right?
  15. Tzarls

    Angelscript on Raspberry Pi

    Actually I think there´s something maxing out the CPU, that´s why you´re seeing a slow screen refresh. I´ll reboot it now so you can continue debugging if you feel like doing it.   EDIT: Done! The RPi is waiting.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!