Re: [Gambas-user] Multithreaded Programs

2018-06-02 Thread Christof Thalhofer
Am 31.05.2018 um 23:37 schrieb Benoît Minisini: > "A Computer is a state machine. Threads are for people who can't program > state machines." - Alan Cox. > > :-) Great. You boys and girls are talking on the wrong ML. ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur

Re: [Gambas-user] Multithreaded Programs

2018-06-01 Thread PICCORO McKAY Lenz
2018-06-01 8:51 GMT-04:00 Jussi Lahtinen : > If no "quantum instructions" are used, it behaves just like normal > computer. > oh! then if are "not-multithreath" ... so need to be multi-threath then! in a quantum computer! > It would be much like some instruction set extension (like SSE etc).

Re: [Gambas-user] Multithreaded Programs

2018-06-01 Thread Jussi Lahtinen
No. It's still state machine. Everything is done instruction by instruction. If no "quantum instructions" are used, it behaves just like normal computer. It would be much like some instruction set extension (like SSE etc). So, maybe some clever optimizations for multi-threading, but no fundamental

Re: [Gambas-user] Multithreaded Programs

2018-06-01 Thread PICCORO McKAY Lenz
now if the machine are quantum based? umm that's may change all? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-05-31 20:01 GMT-04:00 Steve G via Gambas-user < gambas-user@lists.sourceforge.net>: > Most people don't ask for clarification when they believe there's an > insult

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
Most people don't ask for clarification when they believe there's an insult in there. Next time somebody calls you and ass I'd like to see if you clarify it with them but yes we should kill this dead horse again. You're welcome to put the last word if you'd like ⁣Sent from TypeApp ​ On May

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
My foul attitude comes from the belief that the original poster was insulting me which he explained he used terminology that apparently did not cross over from whatever culture to whatever culture. Although I do stand by my thought that programmers just have bad attitudes on all sides. Thank

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
> Or you could use terms that all peopleof all cultures understand ... > Unfortunately, there is no such thing. > ... and stop beating the dead horse. You used some kind of terminology > specific to one culture that was your mistake I took it as an insult my > mistake. Now the question is does

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
Or you could use terms that all peopleof all cultures understand and stop beating the dead horse. You used some kind of terminology specific to one culture that was your mistake I took it as an insult my mistake. Now the question is does this keep going or do we realize that we both spoke

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
Necromancing means act of rising very old thread back to life. It is not name calling, it is not insult. It was just stating the bad habit. And the old thread did contain the solution. You could have behaved and ask elaboration to it. Jussi On Fri, Jun 1, 2018 at 1:59 AM, Steve G wrote: > You

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
Btw, if you want to see practical example of one option what I explained (or at least tried to), then look how Task is used in Fractal named example. You can find it from software farm. And here you can find proper internet etiquette. https://www.youtube.com/user/commentiquette Jussi On Fri,

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
You actually put an answer in earlier that makes sense something I will look into. However your initial reply included name calling why don't you take a look back at something called "necromancer". As you put it in your reply it was very condescending and clearly meant to insult that is why you

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
> It is amazing how programmers are so petty. I went through and reread that > thread and I don't see any answers in there to what I'm trying to do. "You can write two separated gambas applications that communicate to each other." I explained it further with me second reply. > By the way

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
No, I actually figured out how to explain it. Hopefully. Computer is state machine, means that it is always in one state at a time. Nothing in it happens simultaneously. Everything is processed in line, but order in the line can change. Even interruptions are processed in line, even when they are

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
It is amazing how programmers are so petty. I went through and reread that thread and I don't see any answers in there to what I'm trying to do. By the way your insult was really not much of an insult. However I will give you a good one. You are a complete moron and socially inept. Instead of

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
I don't know how to explain the issue shortly, if you are not familiar with what state machine means. And if you do, I'm not sure what to explain further. However, here is practical answer to your problem. Gambas itself doesn't need to be multi-threaded to achieve such things. You can simply use

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
Please read the whole thread you necromanced, you don't need Gambas to support multi-threading for that. Jussi On Fri, Jun 1, 2018 at 12:27 AM, MacGyver via Gambas-user < gambas-user@lists.sourceforge.net> wrote: > I will give you a real life example of the need for multithreading. > > project

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Steve G via Gambas-user
I don't think I understood your reply or maybe there was no reply. If there was a reply then I'd love to hear your ideas on how to take care of this issue. Without threading. ⁣Sent from TypeApp ​ On May 31, 2018, 13:37, at 13:37, "Benoît Minisini" wrote: >Le 31/05/2018 à 23:27, MacGyver via

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Benoît Minisini
Le 31/05/2018 à 23:27, MacGyver via Gambas-user a écrit : I will give you a real life example of the need for multithreading. project to monitor status of computers on a network. this is done with a ping to each system from a timer. the result is either online or offline depending on ping

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread MacGyver via Gambas-user
I will give you a real life example of the need for multithreading. project to monitor status of computers on a network. this is done with a ping to each system from a timer. the result is either online or offline depending on ping results. The program is unresponsive to the user while multiple

Re: [Gambas-user] Multithreaded Programs

2009-11-08 Thread Pino Zollo
A computer is made of flip-flops (the very basic unit of memory). High level languages are for people who don't understand computers - those who understand them are perfectly happy with punched paper tapes and machine-level languages - Doriano Blengino. Object programming mimics the

Re: [Gambas-user] Multithreaded Programs

2009-11-05 Thread Jussi Lahtinen
Hmmm... interesting. Thanks for the link! Jussi 2009/11/5 Benoît Minisini gam...@users.sourceforge.net: I pretty much agree. Gambas as well as other RAD languages are very good for GUI programming, and generally for not CPU intensive purposes. If you really need speed, use libraries written

Re: [Gambas-user] Multithreaded Programs

2009-11-05 Thread Werner
Doriano Blengino wrote: Benoît Minisini ha scritto: I pretty much agree. Gambas as well as other RAD languages are very good for GUI programming, and generally for not CPU intensive purposes. If you really need speed, use libraries written with C/C++ or similar. BUT it would be very nice

Re: [Gambas-user] Multithreaded Programs

2009-11-04 Thread Jussi Lahtinen
You can write two separated gambas applications that communicate to each other. That way you can have two threads. If you want speed up your program, I suggest that you first measure where is the actual bottleneck. Then look better algorithm for that task. If not possible, consider to write C/C++