Fork me on GitHub
#clojure-uk
<
2020-06-14
>
folcon11:06:44

Morn’ =)…

manas_marthi12:06:26

hi all, I don't use C-b, C-f, C-p, C-n for cursor movements. I want to use them for expression evaluations. Did anyone try that. Does it break anything else?

folcon13:06:25

@dominicm so I’ve been thinking a bit more about this and speaking to some others (https://clojurians.slack.com/archives/C03S1KBA2/p1592006256244700), it seems scaling this the way we’ve been discussing is not straightforward… The ants system as designed is limited by the system thread count. I’ve been wondering if something more threadpool like is the way to go? I’ve not used core.async directly myself, so perhaps this is another way to do this? The model I’m thinking is splitting my design into two parts, agents and systems, the agents are basically ant-like things, ie individual entities that need to be modelled and the systems are the larger scale things that operate on the world the equivalent of pheromones in the ant model, in my case it would be things like running the markets to adjust pricing etc… So that to me says either a single threadpool for each group or two pools one for each type?

dominicm16:06:19

@folcon this stuff all depends :) The problem with agents is that they don't allow for cross-entity rules, e.g. "there can never be more than 5 people in a game".

folcon21:06:26

Yea, that’s fair, I suppose I could still use refs but untangled from Threads?