1
2
Sep 25 2004, 2:00 am
In response to Crispy
|
|
Python is very good for making small programs with but when converted to .exe they are big assed files which is its only problem.
|
In response to Mike H
|
|
I think that he thinks the viewer of the DMCGI site has to have BYOND installed.
|
In response to Mike H
|
|
Mike H wrote:
Kholint wrote: Really, hmmm, intresting, i must investigate my cpanel once it comes back up. |
In response to Airjoe
|
|
Airjoe wrote:
I think that he thinks the viewer of the DMCGI site has to have BYOND installed. Oh right. Heh, sorry- I misunderstood before then. I'm such a fool. So what would be the advantage of making a DMICGI site instead of in Php, or Java? (obviously there's the fact that you already know DM) |
In response to Game sabre
|
|
Heh. "He who createth executables with Python doth miss the point of a scripting language." ;-)
|
In response to Kholint
|
|
So what would be the advantage of making a DMICGI site instead of in Php, or Java? DMB is a bytecode format, whereas PHP is a raw text format that is parsed in real time. So it's definitely faster than PHP -- though there is likely a tiny bit of overhead to start up Dream Daemon. Anyway, a DMB doesn't have any advantages over a Java binary that I could think of, since Java is compiled to bytecode too. Java might actually have an advantage here, since I'm not sure if BYOND keeps Dream Daemon open or not in order to handle HTTP requests (whereas Java boots up its virtual machine once, and then keeps it open thereafter). But I think the most redeeming quality is that DM is very easy. Whatever string you return from the CGI/Topic() procedure is the text that is displayed in the client's browser. The system handles all of the gruntwork. It's just a matter of string concatenation, and DM has some of the simplest (though admittedly not very powerful) text manipulation out there. It doesn't compare with the sheer power of Perl, for instance, but trounces it as far as simplicity is concerned -- and BYOND has fully-featured mathematical operations, and a good (though limited) file managing system to boot. |
In response to Spuzzum
|
|
One advantage BYOND has over Java is that BYOND can handle all authentication issues for you practically seamlessly.
|
In response to Spuzzum
|
|
Unless you're trying to distribute a Python program and everyone is too darned lazy to install Python; they'd rather just download an .exe and be done with it...
Of course, I was using two libraries which they'd have to install as well, but it really isn't that hard. |
1
2