Daniil Baturin on Nostr: LisPi OCaml has an interesting approach in that regard. It has an official bytecode ...
LisPi (nprofile…2mzm) OCaml has an interesting approach in that regard. It has an official bytecode target, and they include a bytecode executable of the compiler and C code for a bytecode interpreter, so it's possible to bootstrap it on any system that has at least a somewhat sane C compiler.
That's also what allows OPAM to create a compiler installation on any machine that doesn't have a system-wide OCaml installation and may not even have it officially packaged yet.
Published at
2025-02-13 11:39:18Event JSON
{
"id": "9767768e640e1e1c6aa1888270065b4d19f768d3d99ca1a808c1c6254e94e085",
"pubkey": "2b2d2ca0fe4e15604321441555642e1b07c356c7ecd11dd0d4eb0486b5ec01b0",
"created_at": 1739446758,
"kind": 1,
"tags": [
[
"p",
"c72a3d0565a87f8b46ac5b8ab88a45f56cf67de2398a8cba8c6855cb3a39b0ea",
"wss://relay.mostr.pub"
],
[
"e",
"abe4af5ea4b6bb9261293613c6e6374e538ce15c2e89f78e312039a5097562c7",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://functional.cafe/users/dmbaturin/statuses/113996382767977318",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqcu4r6pt94plck34vtw9t3zj974k0vl0z8x9gew5vdp2ukw3ekr4qct2mzm OCaml has an interesting approach in that regard. It has an official bytecode target, and they include a bytecode executable of the compiler and C code for a bytecode interpreter, so it's possible to bootstrap it on any system that has at least a somewhat sane C compiler.\nThat's also what allows OPAM to create a compiler installation on any machine that doesn't have a system-wide OCaml installation and may not even have it officially packaged yet.",
"sig": "7908ce7f7cbc56f68f8c097489e0f03e93af6bd8a6728aeebb9a09c270ad7b94496643c473747e26bdbbb4b9393f66eaede067edf1bd6f99222651730601c3fc"
}