KelvinShadewing / brux-gdk

Free runtime and development kit using SDL and Squirrel
GNU Affero General Public License v3.0
40 stars 20 forks source link

Modern language #14

Closed nem0 closed 6 years ago

nem0 commented 6 years ago

Did you consider writing the project in some modern language like Rust? And embedding something better, e.g. C#?

Alan-FGR commented 6 years ago

Rust sucks, lacks decent tools and honestly, I totally agree with @rokups when he said pub fn is enough to automatically disqualify it... there's no excuse for that... just rewrite the whole shebang in C#

nem0 commented 6 years ago

C# is good as scripting language, but it's way too slow for the engine itself

Alan-FGR commented 6 years ago

Depends on the scope of the engine, interop is slow so if the engine is minimalist and a lot of the logic happens in the scripts, it could very well be faster than a ton of pinvoke calls. Also, C# is not that slow.

KelvinShadewing commented 6 years ago

Guys, I'm not going to learn a new language just to rewrite this whole project from the ground up. C++ is very fast, as is Squirrel, which has already been used in the gaming industry by companies like Valve, Rockstar, and Sega. I already get little time as it is to code, which is partly why it's taken this long to get here, and I'm not starting over again.

nem0 commented 6 years ago

Just because Squirrel was used by some gaming companies, does not mean it's good. Squirrel will never have tools (IDE, debugger), docs, user base with such quality as C#

Alan-FGR commented 6 years ago

@nem0 you're a message thief, there's no honor in that man, here's the proof (sauce):

lol, logical fallacy there: appeal to authority, just because companies use it doesn't mean it's good, and it's not: it sucks

I'm disappointed in you @nem0 :trollface: