[HN Gopher] Cross-Compiling Common Lisp for Windows
       ___________________________________________________________________
        
       Cross-Compiling Common Lisp for Windows
        
       Author : todsacerdoti
       Score  : 65 points
       Date   : 2025-06-27 23:55 UTC (2 days ago)
        
 (HTM) web link (www.fosskers.ca)
 (TXT) w3m dump (www.fosskers.ca)
        
       | v9v wrote:
       | Lucid Common Lisp used to have cross-compilation features built-
       | in: https://www.dreamsongs.com/Files/cp.pdf
       | 
       | The approach is somewhat interesting: They model the different
       | platforms the code will run on as classes and set them up to
       | inherit from one another, which drives the optimization
       | possibilities, register allocations and the code generation.
       | Because of the inheritance, they claim that porting to
       | neighboring CPU families is easy since they don't have to
       | duplicate the code for the instruction set mappings, etc. and
       | only specialize the certain parts that are different.
        
       | aidenn0 wrote:
       | I'm going to be that guy and say "this isn't cross-compiling." I
       | was thinking "Why not just use Wine" when I clicked on the link,
       | and that's what they are doing.
        
       | haunter wrote:
       | Wouldn't Cosomoplitan be the true cross-compiling in this case?
       | 
       | https://github.com/jart/cosmopolitan
        
         | Asmod4n wrote:
         | no GUI lib for cosmopolitan libc yet, afaik.
        
       ___________________________________________________________________
       (page generated 2025-06-30 23:01 UTC)