CCP Stackless演示中的BLUE是什么?
在Eve中的无栈Python中,有提到Python里的“蓝色”对象。有没有人知道关于这个技术的具体情况?
1 个回答
3
这是一个框架的代号,可能是由CCP内部开发的,专门用于EVE Online这款游戏。EVE Online的安装包里会包含一个叫blue.dll
的文件。它还有一个Python的接口,可以通过import blue
来使用。
深入研究blue.dll
可以发现:
描述:CCP蓝色框架
$ strings blue.dll | egrep "python|Py" | less
BlueObjectBuilderPython
BlueEventToPython
IBluePyOS
IPythonEvents
IPythonMethods
IPythonNumeric
PythonEvents
BlueEventToPython
BlueObjectBuilderPython
Proxy object builder that calls a python method to construct the object.
BeOS::Python
BlueOS/mShutdownPythonCallbacks
Py_FatalError: %s
Fatal Python error: %s
PumpOS::end PumpPython
s|O:PyCreateInstance
Thunker for constructing python objects.
python file object api
Python object
Python object pointer
An unrepresentable Python object
PyOS::StacklessIoDispatch
PyOS::Run Watchdog
PyOS::Create Tasklet
PyOS::PyError
PyOS::Synchro Tick
Python Logs
Runs a python script.
Enable python ref. stack trace
Returns the python and blue reference counts
Error while calling Python logging callback function. Disabling logging in Python!
BluePyOS
BluePyOS/mThreads