Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h06/mnt/17844/domains/blog.splittist.com/html/index.php:2) in /nfs/c02/h06/mnt/17844/domains/blog.splittist.com/html/wp-includes/feed-rss2-comments.php on line 2
Comments on: #lisp FAQ - How can I generate a standalone executable? http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/ Wed, 08 Sep 2010 09:33:51 +0000 http://wordpress.org/?v=2.2.1 By: celebrity fuck you http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-414 celebrity fuck you Tue, 24 Aug 2010 18:42:01 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-414 Sign: zdbrw Hello!!! ckpwv and 3146murhhggyxt and 8198 : I like your blog. cool post! Sign: zdbrw Hello!!! ckpwv and 3146murhhggyxt and 8198 : I like your blog. cool post!

]]>
By: Christian Louboutin http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-413 Christian Louboutin Sat, 12 Jun 2010 12:22:47 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-413 I am the first time on this site and am really enthusiastic about and so many good articles. I think it's just very good. I am the first time on this site and am really enthusiastic about and so many good articles. I think it’s just very good.

]]>
By: aspeneUsene http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-187 aspeneUsene Mon, 22 Sep 2008 20:18:57 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-187 omg.. good work, dude omg.. good work, dude

]]>
By: Faré http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-102 Faré Thu, 31 Jan 2008 20:20:21 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-102 cl-launch will make an executable for you, standalone or not depending on whether your implementation supports it. At least ECL supports it. cl-launch will make an executable for you, standalone or not depending on whether your implementation supports it. At least ECL supports it.

]]>
By: splittist http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-12 splittist Wed, 29 Aug 2007 08:17:07 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-12 @Timofei Shatrov Doh! Fixed. Thanks. @Timofei Shatrov

Doh! Fixed. Thanks.

]]>
By: Flatlander http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-11 Flatlander Tue, 28 Aug 2007 11:15:37 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-11 FWIW I have found that distributing SBCL apps under Windows is quite easy, in many ways easier than using 'traditional' batch compilers. Since all the necessary information is held in .asdf and .lisp files I can just get the sources from my linux box and build a working win executable with a single command. And altough I usually use the :executable flag to wrap everything in a single .exe file it is not really that necessary since most apps need foreign .dll's and other data files anyway. Installer files that puke their contents in app's directory are the norm on Windows anyway. Only thing near to a showstopper is the huge size of the executable, starting from ~8mb when zipped... FWIW I have found that distributing SBCL apps under Windows is quite easy, in many ways easier than using ‘traditional’ batch compilers. Since all the necessary information is held in .asdf and .lisp files I can just get the sources from my linux box and build a working win executable with a single command.
And altough I usually use the :executable flag to wrap everything in a single .exe file it is not really that necessary since most apps need foreign .dll’s and other data files anyway. Installer files that puke their contents in app’s directory are the norm on Windows anyway.
Only thing near to a showstopper is the huge size of the executable, starting from ~8mb when zipped…

]]>
By: Timofei Shatrov http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-10 Timofei Shatrov Tue, 28 Aug 2007 08:03:47 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-10 It's (ext:saveinitmem filename :executable t) for CLISP. It’s (ext:saveinitmem filename :executable t) for CLISP.

]]>
By: ken http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-9 ken Tue, 28 Aug 2007 00:27:35 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-9 "What commonly distributed systems in this day and age come in a single executable file?" Just about every Mac app does that. Well, looks like that, anyway -- an .app is a bundle, but to the user it looks like a single file. If there was an easy way to build an .app bundle, that would be just as good, but there doesn't seem to be. According to Bill Clementson, with OpenMCL, for example, "app bundles ... need to be recompiled for every point update of Mac OS X. This effectively prevents distribution of finished apps". Gong! "And good luck delivering a Python [...] application I can run on my Windows box without a raft of runtime infrastructure along with it." I've seen .exe's built with py2exe that do just that. Way less painful than the typical Windows Installer mess. Being unable to distribute a single .exe isn't a showstopper, by itself. Syntax that looks funny to most programmers isn't a showstopper, by itself. Being, ah, strongly encouraged to use a specific editor (though a great one at that!) isn't a showstopper, by itself. But you start stacking 5 or 6 of these minor-nits together, and people start saying "You know, Lisp may be really awesome, but Python is 90% as great and won't beat me up along the way". I love Lisp, but I fail to see how it helps anybody when people repeatedly ask for specific features and we repeatedly give them less-than-helpful answers. If the answer to "How do I make a single .exe?" was "You probably don't want to, but here's how to make a .msi installer..., and here's how to make a Mac .app...", that would be one thing -- but it always seems to be "You probably don't want to. *crickets*". “What commonly distributed systems in this day and age come in a single executable file?”

Just about every Mac app does that. Well, looks like that, anyway — an .app is a bundle, but to the user it looks like a single file. If there was an easy way to build an .app bundle, that would be just as good, but there doesn’t seem to be. According to Bill Clementson, with OpenMCL, for example, “app bundles … need to be recompiled for every point update of Mac OS X. This effectively prevents distribution of finished apps”. Gong!

“And good luck delivering a Python […] application I can run on my Windows box without a raft of runtime infrastructure along with it.”

I’ve seen .exe’s built with py2exe that do just that. Way less painful than the typical Windows Installer mess.

Being unable to distribute a single .exe isn’t a showstopper, by itself. Syntax that looks funny to most programmers isn’t a showstopper, by itself. Being, ah, strongly encouraged to use a specific editor (though a great one at that!) isn’t a showstopper, by itself. But you start stacking 5 or 6 of these minor-nits together, and people start saying “You know, Lisp may be really awesome, but Python is 90% as great and won’t beat me up along the way”.

I love Lisp, but I fail to see how it helps anybody when people repeatedly ask for specific features and we repeatedly give them less-than-helpful answers. If the answer to “How do I make a single .exe?” was “You probably don’t want to, but here’s how to make a .msi installer…, and here’s how to make a Mac .app…”, that would be one thing — but it always seems to be “You probably don’t want to. *crickets*”.

]]>
By: splittist http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-8 splittist Mon, 27 Aug 2007 19:37:23 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-8 @Pupeno Thanks. From reading your entry and the comments (particularly yours) I don't understand what you're getting at: the example of a windows binary executable made from a lisp program (Edi's <a href="http://weitz.de/regex-coach" rel="nofollow">Regex Coach</a>) you immediately dismiss, although it seems to be exactly the sort of thing your wife could install and have a simple clickable icon on the desktop to run. And good luck delivering a Python, Objective-C, Haskell, Chicken Scheme, Erlang, Perl, or PHP application I can run on my Windows box without a raft of runtime infrastructure along with it. And I'm afraid the same goes for C, C++ and C# apps - there is a reason people talk about <a href="http://en.wikipedia.org/wiki/DLL_hell" rel="nofollow">DLL-hell</a>. I guess if I'm running precisely the same vanilla Ubuntu install as you I might be able to run a perl, ruby or python shebang-script without alteration. But I wouldn't count on it. So - is there any lisp runtime that is as pervasive as, say, the GCC runtime? (But which version of GCC?) No. Would it be cool to have efficient tree-shakers for the 'free' lisps? Yes. But obviously Lisp has been used to distribute applications for decades, and continues to be so used. I really don't think this is the showstopper you seem to think it is. @Pupeno

Thanks. From reading your entry and the comments (particularly yours) I don’t understand what you’re getting at: the example of a windows binary executable made from a lisp program (Edi’s Regex Coach) you immediately dismiss, although it seems to be exactly the sort of thing your wife could install and have a simple clickable icon on the desktop to run.

And good luck delivering a Python, Objective-C, Haskell, Chicken Scheme, Erlang, Perl, or PHP application I can run on my Windows box without a raft of runtime infrastructure along with it. And I’m afraid the same goes for C, C++ and C# apps - there is a reason people talk about DLL-hell. I guess if I’m running precisely the same vanilla Ubuntu install as you I might be able to run a perl, ruby or python shebang-script without alteration. But I wouldn’t count on it.

So - is there any lisp runtime that is as pervasive as, say, the GCC runtime? (But which version of GCC?) No. Would it be cool to have efficient tree-shakers for the ‘free’ lisps? Yes. But obviously Lisp has been used to distribute applications for decades, and continues to be so used. I really don’t think this is the showstopper you seem to think it is.

]]>
By: Pupeno http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-2 Pupeno Sun, 26 Aug 2007 18:17:49 +0000 http://blog.splittist.com/2007/08/25/lisp-faq-how-can-i-generate-a-standalone-executable/#comment-2 I have just published an article covering the same issue on: http://pupeno.com/2007/08/26/the-problem-with-lisp except that I go with another viewpoint. I have just published an article covering the same issue on: http://pupeno.com/2007/08/26/the-problem-with-lisp except that I go with another viewpoint.

]]>