3 ms·
One thing that helps OCaml here is that it requires definitions to precede usage (like C/C++). Go and most other languages don't have this requirement. Perhaps,
by reecko 5y ago
One thing that helps OCaml here is that it requires definitions to precede usage (like C/C++). Go and most other languages don't have this requirement. Perhaps, this results in faster symbol table lookups. Moreover, OCaml boxes everything and doesn't produce monomorphized code for generic types. OCaml's code generation is also much simpler than the likes of LLVM or GCC.
- Zababa 5y ago> One thing that helps OCaml here is that it requires definitions to precede usage (like C/C++). I think this is due to the influence of Pascal and/or Modula on the language.