News for hackers. Stuff that matters.
Re:OCaml at Bloomberg by EduardoRFS on Monday August 23, 2021 @05:21PM (#28282141)
OCaml is much faster than Go in the bytecode mode, as you have interfaces files which drastically simplify the typing process.

The compiling pipeline of bytecode is basically typing -> lambda -> bytegen

Bytegen is really close to what Zinc does.

Re:OCaml at Bloomberg by reecko on Tuesday August 24, 2021 @02:31AM (#28285729)
> OCaml is much faster than Go in the bytecode mode

But doesn't the compiled code run slower in bytecode mode? I think that counts.

Re:OCaml at Bloomberg by pjmlp on Tuesday August 24, 2021 @03:30AM (#28285993)
Sure it does, bytecode is meant for development not for production builds.

The healthy mix of interpreter/JIT/AOT backends is what many languages miss on their toolchains.