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?
I’m a huge OCaml fan, but really it lacks a lot of things that you get out of the box with the runtimes of other languages. Multi core support is the most obvious one. It’s definitely great for things like compilers, though. But I wouldn’t necessarily use it for a Web server.
OCaml on Baremetal Shakti RISC-V Processor
51–60 of 77 posts
Re: OCaml on Baremetal Shakti RISC-V Processor
#52OCaml 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?
I'd love to use it, but there seems to be no multicore support.
Re: OCaml on Baremetal Shakti RISC-V Processor
#53I like the direction Shakti team is taking with the project, skilled personnel teasing practicality; Although I believe that the secure application project is intended for defence purposes.
Re: OCaml on Baremetal Shakti RISC-V Processor
#54Earlier quoted context omitted.
I'd love to use it, but there seems to be no multicore support.
I obviously don't t know your use case, but the more I look into multi-core code, the less impressed with it I am. I think you're almost always better with a tight loop and a good persistence strategy. If the thing you're doing really benefits trivially from easy paralellism, I'd lean on gpus anyways...
Re: OCaml on Baremetal Shakti RISC-V Processor
#55OCaml 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?
I’ll also +1 the comments about ReasonML which is very promising.
Though I suppose these are both ”language” related — just not strictly the OCaml language.
Re: OCaml on Baremetal Shakti RISC-V Processor
#56Earlier 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.
It never bothered me in Caml Light, let alone when Objective Caml was introduced.
Re: OCaml on Baremetal Shakti RISC-V Processor
#57Earlier quoted context omitted.
I obviously don't t know your use case, but the more I look into multi-core code, the less impressed with it I am. I think you're almost always better with a tight loop and a good persistence strategy. If the thing you're doing really benefits trivially from easy paralellism, I'd lean on gpus anyways...
basically every program i have written has been concurrent and benefited from multi core support. a language that doesn’t have it just isn’t an option.
Re: OCaml on Baremetal Shakti RISC-V Processor
#58OCaml 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?
I’m a huge OCaml fan, but really it lacks a lot of things that you get out of the box with the runtimes of other languages. Multi core support is the most obvious one. It’s definitely great for things like compilers, though. But I wouldn’t necessarily use it for a Web server.
Besides, there are also multiple processes as possible solution.
Re: OCaml on Baremetal Shakti RISC-V Processor
#59Earlier quoted context omitted.
I obviously don't t know your use case, but the more I look into multi-core code, the less impressed with it I am. I think you're almost always better with a tight loop and a good persistence strategy. If the thing you're doing really benefits trivially from easy paralellism, I'd lean on gpus anyways...
basically every program i have written has been concurrent and benefited from multi core support. a language that doesn’t have it just isn’t an option.
Re: OCaml on Baremetal Shakti RISC-V Processor
#60Earlier quoted context omitted.
basically every program i have written has been concurrent and benefited from multi core support. a language that doesn’t have it just isn’t an option.
Do you have any analytical benchmarks regarding the benefits you've gotten from multicore support?
in other instances, when programming concurrent programs, i have no worry of performance losses because, again, multicore support comes for free. that is more qualitative, but it is important. and it means my concurrent programs are actually concurrent.