3 ms·
i've heard of it before. i'll be honest: i don't much like haskell. for example, this makes me crazy (haha): mmult mA mB = result where mBT =
by nikofeyn 7y ago
i've heard of it before. i'll be honest: i don't much like haskell. for example, this makes me crazy (haha):
mmult mA mB = result
where
mBT = transpose mB
dot a b = sum $ zipWith (*) a b
result = map (\ar -> dot ar <$> mBT) mA
either way, this is along the right lines. however, what FPGAs can you target? any xilinx chips?
it's really gonna take xilinx or altera to innovate in this space, but that is unlikely any time soon.
- jdsully 7y agoXilinx is all in on high level synthesis. Although they are focusing on C++ and python instead of functional languages.
- vmchale 7y agoI'm kind of surprised. I get that Haskell/ML may not be the best-known, but even an original functional language is better than spamming pragmas on for loops
- rowanG077 7y agoYou can target any FPGA. Clash compiles to VHDL or Verilog.
- vmchale 7y ago> it's really gonna take xilinx or altera to innovate in this space, but that is unlikely any time soon. I think people already use Clash/Haskell to write HDL.