4 ms·
The article shouldn't have brought up points about FP performance that it couldn't really support. But it's interesting content overall and that was a side poi
by jeff-davis 6y ago
The article shouldn't have brought up points about FP performance that it couldn't really support.
But it's interesting content overall and that was a side point.
- atoav 6y agoI am not too familiar with FP languages, but I must say I have never seen a FP language in low level embedded or GPU code. Of course there are garbage collected imperative languages which are slower than say Haskell, but can Haskell's speed compare to the most efficient C implementation of a code without making it unreadable? This is what Rust's promise of "zero cost abstractions" means: if you went all in and handcrafted every pointer it wouldn't become more efficient then it is in it's abstracted form. Again, I don't know enough about FP languages to make qualified statements, but I thought this was a Rust novelty.
- afiori 6y agoOCaml allegedly has some success stories for this.
- atoav 6y agoThanks for the tip
- SAI_Peregrinus 6y agohttps://clash-lang.org/ https://clash-lang.org/ is a functional HDL. Compiles to VHDL, Verilog, or SystemVerilog. That's lower level than just about anything else you can get code for (I suppose SPICE is even lower level in this sense...)