OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?
OCaml on Baremetal Shakti RISC-V Processor
21–30 of 77 posts
Re: OCaml on Baremetal Shakti RISC-V Processor
#22Ironically, the bootloader is still assembly with C++. Then again, maybe that is not the interesting thing to do in OCaml.
Re: OCaml on Baremetal Shakti RISC-V Processor
#23OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?
Further than that, there are no more programs written in it for the same reason than there are no more programs written in any interesting languages, I guess; ie largely accidental.
Re: OCaml on Baremetal Shakti RISC-V Processor
#24Ironically, the bootloader is still assembly with C++. Then again, maybe that is not the interesting thing to do in OCaml.
I'm not sure that's ironic. I believe the OCaml runtime is written in C as well.
Re: OCaml on Baremetal Shakti RISC-V Processor
#25Ironically, the bootloader is still assembly with C++. Then again, maybe that is not the interesting thing to do in OCaml.
Re: OCaml on Baremetal Shakti RISC-V Processor
#26OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?
OCaml is very good at symbolic computations, and not so good at floating point computations. Therefore it's a very good language for writing compilers etc. Further than that, there are no more programs written in it for the same reason than there are no more programs written in any interesting languages, I guess; ie largely accidental.
What does this mean? I was under the impression the OCaml compiler did a decent number of floating point specific optimizations, like unboxed arrays and what not.
Re: OCaml on Baremetal Shakti RISC-V Processor
#27Earlier quoted context omitted.
OCaml is very good at symbolic computations, and not so good at floating point computations. Therefore it's a very good language for writing compilers etc. Further than that, there are no more programs written in it for the same reason than there are no more programs written in any interesting languages, I guess; ie largely accidental.
> and not so good at floating point computations What does this mean? I was under the impression the OCaml compiler did a decent number of floating point specific optimizations, like unboxed arrays and what not.
Re: OCaml on Baremetal Shakti RISC-V Processor
#28OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?
Re: OCaml on Baremetal Shakti RISC-V Processor
#29OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?
This is OCaml's problem: it's a great language with no users. ReasonML is trying to solve this by making it more approachable, and they're making steady progress.
- A package manager like NPM, but for native code: https://github.com/esy/esy
- A fast Node version manager: https://github.com/Schniz/fnm
- A fast replacement for dotenv-cli: https://github.com/ulrikstrid/reenv
- A fast JS bundler: https://github.com/fastpack/fastpack
- A native language server: https://github.com/jaredly/reason-language-server
The OCaml language and toolchain is very powerful... and I do believe ReasonML makes it more approachable, at least for a wider audience of developers comfortable with JavaScript-style syntax.
Re: OCaml on Baremetal Shakti RISC-V Processor
#30OCaml is a beautiful language but I haven't seen any big non language projects written in OCaml. Does any one know why? OR do such projects exist and it is only that I am not aware of them?