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.

Standard ML Family

105 pointsby rdpintqogeogsaaabout 3 years ago

7 comments

jjiceabout 3 years ago
I used SML in my compiler course in college. Our professors loved SML and maintains a pretty popular compiler for it, so he was a wealth of knowledge and helped us along the way, which made it a much more approachable language than if I were to embark on learning it myself.<p>Really shows the power for statically typed functional languages, and especially the power of sum types. Representing trees with sum types is so extremely powerful and makes writing compiler oriented code feel very natural. I haven&#x27;t used it since graduation, but if I had to write a compiler, I&#x27;d probably opt for an SML like language, like F#.
eatonphilabout 3 years ago
It would be great to see Julian Hyde&#x27;s Morel [0, 1] on this list as well.<p>And also WebML [2], SOSML [3], Bright-ML [4] (had to refresh my memory from my 2020 post on the topic [5]).<p>[0] <a href="http:&#x2F;&#x2F;blog.hydromatic.net&#x2F;2020&#x2F;02&#x2F;25&#x2F;morel-a-functional-language-for-data.html" rel="nofollow">http:&#x2F;&#x2F;blog.hydromatic.net&#x2F;2020&#x2F;02&#x2F;25&#x2F;morel-a-functional-lan...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;hydromatic&#x2F;morel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hydromatic&#x2F;morel</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;KeenS&#x2F;webml" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KeenS&#x2F;webml</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;SOSML&#x2F;SOSML" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SOSML&#x2F;SOSML</a><p>[4] <a href="https:&#x2F;&#x2F;github.com&#x2F;elpinal&#x2F;bright-ml" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;elpinal&#x2F;bright-ml</a><p>[5] <a href="https:&#x2F;&#x2F;notes.eatonphil.com&#x2F;standard-ml-in-2020.html" rel="nofollow">https:&#x2F;&#x2F;notes.eatonphil.com&#x2F;standard-ml-in-2020.html</a>
评论 #31057300 未加载
评论 #31060047 未加载
sgeisenhabout 3 years ago
Standard ML is incredibly usable but also very small (syntactically and semantically) especially compared with modern algol-family languages.<p>There are a couple of quality of life features missing (most notably is record update syntax), but I really enjoy that the core language has not changed in 25 years.
评论 #31064242 未加载
评论 #31056898 未加载
5-about 3 years ago
since i grew up with ocaml, i have found this page on its differences to sml rather informative:<p><a href="http:&#x2F;&#x2F;adam.chlipala.net&#x2F;mlcomp&#x2F;" rel="nofollow">http:&#x2F;&#x2F;adam.chlipala.net&#x2F;mlcomp&#x2F;</a>
评论 #31060390 未加载
kristianpabout 3 years ago
Is there a history of the original ML dialect out there somewhere? It&#x27;s surprisingly old, having first appeared in 1973 according to Wikipedia.[1]<p>[1] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;ML_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;ML_(programming_language)</a>
评论 #31060406 未加载
technocratiusabout 3 years ago
For those (like me) who had to look it up: ML stands for <i>meta language</i>
评论 #31059623 未加载
seanstromabout 3 years ago
As a fan of ML family languages I have a question for SML lovers. What do you typically build with SML?<p>For context, I’m web programmer and I’m also learning game dev, can I use SML productively?<p>Or are there other tasks that I could use SML for?
评论 #31057214 未加载
评论 #31057176 未加载
评论 #31058336 未加载
评论 #31057511 未加载
评论 #31056764 未加载
评论 #31057373 未加载
评论 #31058468 未加载