[fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread fredvs
Hello. Some developers treat me as dinosaur because I use threads in place of doing parallelism. Huh, ok, but why parallelism is better and how to do it with fpc ? Thanks. Fre;D - Many thanks ;-) -- View this message in context:

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread fredvs
@Karoly Balogh (Charlie/SGR) Perfect, I have now all the arguments to defend the "Dinosaur Threading" choice. Thanks. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Threading-vs-Parallelism-tp5728018p5728025.html Sent from the

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread fredvs
> besides hardware parallelism, Is it possible, with fpc, to assign one processor (if multi) for a thread and say to the system to use this one only for the thread ? But maybe it will gives more problems than solutions. Fre;D - Many thanks ;-) -- View this message in context:

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 29 Mar 2017, fredvs wrote: > > besides hardware parallelism, > > Is it possible, with fpc, to assign one processor (if multi) for a > thread and say to the system to use this one only for the thread ? But > maybe it will gives more problems than solutions. Yes, it's called

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread fredvs
> I would not pay too much attention to what these developers are saying. Excellent idea, I will do the same ;-) > how software parallelism ( in the sense of true simultaneous execution ) > in a single process without using ( OS dependent ) threads can be achieved > ? Huh, it is exactly was

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, On 29/3/2017 9:57 μμ, fredvs wrote: Hello. Some developers treat me as dinosaur because I use threads in place of doing parallelism. Huh, ok, but why parallelism is better and how to do it with fpc ? a nice article I've found long ago when I was researching the same topic

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, On 29/3/2017 11:15 μμ, Michael Van Canneyt wrote: < snip > Showing nicely that parallelism in a single process implies threads. I would not pay too much attention to what these developers are saying. besides hardware parallelism, how software parallelism ( in the sense of true

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Michael Van Canneyt
On Wed, 29 Mar 2017, Dimitrios Chr. Ioannidis via fpc-pascal wrote: Hi, On 29/3/2017 9:57 μμ, fredvs wrote: Hello. Some developers treat me as dinosaur because I use threads in place of doing parallelism. Huh, ok, but why parallelism is better and how to do it with fpc ? a nice

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Ryan Gonzalez
Parallelism is what hipster Node programmers do, threads are everything else. /jk -- Ryan (ライアン) Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else http://refi64.com On Mar 29, 2017 1:57 PM, "fredvs" wrote: > Hello. > > Some developers treat me as

Re: [fpc-pascal] Threading vs Parallelism ?

2017-03-29 Thread Ryan Joseph
> On Mar 30, 2017, at 4:25 AM, fredvs wrote: > >> >> how software parallelism ( in the sense of true simultaneous execution ) >> in a single process without using ( OS dependent ) threads can be achieved >> ? > > Huh, it is exactly was I do not understand... Look at an