Euphoria as a Rapid Deployment language?

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

I recently had to code this function in C that, well,
pulled the last ounce of strength in me...
It was buggy as hell, because of poor array handling
in C.
I was reallocating chunks of memory, throwing pointers
and byref variables trough the air, etc.
Hard as hell.

I got pissed off at C and decided to implement the
routine in Euphoria, just for the crap of it.
Wha?
It took me 1 minute to code this routine in Euphoria,
and it ran perfectly, just as I expected it to run.
But this did me no good, the code was part of a weird
scripting language, the parser to be exact, and for
speed it can only be coded in C, not Euphoria.

"But wait", I thought, "Can't I just write this one
routine in Euphoria, and the rest in C?".

So that's what I did.
And it works exellent now.
On all three platforms.
But it was hard to interface the Eu code to C...

So what I'm getting at is, Euphoria could be used as a
RAD tool for C programmers that need to implement
dangerous routines more safely.
*IF* a future translator allows better/automatic 
Euphoria To C interfacing support.
And offcourse, C is mainly used because of its
portability, so the translator should emit portable
code only, no extra compiled libraries.

I must say I'd pay even 300 dollars as a C programmer
for a tool that lets me code my large and difficult C
routines as small, easy Euphoria routines, and let me
code the more speed sensitive stuff in C.



Mike The Spike
PS. I know that in Linux and Win32 you can call Eu
code from C programs (DLLs) using callbacks, but what
about DOS32 then? And future supported platforms?

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

____________________________________________________________
T O P I C A  -- Learn More. Surf Less. 
Newsletters, Tips and Discussions on Topics You Choose.
http://www.topica.com/partner/tag01

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

Search



Quick Links

User menu

Not signed in.

Misc Menu