On Thu, Jul 11, 2013 at 3:31 PM, Anton Vodonosov <avodono...@yandex.ru>wrote:
> Maybe it is impossible to give a 100% guarantee to cross compile any CL
> code.
> But I guess more than 93% of useful libraries are not affected but such
> issues and
> can be cross-compiled as is, without even tuning them.
>
You know, as well as I do, that failure of a couple of libraries can ruin
quite many other dependencies :-)
> I am curious to know what are the specialized arrays? (used in clx)?
>
Buffers, prebuilt data, etc.
Note, that the target has the same runtime library - ECL.
> So the most troublesome things for cross compilation are properties
> of the underlying platform that are visible through the CL;
> not the properties of the given CL implementation.
>
I agree, but they are there.
> And the underlying platform is abstracted very much by CL.
> Endiannes is abstracted by function cl:ldb - zero byte is the less
> significant
> byte of an integer, doesn't matter how the integer layed out in memory.
>
Not really. There is code out there that uses endianness to write down data
from 32-bit buffers in one way or another. How binary files are written
depends on platform dependent details. Similar to the built int type
classes, such as integer types or specialized arrays.
> So I still think cross-compilation of Lisp code has significant potential.
>
I do not deny it. I just simply say that lisp coders are not used to write
code that works that way-
> Mocl is even trying to make business on it.
>
And they are forced to cooperate with library authors revising what they do.
> On the other hand, it is not always necessary. Loading the system
> from source code on target and running interpretter may be OK for many
> applications.
Totally agree. We are saying the same thing, just exposing different
aspects of the same problem.
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