Re: 2.6 feature request: foreach (off topic)
- Posted by Jason Gade <jaygade at gmail.com> Jul 15, 2005
- 462 views
Vincent wrote: > > > posted by: Vincent <darkvincentdude at yahoo.com> > > Robert Craig wrote: > >> Vincent wrote: <snip> > In most bentchmarks, PB would be Euphoria by a long shot, perhaps even beat > C/C++ in a few, because the code is converted directly to optimized > ASM before being compiled. It just seems that linked lists might not > be all that efficent internally. > You forget that most C/C++ compilers also convert their code directly to *optimized ASM* before being compiled. That's what all of those -O options do on your compiler. I highly doubt if any BASIC could outperform properly written C/C++ in a significant project. The key to Euphoria, and to a lesser extent BASICS, is the removal of the manual memory management you have to use for any reasonably sized program. If you want to move beyond Euphoria, I would suggest D or C for speed, Java or Python for cross-platform simplicity. If you like BASIC though, there's always Freebasic http://www.freebasic.net/ or David Cuny's wxBasic http://wxbasic.sourceforge.net/ > Regards, > > Vincent > > ---------------------------------------------- ___ __________ > ___ /__/\ /__________\ |\ _\ \::\'\ > //::::::::::\\ |'|::| \::\'\ //:::_::::_:::\\ |'|::| \::\'\ > //::/ |::| \::\\ |'|::| \::\'\ //::/ |::| \::\\|'|::| > \::\'\__//::/ |::| \::\|'|::| \::\','/::/ |::| > \::\\|::| \::\_/::/ |::| \::\|::| \::,::/ |::| > \:::::| \___/ |__| \____| > > .``. ',,' -- ============================== Too many freaks, not enough circuses. j.