C
C
chadushkind2014-05-10 19:52:54
MySQL
chadushkind, 2014-05-10 19:52:54

Game server in C++ with Lua support

I set myself the task of writing a game server. As a C ++ framework I will use Boost. In order not to do a lot of compilations in the future, I want to use Lua. In connection with what the question. What part of the project is better to put into scripts, is it worth implementing mysql support in scripts? It might be better to use LuaJIT. Are there any manuals on how to "connect" it to the project?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2014-05-11
@begemot_sun

On lua there should be only game business logic. All elementary operations (API) must be implemented in the kernel, otherwise chaos awaits you (when everything is implemented on the lua).

S
sba, 2014-05-13
@sba

It seems that there were performance tests on Habré, Python loses in speed especially LuaJIT.

A
AxisPod, 2014-05-13
@AxisPod

Do you want logic in Python? boost already has bindings.
And so the articles were on Habré about the connection with C ++.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question