zlacker

[return to "My fast zero-allocation webserver using OxCaml"]
1. smartm+tq[view] [source] 2026-02-02 14:06:19
>>noelwe+(OP)
From the article:

> I am also deeply sick and tired of maintaining large Python scripts recently, and crave the modularity and type safety of OCaml.

I can totally relate. Switching from Python to a purely functional language can feel like a rebirth.

◧◩
2. IshKeb+BI[view] [source] 2026-02-02 15:47:00
>>smartm+tq
OCaml isn't pure.
◧◩◪
3. pkal+JT[view] [source] 2026-02-02 16:36:39
>>IshKeb+BI
I recently realized that "pure functional" has two meanings, one is no side-effects (functional programmers, especially of languages like Haskell use it this way) and the other is that it doesn't have imperative fragments (the jump ISWIM to SASL dropped the non-functional parts inherited from ALGOL 60). A question seems to be whether you want to view sequencing as syntax sugar for lambda expressions or not?
◧◩◪◨
4. Neutra+961[view] [source] 2026-02-02 17:39:07
>>pkal+JT
I'm working with Python and I'm sympathetic to the problem so I'd be curious if you have examples of what Python issues are fixed with OCaml.
[go to top]