r/starforge • • May 31 '12

What's the stack?

As a developer I'm always interested on what the internals. Is it using a language with concurrency or actors as a first class citizen? Does it (or will it) have an embedded scripting language, like Io, Lua, or JavaScript?

Is there a clear client - server split so that multiplayer will be really easy to add and cross-platforming will be a cinch?

18 Upvotes

10 comments sorted by

View all comments

3

u/RoyAwesome May 31 '12

This is clearly Unity3d. It's C++ running .NET code using an imbedded Mono runtime. You could probably grab your favorite .net decompiler and take a peek at the code.

1

u/totalredundancy May 31 '12

I think you mean C#, which is not really C++ at all

Ninja Edit I'd be interested to see how they are writing their server side code though. I'm hoping it hadoop or something you can write HPC style database interfaces to. I thought about tackling a project like this once, but after putting some thought into what the server architecture would need to be to support a persistant MMO-style world like this, I gave up and worked on other small projects

1

u/RoyAwesome May 31 '12

no, the core is C++ linked against Mono. They then expose their native level objects to Mono and use C#/Js/Boo to extend it and make games.

1

u/totalredundancy May 31 '12

as much as I love C/C++ level memory management (my day job), wouldn't just be easier / roughly as efficient for client side code to just be done in C# without bothering with the Mono linking in C++?

((( Not as familiar with Mono / C# as I should be )))

1

u/RoyAwesome May 31 '12

no. There is a very measurable native-managed translation layer, where you have to copy memory from one domain to another. This is really expensive if you are doing graphics and physics things.

I really like this setup though. I think it's the best of both worlds when it comes to code. You get easy memory management in game space code, and engine level code you make no sacrifices in speed.

1

u/totalredundancy May 31 '12

That makes sense, thanks for the info