Arc Forumnew | comments | leaders | submit | sammyo's commentslogin
3 points by sammyo 5791 days ago | link | parent | on: Ask Arc: does code have to be text?

Certainly not, any symbol can be translated into code or another symbol. A 3D language in a virtual haptic programming environment with dynamic force feedback... that bug is represented by... a bug, your world shakes when the code crashes!

There are bits of library calls I always seem to need to lookup, I'm sure if I found it by reaching way back to the left and twisting, it would always be 'at hand'. I want to dance my code!

Pragmatically tho, the significant convenience of the common denominator of common keyboard symbols trumps most attempts so far.

-----

1 point by sammyo 5912 days ago | link | parent | on: What can't LISP do?

Easily compile into a small fast starting standalone executable (like grep)?

-----

2 points by stefano 5911 days ago | link

This depends on the implementation, not the language. With the great majority of implementation this is true, though. LispWorks and Allegro CL have support for this, but I don't know the real size of the executables, because I've never used them. The problem is that you have to carry the runtime together with the application, because if your application uses 'eval, then to execute it you need a compiler and all the runtime. The comparision with 'grep' isn't fair: grep uses the C runtime that comes pre-installed on the system. You dont' notice it, but it is there and it is quite big. If you had a pre-installed lisp system, then you could deliver small fast starting executables.

-----

1 point by almkglor 5911 days ago | link

> grep uses the C runtime that comes pre-installed on the system.

Quite right. The fact that the OS itself is (usually) written in C means that nearly every OS-using computer has a C runtime.

As an aside, consider executable file sizes in the Windows world, where the OS does not provide its C library to other programs. Many programs in Windows include their own versions of the C library, increasing their sizes.

-----