1. Threaded Euphoria

I know threading can be useful but it makes programming
more complex.  I wrote a script interpreter in JAVA to do
web page graphics. The threading was something I had to over
come, it hindered instead of helped.  If Robert ever added this
to Euphoria I would hope it would be a invoked option, like:
Threading=True
I would imagine it would be a major rewrite to get Euphoria to
do threads.  I personally can do without threads. 

Thanks,
Larry Mears

new topic     » topic index » view message » categorize

2. Re: Threaded Euphoria

I would praise Robert if we had threads...

I just finished a C program that couldnt be done without the use
of threads thats why I had to write it in C...

I've found threads to be fairly easy though I dont think I pushed its limits
either.

Euman
euman at bellsouth.net

----- Original Message ----- 
From: "Larry Mears" <LarryMears at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, October 18, 2001 14:13
Subject: Threaded Euphoria


> 
>    I know threading can be useful but it makes programming
> more complex.  I wrote a script interpreter in JAVA to do
> web page graphics. The threading was something I had to over
> come, it hindered instead of helped.  If Robert ever added this
> to Euphoria I would hope it would be a invoked option, like:
> Threading=True
> I would imagine it would be a major rewrite to get Euphoria to
> do threads.  I personally can do without threads. 
> 
> Thanks,
> Larry Mears
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Threaded Euphoria

the short definition for threads = simultaneous execution 
Its like haveing multiple programs running at the same time.
threads allow you to schedule priorities.

for instance,

I program PLC's (programmable logic controllers) and have machinery that operate
without operators on their own "like robots" each section must communicate with
other sections
incase something happens to a section the other sections wont pile up work for
the downed section.
This is what threads are capable of in the real world and I hope this helps
explain what threads are and what they do.
A Euphoria program could not do this labor intensive work without the use of
threads.

Grab a copy of the MS-SDK.

Euman
euman at bellsouth.net


----- Original Message ----- 
From: "Cassidy Napoli" <gonzotek at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, October 18, 2001 15:54
Subject: RE: Threaded Euphoria


