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.

MLton Compiler Overview

114 pointsby undecidabotabout 7 years ago

6 comments

Athasabout 7 years ago
This is a very nice wiki. I am implementing an ML dialect myself, and studying the implementation of MLkit, MosML, and Mlton has been very enlightening. I work with the maintainers of the former two, but my compiler has ended up being more like Mlton in its design.
评论 #16734823 未加载
mattnewtonabout 7 years ago
Oh wow, I had Professor Fluet in college, and taught me functional programming concepts in haskell and lisp. Cool to see his work on the front page of Hn.<p>In addition to being a smart guy he was a really good professor. I really enjoyed the class (survey of many different paradigms), even if I did come away jaded and thinking that all the standard languages I have used in my career since are poor approximations of what they could be!
评论 #16736829 未加载
rwmjabout 7 years ago
With work-in-progress support for RISC-V: <a href="https:&#x2F;&#x2F;github.com&#x2F;agoode&#x2F;mlton&#x2F;commits&#x2F;riscv-wip" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agoode&#x2F;mlton&#x2F;commits&#x2F;riscv-wip</a>
评论 #16737625 未加载
nickpsecurityabout 7 years ago
The highest-performing compiler for ML&#x27;s is MLton. The highest-correctness compiler is CakeML. Anyone looking for an interesting project in compilers and verification should consider porting some MLton techniques to CakeML.<p><a href="https:&#x2F;&#x2F;cakeml.org" rel="nofollow">https:&#x2F;&#x2F;cakeml.org</a>
评论 #16736873 未加载
sevensorabout 7 years ago
I don&#x27;t know compilers, but this seems like a lot more steps than I would have expected. Is it actually an unusually large number of transformations, or is that just how compilers are done?
评论 #16734815 未加载
评论 #16737466 未加载
评论 #16735992 未加载
评论 #16734371 未加载
评论 #16734395 未加载
nikofeynabout 7 years ago
i have seen some work regarding a real-time version of mlton. i would love to see this work done more because nothing would please me more to be able to do embedded systems with an ML language.