Re: Precompiled include files

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

Trying to understand how things work now:

  1. I write a program, say test.ex
  2. eushroud test.ex produces test.il
  3. eub test.il executes the "shrouded" file

The advantage of an .il file is that no parsing of source-code is needed and unused code is excluded; the result is faster startup compared to using eui test.ex .

The "current shrouding" is not the same as "historical shrouding." For example, a code number was used to make extra lines workable in the "old free" Euphoria interpreter.

It looks like Python lets you "compile" .py scripts into .pyc (which may be analogous to Euphoria .il code). (Python does not provide a real compiler like euc.) Python .pyc files skip parsing but do not improve program speed.

How practical would it be for eui to read .il files (say from a library) with the idea that some parsing time is saved?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu