Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Jul 2009
Offline Last Active Sep 09 2014 07:00 AM

Posts I've Made

In Topic: How to build a virtual machine

24 August 2014 - 08:04 AM

My recommendation is looking up simple scripting languages on the internet and look at its source. I found Ionscript to be particularly useful: https://github.com/keebus/IonScript

In Topic: Step by step ARM emulator

11 June 2014 - 03:23 PM

Thanks for the input. I remembered that I still had a Raspberry Pi around, so I'm currently using it in combination with gdb.

In Topic: Modern C++ looking for information

07 May 2014 - 04:21 PM

I also recommend using http://en.cppreference.com/w/ over cplusplus.com for reference.

In Topic: Problem on physical material

02 April 2014 - 03:14 AM

I suggest you get nVidia nSight if you have a nVidia card, AMD Perfstudio 2 if you have an AMD card and Intel's equivalent if you have an Intel iGPU.

Use that software's framedebugger to debug your shaders.

In Topic: Is Python any good for...?

19 March 2014 - 12:52 AM

Thank you jbadams.

One last question.

Is it possible to have a game engine without scripting language and add scripting language later on?

and is it possible to change scripting language from xxx to xxx?

I think it's possible but i need someone to confirm this.



I'd say it would be possible to expose all functionality of the engine to a scripting language after the engine has been finished as that's simply a matter of writing the required interfacing code.


The problem would be that you would need a way to insert script execution to the main loop of the engine. Or you would have to move the main loop to the scripting language.


This could however pose a security risk. Normally the engine has the scripts running in a sandbox-like environment so scripts cannot harm the end-user or crash the entire application when a single script crashes. I do not know how good various scripting languages are at calling code in a sandbox-like environment. If they are not good at it, you have a huge security risk.


So it is possible depending on your definition of 'adding a scripting language to an engine without a scripting language', this is possible.