This is fine if all you care about is functions. Very little in Python is just functions though, and the same is true in C++. The issue with FFI is always adapting the different concepts from one language to another. I can't see how (or if they try) to unify other language's OOP with a functional language over the top. I like the idea though - one functional language to rule them all is a great dream!
Morloc: Foreign languages unified under common functional type system
11–20 of 22 posts
Re: Morloc: Foreign languages unified under common functional type system
#12Please make a Nix derivation so we don't have to think about those horrible installation instructions.
They look pretty simple: unless I’m missing something, it’s just ‘stack install’, plus a couple more commands for each language you want to use with morloc.
Re: Morloc: Foreign languages unified under common functional type system
#13Re: Morloc: Foreign languages unified under common functional type system
#14Re: Morloc: Foreign languages unified under common functional type system
#15Re: Morloc: Foreign languages unified under common functional type system
#16Morloc as in "more lines of code"?
From the git repo history it looks like the original name was "Loc", for "Language of Composition".
Re: Morloc: Foreign languages unified under common functional type system
#17I'm not sure how this works with functions that have side effects. Perhaps they're banned?
Re: Morloc: Foreign languages unified under common functional type system
#18Please make a Nix derivation so we don't have to think about those horrible installation instructions.
They look pretty simple: unless I’m missing something, it’s just ‘stack install’, plus a couple more commands for each language you want to use with morloc.
Re: Morloc: Foreign languages unified under common functional type system
#19From the README it seems that Python, C++, and R are supported. Which others? It seems like the documentation should have the definitive list, and explain what's supported in each language.
Re: Morloc: Foreign languages unified under common functional type system
#20This is fine if all you care about is functions. Very little in Python is just functions though, and the same is true in C++. The issue with FFI is always adapting the different concepts from one language to another. I can't see how (or if they try) to unify other language's OOP with a functional language over the top. I like the idea though - one functional language to rule them all is a great dream!
A proper reply to this comment would fill a very long blog post, and I'm currently on vacation, so I'll have to get back to you later.