![]() 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.
|
Mike H wrote:
Kholint wrote: Really, hmmm, intresting, i must investigate my cpanel once it comes back up. |
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) |
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. |
One advantage BYOND has over Java is that BYOND can handle all authentication issues for you practically seamlessly.
|