logoalt Hacker News

nish__yesterday at 3:28 PM1 replyview on HN

I learned recently that one of the killer apps for Scala seems to be in hardware design. Chisel [0] is the core technology of the best open source RISC-V chips. Chipyard [1] is designing leading edge type OOE and AI chips and all of the code is written in Scala. Personally, I can't wait for some of these designs to start being mass produced and put in laptops and phones.

[0] https://en.wikipedia.org/wiki/Chisel_(programming_language)

[1] https://github.com/ucb-bar/chipyard


Replies

abeppuyesterday at 3:56 PM

So, as a justification for support of scala, the thing that seems lacking to me is that Chisel seems to still be centered around scala 2? E.g. their recommended template for getting started still uses scala 2 ... so without support to motivate them to use scala 3, it's not obvious that Chisel benefits much from current work on the scala language? I have not fully understood the Chisel project but I see they have a "compiler plugin" which suggests to me that moving fully off scala 2 requires a meaningful redesign.

https://github.com/chipsalliance/chisel-template/blob/main/b...

show 4 replies