by optbuild on 5/26/23, 5:03 AM with 30 comments
by jstrieb on 5/27/23, 3:12 AM
For those interested in parallel, functional programming, I recommend taking a look at Futhark, which leverages data parallelism to make very fast parallel programs. It is based on SML, and has similar syntax, but can automatically build programs that (among other targets) run on the GPU using CUDA or OpenCL. It is also worth checking out MPL, which extends the (already awesome) whole-program optimizing compiler MLton to add support for nested, fork-join parallelism.
by azdavis on 5/27/23, 3:59 AM
There’s also https://smlhelp.github.io/book/ which is mostly put together by current/past CMU students.
Note: I made Millet.
by assbuttbuttass on 5/27/23, 2:57 AM
For something truly mind bending, try understanding this implementation of printf in SML: http://mlton.org/Printf
by talhah on 5/27/23, 10:16 AM
Compared to other functional langauges, it doesn't seem as popular.
by sn41 on 5/27/23, 3:40 PM
is a very strange English sentence to write. It actually sounds like the very famous opening line of Julius Caesar's "Commentary on the Gallic War" (which is prescribed as a model of Latin composition)
"All Gaul is divided into three parts..."
[1] https://en.wikisource.org/wiki/Commentaries_on_the_Gallic_Wa...
by AdieuToLogic on 5/27/23, 2:31 AM
by nequo on 5/27/23, 3:56 AM
$ sudo apt install smlnj
$ sml
Standard ML of New Jersey v110.79 [built: Sat Oct 26 12:27:04 2019]
-
and you can hit the ground running.by slavapestov on 5/27/23, 3:34 PM
by zelphirkalt on 5/27/23, 1:53 PM
Instead I looked for a book for beginners in Standard ML and found "Elements of ML Programming" to be quite good.
by mattpallissard on 5/29/23, 6:44 AM
I use OCaml over SML these days although I've always thought that SML had slightly nicer syntax.
by GnarfGnarf on 5/27/23, 1:08 PM
by wirrbel on 5/27/23, 7:25 AM