2 ms·
But it doesn’t. It still seems to run in JIT mode, instead of AOT. That’s exactly why I made swift-scc (interpret vs compile, but essentially the same problem)
by jbverschoor 1y ago
But it doesn’t. It still seems to run in JIT mode, instead of AOT. That’s exactly why I made swift-scc (interpret vs compile, but essentially the same problem)
- motorest 1y ago> But it doesn’t. I recommend you read the article. They explicitly address the usecases of "When your file-based app grows in complexity, or you simply want the extra capabilities afforded in project-based apps".
- jbverschoor 1y agoComplexity is not the problem. It a simple hello world example. Imagine cat, ls, cd, grep, mkdir, etc. would all take 500ms. It’s the same as the electron shit. It’s simply not necessary
- const_cast 1y ago> Imagine cat, ls, cd, grep, mkdir, etc. would all take 500ms. Those are all compiled C programs. If you were to run a C compiler before you ran them, they would take 500 milliseconds. But you don't, you compile them ahead of time and store the binaries on disk. The equivalent is compiling a C# program, which you can, of course, do.