GaloisInc / HaLVM

The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen
BSD 3-Clause "New" or "Revised" License
1.05k stars 88 forks source link

Any example of WAI on HaLVM? #43

Closed cies closed 9 years ago

cies commented 9 years ago

I'm curious if there are any obstacles from WAI being used on HaLVM. I understand why Yesod would be problematic, but wonder if WAI would also be problematic or simply not yet done in a public repo that I can find.

Thanks!

thumphries commented 9 years ago

The only thing that seems immediately problematic to me is the network dependency. Swapping that out for network-hans will probably get you most of the way there.

WAI backends might be a problem. It looks like it would require some porting effort to get Warp running, since it uses some unix machinery that the HaLVM doesn't support, and probably expects a filesystem.

cies commented 9 years ago

Thanks for the quick reply!