Re: [fonc] Physics and Types

2011-08-03 Thread Chris Warburton
On Tuesday 02 August 2011 00:43:57 BGB wrote: On 8/1/2011 3:24 PM, Simon Forman wrote: On 7/27/11, Chris Warburtonchriswa...@googlemail.com wrote: snip (maybe relevant but no really to comment). Another reason I would argue against something like types based on Physics is that Physics

Re: [fonc] Physics and Types

2011-08-03 Thread Chris Warburton
On Wednesday 27 July 2011 20:54:48 David Barbour wrote: On Wed, Jul 27, 2011 at 10:41 AM, Chris Warburton chriswa...@googlemail.com wrote: Locality: Mentioned in passing for relativity, but locality is a very useful property that holds for most Physics: stuff happens because of

Re: [fonc] Physics and Types

2011-08-03 Thread BGB
On 8/3/2011 7:32 AM, Chris Warburton wrote: On Tuesday 02 August 2011 00:43:57 BGB wrote: On 8/1/2011 3:24 PM, Simon Forman wrote: On 7/27/11, Chris Warburtonchriswa...@googlemail.com wrote: snip (maybe relevant but no really to comment). Another reason I would argue against something

Thread Clarification (Re: [fonc] Physics and Types)

2011-08-03 Thread BGB
sorry, just trying to clarify a few points... On 8/3/2011 9:57 AM, BGB wrote: in my own language, there is the async modifier which can (theoretically) be used for a lot of this: async function foo(x, y) { ... } where calls to foo implicitly create their own thread. async bar(x, 3); would

Re: Thread Clarification (Re: [fonc] Physics and Types)

2011-08-03 Thread Igor Stasenko
On 3 August 2011 21:04, BGB cr88...@gmail.com wrote: sorry, just trying to clarify a few points... On 8/3/2011 9:57 AM, BGB wrote: in my own language, there is the async modifier which can (theoretically) be used for a lot of this: async function foo(x, y) { ... } where calls to foo

Re: Thread Clarification (Re: [fonc] Physics and Types)

2011-08-03 Thread BGB
On 8/3/2011 1:04 PM, Igor Stasenko wrote: On 3 August 2011 21:04, BGBcr88...@gmail.com wrote: sorry, just trying to clarify a few points... ... sadly, the async modifier was used in the first incarnation of BGBScript (2004-2006), but was never fully reimplemented when the language was

Re: Thread Clarification (Re: [fonc] Physics and Types)

2011-08-03 Thread David Barbour
On Wed, Aug 3, 2011 at 9:57 AM, BGB cr88...@gmail.com wrote: maybe some good alternative is needed to the traditional threading and locks model so prevalent in modern mainstream languages. [...] now whether any of this could make threading easier to use... I really have little idea...

Re: Thread Clarification (Re: [fonc] Physics and Types)

2011-08-03 Thread David Barbour
On Wed, Aug 3, 2011 at 1:04 PM, Igor Stasenko siguc...@gmail.com wrote: it is pointless to spawn more than hardware can do, because these threads will just wait own turn to claim one of free cores and meanwhile just consume resources I agree, with exceptions: * blocking FFI calls * FFI that

Re: [fonc] Physics and Types

2011-08-03 Thread Simon Forman
On Wed, Aug 3, 2011 at 7:32 AM, Chris Warburton chriswa...@googlemail.com wrote: On Tuesday 02 August 2011 00:43:57 BGB wrote: On 8/1/2011 3:24 PM, Simon Forman wrote: On 7/27/11, Chris Warburtonchriswa...@googlemail.com  wrote: snip (maybe relevant but no really to comment). Another