3 ms·
OCAML is used extensively for high-frequency trading, so indeed functional languages are used all the time in low latency settings. Galois has done work in Has
by tbenst 5y ago
OCAML is used extensively for high-frequency trading, so indeed functional languages are used all the time in low latency settings.
Galois has done work in Haskell for developing hard real-time applications. Here’s a dataflow language they built for example: https://leepike.github.io/pub_pages/rv2010.html https://leepike.github.io/pub_pages/rv2010.html
- spopejoy 5y agoIt looks like Copilot is an EDSL for making C99 programs. I would think both OCAML and Haskell (and Java for that matter), as GC'd runtime langs, would be unsuitable for realtime "out of the box". The best marriage of functional concepts and realtime I've seen is Supercollider (https://supercollider.github.io/ https://supercollider.github.io/) which basically has a smalltalk-like lang control a realtime backend. I'd love to see something like this for Haskell + Faust!
- tbenst 5y agoThanks for the comment, supercollider is really neat! Also just learned about Tidal Cycles, a Haskell library that builds on SuperCollider with a higher level functional syntax.