[HN Gopher] Calling Haskell from Swift
       ___________________________________________________________________
        
       Calling Haskell from Swift
        
       Author : romes
       Score  : 50 points
       Date   : 2024-04-02 18:05 UTC (4 hours ago)
        
 (HTM) web link (alt-romes.github.io)
 (TXT) w3m dump (alt-romes.github.io)
        
       | veryrealsid wrote:
       | My CS professor would be proud
        
       | arulpugazh wrote:
       | The blog is so neat and pretty!
        
       | wk_end wrote:
       | This is pretty cool. In FP there's a pattern called "functional
       | core, imperative shell" [0]; here, you can build your "functional
       | core" in Haskell and your imperative shell in a language which -
       | depending on your preferences, some might say - is a little more
       | suitable for building an imperative shell. Because it uses JSON
       | as the "wire format" between the two languages, you can then
       | easily build out a different imperative shell for whichever
       | platforms you want to support.
       | 
       | [0]
       | https://www.destroyallsoftware.com/screencasts/catalog/funct...
        
       | frizlab wrote:
       | I always flinch when I see Xcode written with a capital C!
       | 
       | The post is interesting otherwise.
        
         | newZWhoDis wrote:
         | Makes sense, if I was Apple I wouldn't want to emphasize the
         | "code" part of Xcode either.
         | 
         | I've used a lot of IDEs in my day, and it was hands down the
         | worst.
        
           | adamnemecek wrote:
           | Xcode is pretty good these days.
        
       | bsaul wrote:
       | That's nice, except for swift's abysmal json encoding / decoding
       | performance.
        
       ___________________________________________________________________
       (page generated 2024-04-02 23:00 UTC)