what would be the most fun language to write random parts of a compiler in
Conversation
my first thoughts are:
• Rust
• ML
• Idris 2
4
10
please share your thoughts i saw some of my compiler-bits-in-OCaml screenshots today and wanted to do more of that again
4
4
is this like, one compiler with individual bits in all of those languages? or is it boring
1
hm i feel like FFI would suck and serializing a bunch of formats would mean i would have to write boring parts (parsers) a lot
1
Maybe? unless you just pass JSON blobs back and forth and pick libraries that make that kinda thing magic
1
1
using an external library in OCaml or Idris sounds like suffering (I have done the former before, I just hate setting up build systems and packages. this is why rust is so appealing)
2
2
Yeah despite some of the pain and friction that I get using Rust, having cargo makes up for it greatly. Nice to make a pretty error reporting library then have a bunch of people be able to use it. 😍
I always seem to break things whenever I try using opam 😢
1


