Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Random Chitchat 2017
Post: RE: Random Chitchat 2017
Because the CPUs aren't clever enough to make things thread safe automagically. The only languages which provide automagic thread safety do so at the cost of significant overhead, speciallism, or a lo... |
|
worktycho |
Off Topic Discussion
|
335 |
239,873 |
05-05-2017, 09:30 AM |
|
|
Thread: Windows Lua location survey
Post: RE: Windows Lua location survey
Looking closer it does appear to be lib only. And if we're only going to use it to run build scripts just assuming its in path with a fallback to bundled is probably a simple solution. |
|
worktycho |
Development
|
7 |
7,104 |
07-17-2016, 06:34 AM |
|
|
Thread: Windows Lua location survey
Post: RE: Windows Lua location survey
Any reason not to use the FindLua module included with cmake? We have to ship with the source anyway because there is no guarantee that lua is installed, so using system lua is just an optimization. A... |
|
worktycho |
Development
|
7 |
7,104 |
07-11-2016, 05:09 AM |
|
|
Thread: Random Chitchat 2012-2016
Post: RE: What we're doing
So basically they're copying what clang does, so maybe they might be able to get on par with clang. |
|
worktycho |
Off Topic Discussion
|
4,863 |
3,683,048 |
05-10-2016, 01:44 AM |
|
|
Thread: Mandate Github "Squash and merge"
Post: RE: Mandage Github "Squash and merge"
|
worktycho |
Development
|
6 |
6,582 |
05-01-2016, 05:10 AM |
|
|
Thread: Smart chunk management
Post: RE: Smart chunk management
Would a plugin API be useful? When is someone going to run more than one instance of cuberite on the same machine? The only thing which has the information necessary to decide how much RAM we can use ... |
|
worktycho |
Development
|
13 |
12,703 |
04-27-2016, 01:44 AM |
|
|
Thread: Smart chunk management
Post: RE: Smart chunk management
I do not think that any approach that adjusts the RAM used based on players is sensible. How much we should use is really a function of total ram, and how much other apps need. We can use as much as i... |
|
worktycho |
Development
|
13 |
12,703 |
04-26-2016, 08:37 PM |
|
|
Thread: Smart chunk management
Post: RE: Smart chunk management
On Windows one thing we can do, is use CreateMemoryResourceNotification to adjust our memory usage based on system memory usage. I'm also wondering if we could do a better approach to handling unloadi... |
|
worktycho |
Development
|
13 |
12,703 |
04-26-2016, 08:35 PM |
|
|
Thread: Smart chunk management
Post: RE: Smart chunk management
NiLSPACE: The stable RAM approach is closer to a minimum than a maximum at the moment. If the non-unloadable chunks require more memory than the ram limit, we will use it.
The ideal scenario is tha... |
|
worktycho |
Development
|
13 |
12,703 |
04-26-2016, 07:47 PM |
|
|
Thread: Players Online in web site.
Post: RE: Players Online in web site.
That library should work with cuberite, as we also support the ping protocol. |
|
worktycho |
Off Topic Discussion
|
5 |
7,641 |
04-25-2016, 08:19 AM |
|
|
Thread: change cmake gcc flags?
Post: RE: change cmake gcc flags?
danny9484 Wrote: (04-07-2016, 11:35 PM)
--
ok march was a bad example. I also meant other experimental flags like -O3 and -ffast-math.
So do I have to add them to that line or is there another way t... |
|
worktycho |
Development
|
5 |
6,495 |
04-23-2016, 10:38 PM |
|
|
Thread: Concurrency - Lambda based message passing
Post: RE: Concurrency - Lambda based message passing
This seems like your halfway to an async/await style system. The multithread callbacks have a lot of issues with nesting if you use lambdas not promises, and captures will cause problems regardless. |
|
worktycho |
Development
|
13 |
11,416 |
02-19-2016, 11:14 AM |
|
|
Thread: ccache in CI
Post: RE: ccache in CI
I didn't pinpoint the problem. |
|
worktycho |
Development
|
31 |
27,335 |
01-28-2016, 08:14 AM |
|
|
Thread: ccache in CI
Post: RE: ccache in CI
It wouldn't help Travis, as they use a new container for each build. Also, we have had problems with ccache in the past, see: https://github.com/cuberite/cuberite/pull/2551 |
|
worktycho |
Development
|
31 |
27,335 |
01-28-2016, 04:35 AM |
|
|
Thread: safety of cMonster::m_Target
Post: RE: safety of cMonster::m_Target
I personally think we shouldn't keep non-owning pointers across ticks at all, let alone threads. The code for handling same thread notifications is unmaintainable as it is. |
|
worktycho |
Development
|
10 |
10,206 |
01-27-2016, 09:52 AM |
|
|
Thread: safety of cMonster::m_Target
Post: RE: safety of cMonster::m_Target
We could create a new entity with the same ID. |
|
worktycho |
Development
|
10 |
10,206 |
01-22-2016, 05:56 AM |
|
|
Thread: safety of cMonster::m_Target
Post: RE: safety of cMonster::m_Target
They tick in different threads. Which is why I think that teleport should be done by destroying the old entity, and creating a new one, rather than transfering the entity. |
|
worktycho |
Development
|
10 |
10,206 |
01-19-2016, 02:24 AM |
|
|
Thread: Multi version Support
Post: RE: Multi version Support
The 1.6EoS release won't as it predates the hints being added to the cmakelist. |
|
worktycho |
Discussion
|
18 |
14,671 |
01-18-2016, 09:07 PM |
|
|
Thread: Multi version Support
Post: RE: Multi version Support
If you downloaded the release, then you also need to download the associated libs. The easiest way of doing it is to use gits submodule functionality with the actual git repo. |
|
worktycho |
Discussion
|
18 |
14,671 |
01-17-2016, 11:52 AM |
|
|
Thread: Random Chitchat 2012-2016
Post: RE: What we're doing
Looks like the protocol was not designed for TCP. The fourth byte appears to be a fragmentation flag.
[hr]
Tiger: not after two years. It involved changing the ntpd config.
[hr]
But seriously, the bes... |
|
worktycho |
Off Topic Discussion
|
4,863 |
3,683,048 |
01-06-2016, 05:31 AM |