Re: ooeu [was Re: Proposal for math.e (2007-08-23)]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Kat wrote:
> > 
> > CChris wrote:
> > > 
> > > As for string execution, did you look at Matt's OOEu variant?
> > 
> > Yes, i did, and i like OOEU a lot. OOEU's oop-ish if you like, 
> > but it isn't if you don't want. I like that implementation of classes a lot.
> > 
> > But.. it can be *extremely* slow at some things. I suspect converting 
> > it to the newer Eu versions would speed it up, since most of the lag 
> > seems to be in memory allocation when dealing with dozens of megabytes 
> > of data coming in.
> 
> The issue is that I haven't ported the eval() functionality to the C-based
> backend yet.  I think it's possible (at least for interpreted code), but
> there are some serious changes that need to be made.  

But even loading a disk file into an array already made with repeat(), 
the bigger the file, the slower it goes, drastically. I am talking about 
a 34megabyte file in this case, but i have files 100x that big.

<snip>

> > I hope all of OOEU appears in some form in openeu, with appropriate 
> > credits to Matt.
> 
> Thanks.  I think certain things should be left out, like some of the 
> dynamic goto stuff.  I think the static gotos are a good thing to add,
> or at the minimum, a more structured form of them for things like exiting 
> loops with more flexibility and power than we currently have.  There are
> also some changes that I would make to the way OOP works to make it 
> better.

As usual, i'd prefer all of it be included. While the dynamic goto 
is used rarely, that's not because it isn't needed in the cases it's used.
I needed it way back in C64 days, and wrote enough peeks and pokes to 
modify the oem rom code to make it happen. As for Euphoria, it makes a 
handy case() statement as well. 

I suppose there's no need to restart a flame war about goto, 
so i won't argue it anymore, i'll just say i want it.

It was me, i confess,
and you prolly figured out, i emailed CK to add goto to the bounty site.
It doesn't make sense to throw away good code you already wrote 
just because a few people won't use it.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu