323 karma · joined November 8, 2017
I’m currently using tree-sitter at work to build AST-based tools, as performance is amazing, even with huge codebases, but I’m finding it slightly frustrating to have to manually write recursive descent processors keyed by strings, with no compile time guarantees on the structure of the grammar.
This is compounded by the fact that grammars themselves don’t really follow any standard structure, some have named fields (presumably the ones created after GitHub contributed this feature), while others require hierarchical pattern matching.
I wish there existed a tool to consume a grammar and output a rust ADT that we can simply match on. This would at least save me from redundant error handling. I’d build one myself, but I’m that good at rust yet.
This is not FUD. The boot process isn’t better than on Arm, which is already terrible. End users need to find magic .isos, while developers need to search for magic vendor forks of everything: u-boot, kernel, OpenSBI.
Re compilers: Sure you can target RV64GC and everything more or less works, but your performance will likely be terrible. To squeeze more performance you might need magic or out of tree versions of GCC and/or Clang.
On your "divine command" bit: I don't think any theory has a good claim on the ultimate ontology of reality, so I don't see how one view is better than another. It's all some kind of divine command at the moment. Computationalism at least constrains the necessary properties the divine must have.
You might counter my argument with a plethora of “obvious” solutions, but I suspect most of them will be top-down ones, that, unfortunately, that don’t seem to ever work. You might also enumerate instances where top-down initiatives have worked successfully, but I’d argue that in each of the cases there was something about the environment that made it stick - the soil was already fertile.
The amount of money spent on “lofty” pursuits like space exploration is almost orthogonal to the issue at hand, within reason, obviously - it’s definitely possible to bankrupt yourself like the Soviet Union did.
I put “lofty” in quotes because these pursuits are obviously very practical in the long run. I don’t want to repeat the argument you’ve probably heard a million times, but it’s obviously true that if everyone thought like this back when we living in caves - we’d never even get huts. And we were much poorer back then.