|
|
|
|
|
by p1necone
30 days ago
|
|
I've never really understood the opposition to self-hosting. As long as: * Your language is the kind of language that suits compiler development. and * You support compiling to C or something so that bootstrapping doesn't involve an opaque binary or compiling 30 different git commits in a row. What are the downsides exactly? |
|
Since the majority of programs are not compilers, it might make more sense to focus on interesting things that aren’t relevant to compilers.
Some ideas from the top of my head: async I/O, a great SIMD story, effect systems, robustness systems for long-running processes (I’m only aware of Erlang/Elixir), and many others.
Compilers do exercise some things, like error handling and memory management, but they’re not particularly difficult or interesting in general.