Pain Points of OCaml
quamserena.com·13w·

I am currently looking for a job! If you’re hiring a new grad in 2026 for for Rust, TypeScript, or React, feel free to shoot me an email at serena (at) quamserena.com.

I’ve been writing a compiler in OCaml for the language described by the dragon book for a class, and now that I’m about halfway through it I’ve found myself missing Rust in a few spots. In no particular order, the pain points I’ve hit while using OCaml:

Syntax

The OCaml syntax is... not great, its only redeeming quality being that it has no significant whitespace. There are some alternative syntax frontends for OCaml like ReasonML that fix these problems, but I didn’t know about them before starting the project. let...in syntax is weird, but I can chalk that up to an aesthetic choice; the real devil is i…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help