Unnamed Space RTS

Show off your games, demos and other (playable) creations.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Unnamed Space RTS

Post by Robin »

Networking is not an area where performance is important — if it were, games were even worse and LÖVE shouldn't exist at all!

And as far as interpreted languages go, Lua is pretty much the fastest. If you write good code, Lua can even be faster than some compiled languages!
Help us help you: attach a .love.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Unnamed Space RTS

Post by kikito »

I'd advise to reconsider your assertions.

Most of the time spent on networking isn't spent on the calculations themselves, but on the line: the time it takes for an information package from going to computer A to computer B. Assuming that certain obvious precautions are taken (sending everything in one package instead of several, to avoid overheads, for example) processing speed doesn't seem too important on my eyes.

You currently using lua for rendering 60-100 frames per second. Before you spend lots of time implementing a different network schema, I suggest you do some testing with what is already available (Lube)
When I write def I mean function.
Araqiel
Citizen
Posts: 54
Joined: Sat Oct 30, 2010 7:33 pm

Re: Unnamed Space RTS

Post by Araqiel »

I'll admit, I haven't run any benchmarks. I was actually going to before I really started with RakNet. I do like RakNet, though. Either way, I've still got stuff to do before I get into that - networking is still far off in this project.
User avatar
Simtex
Prole
Posts: 39
Joined: Sun Dec 14, 2008 5:31 am

Re: Unnamed Space RTS

Post by Simtex »

A developer would have to confirm this, but I believe Love networking is based on LuaSockets which is actually written in C then linked into Lua. So the actual time critical stuff is C based.

RakNet is cool though (though it has commercial limitations).
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests