IRC channel logs
2024-08-18.log
back to list of logs
<mid-kid>scheme's syntax is exacly what makes it so easy to implement <Googulator>I get the underlying idea, but please, break compatibility with emacs's lisp mode :( <Googulator>S-expressions are not the problem, the culture around them is <Googulator>imagine a similar scenario where the ending would have 13 parens rather than 3 <Googulator>and then try to figure out where the form beginning with (d ends <Googulator>as in, how many parens do you need to select at the end to correctly copy the form to a different context <andydude>Googulator: you would probably like Wren <lanodan>stikonas: Last time I did an strace on tcc it was in fact generating assembly for some reason (and I guess just pipes to itself). <stikonas>but it's full of these, this is just one example <lanodan>Uh indeed doesn't for at least simple C files, I wonder if I misread strace or was a case of like inline assembly <oriansj>well M2-Planet's output is just a direct 1:1 state machine translation from C to assembly; so we do miss out on many potential optimizations but honestly running at 70% of TCC's compiled output isn't half bad for a self-hosting compiler that can do 1MLoC/second <oriansj>but yeah, fixing TCC's poor readability could take years of work but would give a path forward to making it a much better compiler. <andydude>the phrase "constraint priority" appears zero times in the tcc docs <andydude>I found something, but not in the tcc docs, it was in the GCC docs <matrix_bridge><cosinusoidally> tbh I don't think tcc's poor readability will ever be fixed. Unless there is a hard fork under a completely different name. <matrix_bridge><cosinusoidally> The current maintainer of tcc doesn't seem to have the time or motivation to fix the readability issues. <matrix_bridge><cosinusoidally> Which is fair enough if they have other priorities. <matrix_bridge><cosinusoidally> so that could eventually be another compiler capable of compiling tcc <lrvick>Has anyone managed to bootstrap haskell yet? <lrvick>I think it is going to need some mrustc heroics last I checked. <oriansj>lrvick: only a subset of the haskell language thus far (as far as I am aware) <oriansj>with the blynn-compiler being the current leader (but very far from GHC compatibility and able to be used to bootstrap GHC) <lrvick>Shame. It seems like the only major language we -can't- bootstrap right now. <lrvick>but we have a hard requirement for bootstrappability/reproducibility in stagex, so will just tell people to file issues with the haskell team, not me. ha ha. <lrvick>I thought guix had a similar requirement, which is why I was suprised to see it in guix.