I write all my stuff in C, and a few weeks ago I started to feel that GCC was getting a bit to slow to compile. I threw all my c-files and headers into one single file. Suddenly the compiletime became super fast (not TCC fast, but still), and even the binary became about 20% smaller. And so far its just as easy, if not even easier to work in it. It made me thinking, we split projects into files, in order to make it maintainable. So why not try to design Glyphin in a way to make it easy to maintain single file-projects.
As someone that loves the simplicity of using a single file for a whole project, that's an extremely intriguing idea. Do you have any ideas for what features in particular would be helpful for that scenario?
I have not yet had the time to give this any focus, but I will definitely give this idea a lot of love :)
First thing is to let the program "pretend" there is files. Like have a scope (for example a function or a class) open like its own file, and only that scope is seen in the window, while all changes actually happens in the real file.