On Thu, Jul 11, 2013 at 2:04 PM, Anton Vodonosov <avodono...@yandex.ru>wrote:
>
> I think (hope) there are not so many places in CL which allow to couple
> the code with the host compiler.
> Maybe this example with most-postivive-fixnum (-negative-long-float, etc)
> is the only one?
> If so, it must be very very rare case.
>
It is not so rare. Take for instance code that uses type comparisons. A
macro may evaluate its constant arguments to determine whether they are of
type fixnum and this result depends on the platform. I am pretty sure that
those checks are quite pervasive in the libraries out there. There is also
code that checks for the existence of certain specialized arrays (clx most
notably) and creates buffers and constants based on that decision. This
once more demands that target and host be tightly coupled: i.e. similar
endianness, word size, etc.
What I mean is that people write code based on the assumption that they
can, at runtime, learn things about the platform they will run on. If the
target and host are quite different, these compile-time assumptions will be
broken.
Of course those assumptions can be parameterized in the library, but this
cannot be automated by the platform that runs the compiler (ECL)
Juanjo
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list