> 
> Could someone explain what threads are, and how they fit into 
> programming in general, and why they aren't in Euphoria?  Not that I'm 
> complaining, I just don't know *anything* about them.
> 
> I come from a GWBasic/Hyperlogo/HyperStudio background, so all of my 
> experience comes from "simple" languages, if you'll pardon the 
> expression.  I also had a crack at an early prototype of what would 
> become Lego Mindstorms when I was in a "Youth-In-Sciences" type program 
> at The Franklin Institute, at least 9 years ago (I was 14 or 15).  That 
> was very interesting, but we only had about 5 weeks (two days a week) to 
> work with the materials before Lego came back and surveyed us and took 
> all our toys away :(.
> 
> Besides threads, what other programming structures/techniques/?things 
> can I expect to encounter while learning Euphoria, and then C, that will 
> be new, coming from my background?
> 
> 
> Thanks,
> -=Gonzotek=-
> euman at bellsouth.net wrote:
> > I would praise Robert if we had threads...
> > 
> > I just finished a C program that couldnt be done without the use
> > of threads thats why I had to write it in C...
> > 
> > I've found threads to be fairly easy though I dont think I pushed its 
> > limits
> > either.
> > 
> > Euman
> > euman at bellsouth.net
> > 
> > ----- Original Message ----- 
> > From: "Larry Mears" <LarryMears at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, October 18, 2001 14:13
> > Subject: Threaded Euphoria
> > 
> > 
> > >    I know threading can be useful but it makes programming
> > > more complex.  I wrote a script interpreter in JAVA to do
> > > web page graphics. The threading was something I had to over
> > > come, it hindered instead of helped.  If Robert ever added this
> > > to Euphoria I would hope it would be a invoked option, like:
> > > Threading=True
> > > I would imagine it would be a major rewrite to get Euphoria to
> > > do threads.  I personally can do without threads. 
> > > 
> > > Thanks,
> > > Larry Mears
> > > 
> > > 
> 
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: Threaded Euphoria

Euman:
Can you give an example of a job that unavoidable needs threads? I am
interested, for example, in what you want to accomplish with this C program.
----- Original Message -----
From: <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Threaded Euphoria


>
>
> I would praise Robert if we had threads...
>
> I just finished a C program that couldnt be done without the use
> of threads thats why I had to write it in C...
>
> I've found threads to be fairly easy though I dont think I pushed its
limits
> either.
>
> Euman
> euman at bellsouth.net
>
> ----- Original Message -----
> From: "Larry Mears" <LarryMears at hotmail.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, October 18, 2001 14:13
> Subject: Threaded Euphoria
>
>
> >    I know threading can be useful but it makes programming
> > more complex.  I wrote a script interpreter in JAVA to do
> > web page graphics. The threading was something I had to over
> > come, it hindered instead of helped.  If Robert ever added this
> > to Euphoria I would hope it would be a invoked option, like:
> > Threading=True
> > I would imagine it would be a major rewrite to get Euphoria to
> > do threads.  I personally can do without threads.
> >
> > Thanks,
> > Larry Mears
> >
> >
>
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: Threaded Euphoria

the short definition for threads = simultaneous execution 
Its like haveing multiple programs running at the same time.
threads allow you to schedule priorities.

for instance,

I program PLC's (programmable logic controllers) and have machinery that operate
without operators on their own "like robots" each section must communicate with
other sections
incase something happens to a section the other sections wont pile up work for
the downed section.
This is what threads are capable of in the real world and I hope this helps
explain what threads are and what they do.
A Euphoria program could not do this labor intensive work without the use of
threads.

Grab a copy of the MS-SDK.

Euman
euman at bellsouth.net


----- Original Message ----- 
From: "Cassidy Napoli" <gonzotek at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, October 18, 2001 15:54
Subject: RE: Threaded Euphoria


> 
> Could someone explain what threads are, and how they fit into 
> programming in general, and why they aren't in Euphoria?  Not that I'm 
> complaining, I just don't know *anything* about them.
> 
> I come from a GWBasic/Hyperlogo/HyperStudio background, so all of my 
> experience comes from "simple" languages, if you'll pardon the 
> expression.  I also had a crack at an early prototype of what would 
> become Lego Mindstorms when I was in a "Youth-In-Sciences" type program 
> at The Franklin Institute, at least 9 years ago (I was 14 or 15).  That 
> was very interesting, but we only had about 5 weeks (two days a week) to 
> work with the materials before Lego came back and surveyed us and took 
> all our toys away :(.
> 
> Besides threads, what other programming structures/techniques/?things 
> can I expect to encounter while learning Euphoria, and then C, that will 
> be new, coming from my background?
> 
> 
> Thanks,
> -=Gonzotek=-
> euman at bellsouth.net wrote:
> > I would praise Robert if we had threads...
> > 
> > I just finished a C program that couldnt be done without the use
> > of threads thats why I had to write it in C...
> > 
> > I've found threads to be fairly easy though I dont think I pushed its 
> > limits
> > either.
> > 
> > Euman
> > euman at bellsouth.net
> > 
> > ----- Original Message ----- 
> > From: "Larry Mears" <LarryMears at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, October 18, 2001 14:13
> > Subject: Threaded Euphoria
> > 
> > 
> > >    I know threading can be useful but it makes programming
> > > more complex.  I wrote a script interpreter in JAVA to do
> > > web page graphics. The threading was something I had to over
> > > come, it hindered instead of helped.  If Robert ever added this
> > > to Euphoria I would hope it would be a invoked option, like:
> > > Threading=True
> > > I would imagine it would be a major rewrite to get Euphoria to
> > > do threads.  I personally can do without threads. 
> > > 
> > > Thanks,
> > > Larry Mears
> > > 
> > > 
> 
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: Threaded Euphoria

Sorry If some of my more recent post appear again. I have no control over this
until My ISP finishes the update to the smtp server...

Euman
euman at bellsouth.net

new topic     » goto parent     » topic index » view message » categorize

7. Re: Threaded Euphoria

Hi All Dear Eu Users:

On this subject,

What about standard RDS's sched.e from langwar directory.
Is it too bad or somewhat else ?

Same about topaz?.zips, engine21.zip, ese.zip,
euthread.tar from the RDS Archive best contributors.

I like sched.e's multitasking idea, very clear and simple,
I think.

And I saw Java's threads - SOS! (JAVA NOW! by Kris Jamsa)

Why not sched.e ?
Maybe this and other libs above were discussed in the list,
I just don't know.

Multitasking (with fast powerful CPU) is very-very useful 
thing, but I don't think it must be built-in to (into?) 
the Eu interpreters if there are sched.e methods just now
and Eu really can provide this service -- play lw.ex and see.

Multitasking is OS's duty and it is not clear for me what
really does do {java & browser & windows & applet} system 
to move images in the browser's window and why java's threads
are much better than simple animated .gifs -- place ton
of gifs into your html and see ton of purest threads, no ?

Oh, yes, yes, gifs, all your gifs are licensed property
of another author, yes, sorry ... If you don't want risk,
use java's threads instead of gifs. 
Nobody know laws ... Only Bill ...

I think, Bill of MS just doesn't know what to do with extra
power of modern puters )-: ??? smile and just *slow* down a
poor floppy in W2k with ten extra threads (:ten, not ton:).

(-: just bad jokes of an operator of perpetual a 386 smile

But your CPU cycles, your floppy and your time are yours
properties, not Bill's.

Sorry please. But there is some positive sense in these
jokes and questions, no ?

Well, again, why not sched.e ?

Rob writes :

"This is perhaps the most interesting source file 
 since it shows a simple technique of task scheduling
 that could be used in any action game or simulation
 program. 
 We have implemented a form of cooperative multitasking
 to manage over 10 independent tasks. There is a task 
 that moves the Euphoria, another task ..."

-- just read please sched.e.  smile


Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

8. Re: Threaded Euphoria

On 21 Oct 2001, at 13:20, Igor Kachan wrote:

> 
> Hi All Dear Eu Users:
> 
> On this subject,
> 
> What about standard RDS's sched.e from langwar directory.
> Is it too bad or somewhat else ?
> 
> euthread.tar from the RDS Archive best contributors.
> 
> I like sched.e's multitasking idea, very clear and simple,

No matches in RDS archives.

Kat

new topic     » goto parent     » topic index » view message » categorize

9. Re: Threaded Euphoria


new topic     » goto parent     » topic index » view message » categorize

10. Re: Threaded Euphoria

On 21 Oct 2001, at 22:25, Igor Kachan wrote:

> 
> Hello Kat,
> 
> ----------
> > ïÔ: Kat <gertie at PELL.NET>
> > ëÏÍÕ: EUforum <EUforum at topica.com>
> > ôÅÍÁ: Re: Threaded Euphoria
> > äÁÔÁ: Sunday, October 21, 2001 20:40
> 
> > On 21 Oct 2001, at 13:20, Igor Kachan wrote:
> 
> > > 
> > > Hi All Dear Eu Users:
> > > 
> > > On this subject,
> > > 
> > > What about standard RDS's sched.e from langwar directory.
> > > Is it too bad or somewhat else ?
> > > 
> > > euthread.tar from the RDS Archive best contributors.
> > > 
> > > I like sched.e's multitasking idea, very clear and simple,
> > 
> > No matches in RDS archives.
> > 
> > Kat
> 
> Try please:
> 
> http://www.rapideuphoria.com/engine21.zip
> http://www.rapideuphoria.com/ese.zip

Hmmm....

> http://www.rapideuphoria.com/ethreads.tar  <-- yes, my bad, misprint

Linux.

> http://www.rapideuphoria.com/euphor22.zip  <-- sched.e, lw.ex game

Not in there.

Kat

new topic     » goto parent     » topic index » view message » categorize

11. Re: Threaded Euphoria


new topic     » goto parent     » topic index » view message » categorize

12. Re: Threaded Euphoria

On 21 Oct 2001, at 23:52, Igor Kachan wrote:
<snip>

> Kat, please look for euphor22.zip on RDS sites.

The euphor22.zip is there, but the files you said are in euphor22.zip are not 
in there.
 
> http://www.rapideuphoria.com/euphor22.zip  <-- sched.e, lw.ex game

Kat

new topic     » goto parent     » topic index » view message » categorize

13. Re: Threaded Euphoria


new topic     » goto parent     » topic index » view message » categorize

14. Re: Threaded Euphoria

On 22 Oct 2001, at 3:26, Igor Kachan wrote:

> 
> Hello Kat,
> 
> ----------
> > ïÔ: Kat <gertie at PELL.NET>
> > ëÏÍÕ: EUforum <EUforum at topica.com>
> > ôÅÍÁ: Re: Threaded Euphoria
> > äÁÔÁ: Sunday, October 21, 2001 23:18
> > 
> > 
> > On 21 Oct 2001, at 23:52, Igor Kachan wrote:
> > <snip>
> > 
> > > Kat, please look for euphor22.zip on RDS sites.
> > 
> > The euphor22.zip is there, but the files you said are in euphor22.zip are
> not 
> > in there.
> >  
> > > http://www.rapideuphoria.com/euphor22.zip  <-- sched.e, lw.ex game
> > 
> > Kat
> 
> There is Monday in Russia now, but yesterday, after your
> mail, I had downloaded euphor22.zip and looked for sched.e
> in the 0.dat file, I do not want reinstall Euphoria 2.2 on 
> my machine.
> 
> There WAS sched.e packed in 0.dat YESTERDAY, poor Beatles !!!!
> 
> And lw.ex WAS, YESTERDAY !!!!

Ok, i didn't look inside the .dat file.

> Maybe mice ?  On RDS site ?  

Heh smile
 
> Oh, Kat, if you want, I'll send to you these eaten files
> tomorrow.
> 
> Let me know please smile

I'll get them, thanks, Igor. smile

Kat

new topic     » goto parent     » topic index » view message » categorize

15. Re: Threaded Euphoria

the short definition for threads = simultaneous execution 
Its like haveing multiple programs running at the same time.
threads allow you to schedule priorities.

for instance,

I program PLC's (programmable logic controllers) and have machinery that operate
without operators on their own "like robots" each section must communicate with
other sections
incase something happens to a section the other sections wont pile up work for
the downed section.
This is what threads are capable of in the real world and I hope this helps
explain what threads are and what they do.
A Euphoria program could not do this labor intensive work without the use of
threads.

Grab a copy of the MS-SDK.

Euman
euman at bellsouth.net


----- Original Message ----- 
From: "Cassidy Napoli" <gonzotek at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, October 18, 2001 15:54
Subject: RE: Threaded Euphoria


> 
> Could someone explain what threads are, and how they fit into 
> programming in general, and why they aren't in Euphoria?  Not that I'm 
> complaining, I just don't know *anything* about them.
> 
> I come from a GWBasic/Hyperlogo/HyperStudio background, so all of my 
> experience comes from "simple" languages, if you'll pardon the 
> expression.  I also had a crack at an early prototype of what would 
> become Lego Mindstorms when I was in a "Youth-In-Sciences" type program 
> at The Franklin Institute, at least 9 years ago (I was 14 or 15).  That 
> was very interesting, but we only had about 5 weeks (two days a week) to 
> work with the materials before Lego came back and surveyed us and took 
> all our toys away :(.
> 
> Besides threads, what other programming structures/techniques/?things 
> can I expect to encounter while learning Euphoria, and then C, that will 
> be new, coming from my background?
> 
> 
> Thanks,
> -=Gonzotek=-
> euman at bellsouth.net wrote:
> > I would praise Robert if we had threads...
> > 
> > I just finished a C program that couldnt be done without the use
> > of threads thats why I had to write it in C...
> > 
> > I've found threads to be fairly easy though I dont think I pushed its 
> > limits
> > either.
> > 
> > Euman
> > euman at bellsouth.net
> > 
> > ----- Original Message ----- 
> > From: "Larry Mears" <LarryMears at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, October 18, 2001 14:13
> > Subject: Threaded Euphoria
> > 
> > 
> > >    I know threading can be useful but it makes programming
> > > more complex.  I wrote a script interpreter in JAVA to do
> > > web page graphics. The threading was something I had to over
> > > come, it hindered instead of helped.  If Robert ever added this
> > > to Euphoria I would hope it would be a invoked option, like:
> > > Threading=True
> > > I would imagine it would be a major rewrite to get Euphoria to
> > > do threads.  I personally can do without threads. 
> > > 
> > > Thanks,
> > > Larry Mears
> > > 
> > > 
> 
>

new topic     » goto parent     » topic index » view message » categorize

16. Re: Threaded Euphoria

On 18 Oct 2001, at 17:38, euman at bellsouth.net wrote:

> 
> the short definition for threads = simultaneous execution 
> Its like haveing multiple programs running at the same time.
> threads allow you to schedule priorities.

<snip>

Why am i getting echos?

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu