hobbes
sexp
hobbes | sexp | |
---|---|---|
4 | 3 | |
1,175 | 44 | |
0.1% | - | |
5.7 | 5.2 | |
3 months ago | 4 months ago | |
C | OCaml | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hobbes
- Hobbes: Comprehensions
-
My Thoughts on OCaml
https://github.com/morganstanley/hobbes
Things like structural equality and ordering are user functions here rather than magic internal definitions (e.g. equality is defined as a type class, and type class instances can deconstruct algebraic types at compile time to decide how to implement instances). But evaluation is eager by default, so it's pretty easy to reason about performance. And data structures can be persisted to files and/or shared transparently in memory with C/C++ programs without translation, also very convenient for the places where this was used. Actually we built some very big and complicated time series databases with it, used in both pre and post trade settings where ~15% of daily US equity trades happen. So I think these observations are useful and have passed through some pretty significant real tests.
-
C++ source code generation (focus on financial market data)
Have a look at Hobbes from Morgan Stanley
-
Peridot: A functional language based on two-level type theory
https://github.com/morganstanley/hobbes
This approach has several benefits, but there's a lot of appeal also to the way they're doing it, to have the same PL across stages (and then maybe have more than just two stages).
sexp
- My Thoughts on OCaml
- The YAML Document from Hell
-
Better logging for OCaml + Async
There's a tool sexp that Jane Street uses internally to slice and dice sexp logs, but, yes, I get that there aren't logging services out there that support sexps. They should, though, as sexps have unique advantages over JSON. They tend to be more human-readable too. Great blog post overall!
What are some alternatives?
dream-html - Type-safe markup rendering, form validation, and routing for OCaml Dream web framework
base - Standard library for OCaml
hail - A service for pull-based continuous deployment based on hydra.
sxpyr - Parse s-expressions, edn, and a variety of lisp dialects.
peridot - A fast functional language based on two level type theory
nestedtextto - CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting