You can certainly package the j interpreter together with your own application, likely including a small shell or batch script to start the former on the latter; the end-user experience need not have seams.

On Fri, 5 Aug 2022, Richard Donovan wrote:

Thank you Elijah for your interesting answer and ideas.

I guess the restricted portability prohibits J from being a mainstream 
programming language?

As a retired IBM mainframe assembler programmer, I got used to being able to 
easily export my ideas to similar sites so having to insist a possible new user 
should instal J just to trial a system feels a bit inhibitive.

It seems to me that setting the system up as a web server is the way to go.

Thanks again

Richard Donovan

On 5 Aug 2022, at 23:22, Elijah Stone <elro...@elronnd.net> wrote:

You cannot; JE is a direct interpreter, and it does not produce objects.

That said, you are in luck: to most people who might want to discover your 
methods, being written in j would be a greater hindrance than being written in 
machine code.

Generally, obfuscation is somewhat fraught.  If you send me a program, it will 
always be possible for me to discover how that program operates.  One 
alternative is to not send anyone the program at all, but instead expose it as 
a network service; this might be something to consider, though I have no idea 
whether it makes sense for the system you have created.

In general, my experience is that license terms are respected: if you tell a 
buyer 'I will sell this to you, but you may not peek inside it', they will not; 
the threat of legal action should you find out they've done something they 
shouldn't outweighs any potential competitive advantage.  And again: if they 
really want to figure out how it works, they will.

-E

On Fri, 5 Aug 2022, Richard Donovan wrote:

Hi

I have written a system in J that I believe would be of interest to commercial 
companies.

If I wanted to achieve this, how could I export the object code to an 
interested party without having to send the J source code and reveal my methods?

Thanks in advance
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to