1. sprint, value, and get

Why euphoria has no built-in routine for sprint(), it must include
misc.e, but print() is built-in.

Why euphoria has no built-in routine for value() and get() that is
slow by using include get.e, although i'm sure euphoria can do that
by using the same procedure for parsing the *.ex* files (faster).

Are those will be built-in in version 2.3?

new topic     » topic index » view message » categorize

2. Re: sprint, value, and get

Aku writes:
> Why euphoria has no built-in routine for sprint(), it must include
> misc.e, but print() is built-in.
> Why euphoria has no built-in routine for value() and get() that is
> slow by using include get.e, although i'm sure euphoria can do that
> by using the same procedure for parsing the *.ex* files (faster).

I like to code routines in Euphoria when it won't hurt 
the speed of typical programs. Coding in Euphoria is
easier, and it allows people to see how the 
routine works, and modify it if necessary.

sprint(), value() and get() are all closely associated with I/O.
When you are doing I/O you have disk access etc slowing you down.
Coding in C won't help you that much.

I suppose I could have written print() in Euphoria too,
but I need an internal C version of print() anyway,
for the trace and ex.err dumps.

> Are those will be built-in in version 2.3?

No.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu