Skip to content

Instantly share code, notes, and snippets.

@JeremyOttley
Created February 13, 2025 16:45
Show Gist options
  • Save JeremyOttley/a759fa208e0cf5590a599fee5c3b1667 to your computer and use it in GitHub Desktop.
Save JeremyOttley/a759fa208e0cf5590a599fee5c3b1667 to your computer and use it in GitHub Desktop.
SML compiler differences
Implementation Primary Use Case Key Strengths Limitations
MLton Production Applications • Best runtime performance
• Efficient native binaries
• Good standards compliance
• Slow compilation speed
• No REPL environment
• Complex multi-file builds
Poly/ML Development & Learning • Fast compilation speed
• Interactive REPL environment
• Simple build process
• Slower runtime performance (2-3x slower than MLton)
• Larger binary sizes
SML/NJ Research & Academia • Mature ecosystem
• Good documentation
• Strong academic support
• Complex compilation manager
• Larger binary sizes
Moscow ML Lightweight Projects • Simple setup
• Small footprint
• Easy to use
• Limited module system support
• Slower performance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment