I noticed that when there is a gratuitous use of physics in a love game, the framerate tends to suffer. This may have already been considered before, and dismissed, but could löve make use of CUDA to offload the physics processing to the graphics card?
I'm aware that that's probably a bit of work initially, but it would really be a huge advantage, and it would broaden the playing field for löve. Recently there was someone in #loveclub that came in and started asking questions about löve as an engine, asking people how it compared against XNA. He eventually came to the conclusion that M$'s XNA was a much better framework because of the "fast physics" and "great multiplayer support".
If löve were to step up it's game, and make use of something that very few other game engines do, then it would have a real selling point.
Suggestion: Implementing cuda support into love?
Re: Suggestion: Implementing cuda support into love?
i dont think comparing love to xna is really fair
XNA is made by microsoft solely for the reasons of xbox360, maning everyone has the exact same hardware (aside from storage space) and it makes it really easy to optimize and exploit features of the system
XNA is also a compiled system, using C sharp (C#) if im not mistaken, where as love and anything else lua based are interpreted, meaning even if you took XNA and bound the love system to it your still going to have slower program execution (maybe even as high as 20X slower) just due to the fact that interpreted systems are really reading "english" and translating it into C functions which are then executed whereas a compiled program is already in its target platforms native language
its kinda like "how fast can you read, and follow these directions in your own language" vs "how fast can you read this other language to an interpreter, who then passes it back to you in your language and follow these directions"
XNA is made by microsoft solely for the reasons of xbox360, maning everyone has the exact same hardware (aside from storage space) and it makes it really easy to optimize and exploit features of the system
XNA is also a compiled system, using C sharp (C#) if im not mistaken, where as love and anything else lua based are interpreted, meaning even if you took XNA and bound the love system to it your still going to have slower program execution (maybe even as high as 20X slower) just due to the fact that interpreted systems are really reading "english" and translating it into C functions which are then executed whereas a compiled program is already in its target platforms native language
its kinda like "how fast can you read, and follow these directions in your own language" vs "how fast can you read this other language to an interpreter, who then passes it back to you in your language and follow these directions"
Re: Suggestion: Implementing cuda support into love?
Integrating CUDA would be really really cool... I may be able to implement it for OS X via OpenCL (which is based on CUDA) in the next version of the operating system - it should be decently straightforward, but it's hard to say for sure until I get a chance to play with it more closely.
Re: Suggestion: Implementing cuda support into love?
LÖVE uses Box2D for physics. If Box2D does not use CUDA for physics calculations, then LÖVE will not use CUDA either.
I agree with the "person" on IRC. LÖVE is probably simpler for 2D-usage, but XNA is oviously (much) more solid in the long run. Just consider the massive development effort behind XNA compared to the sloppy making of LÖVE (tee-hee ).
I agree with the "person" on IRC. LÖVE is probably simpler for 2D-usage, but XNA is oviously (much) more solid in the long run. Just consider the massive development effort behind XNA compared to the sloppy making of LÖVE (tee-hee ).
Re: Suggestion: Implementing cuda support into love?
That's a great idea! And it will really encourage all those people who are reluctant to upgrade to a Microsoft Vista ME 7 system... I'm getting a little frustrated the way those Linus users keep holding us back just because they want to save a few dollars (or whatever passes for money in Finland).
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: Suggestion: Implementing cuda support into love?
lololololsubrime wrote:That's a great idea! And it will really encourage all those people who are reluctant to upgrade to a Microsoft Vista ME 7 system... I'm getting a little frustrated the way those Linus users keep holding us back just because they want to save a few dollars (or whatever passes for money in Finland).
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Re: Suggestion: Implementing cuda support into love?
That made ... no sense.subrime wrote:That's a great idea! And it will really encourage all those people who are reluctant to upgrade to a Microsoft Vista ME 7 system... I'm getting a little frustrated the way those Linus users keep holding us back just because they want to save a few dollars (or whatever passes for money in Finland).
Finland? Microsoft Vista ME 7?
Re: Suggestion: Implementing cuda support into love?
You know, that crazy communist hacker who made the Linus and infected it with the GPL virus to destroy America! Well I read on the internets that he's hiding in Finland - probably cause it's the only place he can trick people since nobody there speaks english.
The only way to be safe is if Microsoft Clouds protects us with DRM and Trusty Computing, which I'm confident will be a big part of Microsoft Vista ME 7... even just the name of this new next generation pre-alpha operating system screams reliability and speed. And of course you can trust them because it's Microsoft!
The only way to be safe is if Microsoft Clouds protects us with DRM and Trusty Computing, which I'm confident will be a big part of Microsoft Vista ME 7... even just the name of this new next generation pre-alpha operating system screams reliability and speed. And of course you can trust them because it's Microsoft!
Re: Suggestion: Implementing cuda support into love?
Yeah, if you can't trust a corporation with your safety and well-being then who can you trust?subrime wrote:And of course you can trust them because it's Microsoft!
Now posting IN STEREO (where available)
Re: Suggestion: Implementing cuda support into love?
Oh. lolololololololsubrime wrote:You know, that crazy communist hacker who made the Linus and infected it with the GPL virus to destroy America! Well I read on the internets that he's hiding in Finland - probably cause it's the only place he can trick people since nobody there speaks english.
The only way to be safe is if Microsoft Clouds protects us with DRM and Trusty Computing, which I'm confident will be a big part of Microsoft Vista ME 7... even just the name of this new next generation pre-alpha operating system screams reliability and speed. And of course you can trust them because it's Microsoft!
Who is online
Users browsing this forum: No registered users and 2 guests