Jump to content

Language performance :


YouGroove
 Share

Recommended Posts

So why saying it is dead ? if if is finished stable, without critic bugs, and even with no more support,

if it works great , and it is even used on LEE 3 , and also for the coding of the editor ;

With dead I mean that BRL is focussing fully on Monkey development, and not developing BlitzMax much further, perhaps some bug fixes and small feature additions only. It's being phased out.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I should give this a try just to see how it works in Lua. Putting it on the GPU would be sweet and pretty much negate any language speed talk I would assume. I'll play around with the 200x200 thing in Lua if I get some time tonight. Should be easy enough to setup the example as just data with no visuals and test the time just so we don't all guess at this kind of stuff and it keeps coming up again and again.

Did you ever get round to trying this Rick, some comparison stats would be nice to see!

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Link to comment
Share on other sites

I didn't yet. Between getting stealth working for my game and hanging with the family I didn't have enough time this weekend. I also wanted to use my board but scale it and still have the tiles the same size for the test, but with my new Win 7 I don't have my 3DWS key anymore and that's what I used for the board and texture scaling. I have an email in with Josh to see if he could get me that but haven't heard back from him yet.

Link to comment
Share on other sites

Yeah, that's OK Rick. I have to do the same balancing act all the time. Would be handy if you manage to find the time at some point though, just so we can finally make some knowledgeable statements about the performance of Lua in these situations rather than the guestimates we currently tend to use and better advise people.

 

I know Soamp wrote a lot of code in Lua initially and was experiencing some major performance issues, I don't recollect what the outcome of that was if indeed he ever told us?

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Link to comment
Share on other sites

My robot game was too slow in Lua, so I had to port it to C++. The math calculations and iterations for the physics forces for the 8 limbs of each of the 40 robots took like 20 FPS in Lua, and in C++ they take only 1 FPS.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Yeah, the Lua implementaion of LE2 alone is not enough to make real games, but you need either the source license to add more features to Lua, or the possibility to load C++ DLLs from Lua.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

@Metatron :

I think it's like some commercial games using LUA !

You have the expensive parts of code like path Finding, physic simulation , formulas for something put in C++ and you have all the rest for Lua.

Some good bunch of commercial games have been using it, so i think it's a good choice for concentrate on game making than coding !

Stop toying and make games

Link to comment
Share on other sites

Sure, it's completely possible to make a game in Lua that way. And I think Rick managed to get a .NET DLL to load in Lua, so it should work with a real C++ DLL too.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...