Search found 2897 matches

by slime
Fri Nov 26, 2021 8:43 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 2039

Re: Have you coded a block chain for fun?

What is blockchain? Like security? Why was Slime all https://i.kym-cdn.com/entries/icons/original/000/007/423/RageFace.jpg The other thread was talking about it in terms that end up being indistinguishable from one of either scammers, money launderers, or ignorant people who are being used by the f...
by slime
Sat Nov 20, 2021 5:01 pm
Forum: Support and Development
Topic: Shader caching ?
Replies: 6
Views: 1080

Re: Shader caching ?

None. That's not really true. LÖVE caches the parse results of vertex and pixel shader code in memory while it's running (so there is a form of caching there) - it avoids a bit of work if you have a lot of different pixel shaders which all use the same vertex shader, for example. It does not save a...
by slime
Fri Nov 12, 2021 6:00 pm
Forum: General
Topic: Blockchain gaming, the future?
Replies: 1
Views: 1345

Re: Blockchain gaming, the future?

No.
by slime
Sun Oct 31, 2021 4:45 pm
Forum: Support and Development
Topic: Compute shaders support
Replies: 4
Views: 2280

Re: Compute shaders support

love 12 will support compute shaders - you can find a prerelease build with them here (you might need to be logged into github) https://github.com/love2d/love/actions/runs/1368852386#artifacts APIs aren't documented aside from in commit messages yet. A couple people in the discord server have made s...
by slime
Sat Oct 09, 2021 9:37 pm
Forum: Support and Development
Topic: [Solved]Löve performance issues on Ubuntu/Linux ?
Replies: 9
Views: 3792

Re: [Solved]Löve performance issues on Ubuntu/Linux ?

So there was a loop doing 432 times the exact same thing, i could imagine an optimizer should kick in and disable this loop for you automatically. So you really do have an issue on ubuntu, this optimizer does not work. No, just because a loop calls a function with the same inputs multiple times, do...
by slime
Tue Sep 28, 2021 11:28 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 7071

Re: love.timer.sleep resolution test

Is it really a significant advantage to wait for 1 ms and do a busy wait for 15.666 ms? Anyway, that sleep doesn't really bother me. If I have to remove it (hasn't been the case so far), I can just monkey-patch love.timer.sleep. Yes. Personally I'd recommend customizing love.run rather than monkeyp...
by slime
Tue Sep 28, 2021 9:32 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 7071

Re: love.timer.sleep resolution test

An obvious way to allow easier control would be a love.conf setting for the sleep duration. What would you set in love.conf other than 0 or 1/1000? I suppose you just mean a toggle rather than specifying the duration? If that's no good then maybe there should be no sleeping when vsync is enabled. I...
by slime
Tue Sep 28, 2021 12:55 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 7071

Re: love.timer.sleep resolution test

If you have a suggestion that's more robust while providing similar benefits I'm interested, but as-is the heat / battery drain / CPU usage benefits far outweigh the ~1ms extra cost in my opinion. Apps that struggle to keep below 16ms/frame can opt in to remove the 1ms sleep if they want. The 2ms sl...
by slime
Mon Sep 27, 2021 12:50 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 7071

Re: love.timer.sleep resolution test

love - via SDL - calls timeBeginPeriod(1) in its own process in order to allow Sleep to work when 1ms is requested on Windows, so the article in the original post doesn't really apply since it's just talking about a change to what happens to other processes. That being said you should never rely on ...
by slime
Sun Sep 26, 2021 9:48 pm
Forum: Support and Development
Topic: OpenGL Deprecated
Replies: 4
Views: 2295

Re: OpenGL Deprecated

The warning doesn't prevent any Xcode or app functionality from working as far as I know, so the reason for your Archive step failing is probably something else.