by piinbinary · 6y ago · 0 comments
For me, "instant" compiler and test feedback would be the ideal development experience. (Plus a good debugger)
I think sadly there are some features (e.g. HM-style type inference) that I want to have but would be an order of magnitude or two slower than this. But still, I'd love to see a compiler for a modern language use something like this as a goal. Even 10kloc/thread*sec would be quite good, now that we have 16+ thread CPUs readily available.
https://bellard.org/tcc/tcc-doc.html
> TCC can be invoked from scripts, just as shell scripts. You just need to add #!/usr/local/bin/tcc -run at the start of your C source:
#!/usr/local/bin/tcc -run
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
And famously, with some patches it can compile the Linux kernel at boot time (in reasonable time):What would the equivalent be on current systems? I suppose it might be possible to write a system that boots in a single bandwidth-delay product, but somehow that doesn't have the same attraction.
ando wok fash nawit towsh nagut (running light without overbyte)