batteries-included
Batteries Included project (by ocaml-batteries-team)
langs
By sal55
Our great sponsors
batteries-included | langs | |
---|---|---|
3 | 185 | |
509 | 85 | |
0.2% | - | |
6.6 | 9.3 | |
13 days ago | 9 days ago | |
OCaml | C | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
batteries-included
Posts with mentions or reviews of batteries-included.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-14.
-
Does type inference renders the code less readable ?
Here's a straight example: I've searched for a list of "awesome" OCaml libraries, chose "Batteries Included" which is apparently a widely-used OCaml library, and navigated to its source code on GitHub. Here's a random file:
-
F# (in)compatibility
Batteries Included got its implementation of Seq back in 2009: https://github.com/ocaml-batteries-team/batteries-included/commit/d67bfc69c79caa6b712ada4af0c6df604fb823b4
-
What would a principled imperative language look like?
Another example is imperative control flow. OCaml and SML only have basic loops, they don't have returns, breaks, continues. You can simulate them with exceptions, even in a generic way if you use some higher-order functions. Getting good performance for these kind of returns would rely on inlining this function and optimizing local exceptions, which OCaml probably doesn't do as of now.
langs
Posts with mentions or reviews of langs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
- How does the compiler know that an already typedefed ident is meant to be a new declarator?
- Compiler Case Study
- Making Simple Concepts Hard
- What makes a language easy for writing a parser?
-
Resources to understand mojo and compilers
The code is here. Note that the input filename is hardcoded in the source code.
- Automatic import of C headers —how to deal with macros?
- How does preprocessing work in a one pass compiler?
- 'Table Data' and 'X-Macros'
- Register Window in a Stack VM Interpreter
- My New IL
What are some alternatives?
When comparing batteries-included and langs you can also consider the following projects:
factor - Factor programming language
prolog-to-minizinc - A Prolog-to-MiniZinc translator
TablaM - The practical relational programing language for data-oriented applications
rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS
ocaml - The core OCaml system: compilers, runtime system, base libraries
vox - Vox language compiler. AOT / JIT / Linker. Zero dependencies
fslang-suggestions - The place to make suggestions, discuss and vote on F# language and core library features
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
wabt - The WebAssembly Binary Toolkit
c2rust - Migrate C code to Rust
xvm - Ecstasy and XVM