zlacker

[parent] [thread] 1 comments
1. favori+(OP)[view] [source] 2025-04-02 15:26:43
> An example is Jonathon Blow's JAI compiler

I thought you were advocating "just distribute source code" – JAI is a closed-source language that, in its decade of development, has never been used for a significant project.

replies(1): >>James_+SL
2. James_+SL[view] [source] 2025-04-02 19:46:00
>>favori+(OP)
I fail to see how that relates to my using it as an example of a fast compiler. For that matter, my suggested approach doesn't need to to release source code, just some kind of programming language code. You could minify it, pre-optimise it, or do any number of things that would mean it isn't source code but instead becomes derived code (as I said in my original comment). Distributing textual code is not the same as being open source. I'm really just saying you should distribute something that isn't a platform specific blob with a fixed binary interface. You could, for instance, use LLVM IR code to achieve this, which is little more than a kind of portable assembly. LLVM can apply heavy optimisations to this code on the developer's machine, then take only the last step of code generation on the user's machine.
[go to top]