TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Morloc: Foreign languages unified under common functional type system

93 pointsby agentofuseralmost 4 years ago

9 comments

rkangelalmost 4 years ago
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&#x27;t see how (or if they try) to unify other language&#x27;s OOP with a functional language over the top.<p>I like the idea though - one functional language to rule them all is a great dream!
评论 #27997458 未加载
评论 #28005656 未加载
Y_Yalmost 4 years ago
This idea is amazing, and amazingly ambitious.<p>I wonder if the morloc language (as distinct from the tool) really has to be a new language, or if it could be represented in Haskell or a more flexible variant like Agda or Idris.
scythmic_wavesalmost 4 years ago
Slightly off topic but the docs are really well formatted.<p>[0] Link: <a href="https:&#x2F;&#x2F;morloc-project.github.io&#x2F;docs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;morloc-project.github.io&#x2F;docs&#x2F;</a><p>[1] Code: <a href="https:&#x2F;&#x2F;github.com&#x2F;morloc-project&#x2F;docs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;morloc-project&#x2F;docs&#x2F;</a>
评论 #27997350 未加载
socoalmost 4 years ago
Morloc as in &quot;more lines of code&quot;?
评论 #27996825 未加载
otabdeveloper4almost 4 years ago
Please make a Nix derivation so we don&#x27;t have to think about those horrible installation instructions.
评论 #27996037 未加载
butterisgoodalmost 4 years ago
I&#x27;m not sure how this works with functions that have side effects. Perhaps they&#x27;re banned?
评论 #28004903 未加载
wydfrealmost 4 years ago
Sounds like someone was finally smart enough to tackle &quot;The Next 700 Libraries&quot;[0] problem.<p>[0]: <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;1622123.1622147" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;1622123.1622147</a>
skybrianalmost 4 years ago
From 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&#x27;s supported in each language.
评论 #28005412 未加载
dlahodaalmost 4 years ago
rust and haskell will love each other