Mindcontroll Forum Index Mindcontroll

 

ASP 0wns PHP...
Click here to go to the original topic
Goto page Previous  1, 2
 
       Mindcontroll Forum Index -> Programs/Programming Development
View previous topic :: View next topic  
Author Message
js995



Joined: 10 Feb 2002
Posts: 226

Posted: 10-28-2002 03:55 PM    Post subject:  

The most powerful code in the world is written in C with ASM optimisations , manually done.

Obviously not many programs require that level of interaction. For most programs, C, Objective C or C++ is the best choice, and it will give the developer the best power/optimisations/speed.

If I happen to be wrong on this , please correct me ! :D
Back to top  
TuMTuM



Joined: 17 Feb 2002
Posts: 425

Posted: 10-29-2002 02:24 AM    Post subject:  

Mmmm.. Ive been learning how to crack programs/games lately, and what I know from there, is that asm is the fastest and best compressed way of writing stuff. I made a keygen in asm that took me 4 kb. The same keygen in c++ took me 40 kb. Now the keygen in asm only compiled, it didnt work :), but the source was good, I just lacked a proper compiler. Hell, im used to patching asm while the program is running, so no compiler is needed :P.
While php is indeed a scripting language, and phpGTK is slow as hell, in my opinion phpGTK doesnt differ much from java. They are both slow and need either, executable wrappers, or a java virtual machine. phpGTK needs php to work, and im sure we'll see executable wrappers in the future.
I was actually suprised how easy asm is. It even has functions and stuff, alltough I dont really know if they were functions :D. So, if you start out programming, try learning ASM as the first language, it is probably easy to learn the rest after that :D.
Back to top  
Pezko



Joined: 09 Feb 2002
Posts: 186

Posted: 10-29-2002 06:23 AM    Post subject:  

PHP is interpreted.

C/C++ is compiled

Java is somewhere between them... :)

Java is faster and waaay more flexible than PHP if you're doing applications.
Back to top  
js995



Joined: 10 Feb 2002
Posts: 226

Posted: 10-29-2002 06:30 AM    Post subject:  

TuMTuM wrote:
I made a keygen in asm that took me 4 kb. The same keygen in c++ took me 40 kb. Now the keygen in asm only compiled, it didnt work :), but the source was good, I just lacked a proper compiler. Hell, im used to patching asm while the program is running, so no compiler is needed :P.


nasm and gcc can compile ELF binaries from ASM
Back to top  
TuMTuM



Joined: 17 Feb 2002
Posts: 425

Posted: 10-29-2002 08:06 AM    Post subject:  

js995 wrote:


nasm and gcc can compile ELF binaries from ASM
Ive been trying to find out what ELF binaries are, google isnt helping :). I read an article on compressing ELF binaries by using asm and executable packers, and they got the binary down to a few bytes, but I still dont know what they are :P.

[edit]Wait now its helping :). Feel free to explain tough![/edit]
Back to top  
Moondog



Joined: 12 Nov 2002
Posts: 16

Posted: 12-11-2002 06:15 AM    Post subject:  

:bounce:

is any one gonna stand up for coldfusion and access DBes or am I gonna have to pretend I do?

Though not an expert at all I find it much easier to understand PHP over ASP.
Back to top  
Shn



Joined: 10 Feb 2002
Posts: 738

Posted: 12-11-2002 06:56 AM    Post subject:  

ok, I'm currently programming under ColdFusion... (well, in fact i just pretend i do, but i just spend my days drooling at my screen, sleeping with my eyes open)

And i must say PHP owns coldfusion as well.
I don't like coldfusion.
I don't understand how companies can prefer something that costs alot, like coldfusion, to something that's free and more widely spread, like php.

Ah wait, something that costs alot is always better than something that's free, no ?

(and oooooh, i'm at work :D )
Back to top  
Mr Tac



Joined: 07 Apr 2002
Posts: 117

Posted: 12-11-2002 07:01 AM    Post subject:  

tag based ! GAY
Back to top  
Shn



Joined: 10 Feb 2002
Posts: 738

Posted: 12-11-2002 07:04 AM    Post subject:  

Mr Tac wrote:
tag based ! GAY

It's strange, you almost got gay then !

Mister I-was-a-macromedia-loving-whore-who-wanted-to-get-married-with-whatever-is-macromedia-related
Back to top  
Moondog



Joined: 12 Nov 2002
Posts: 16

Posted: 12-11-2002 10:36 AM    Post subject:  

LOL.....the only Macromedia product I will touch is Dreamweaver MX.....I accidentally use fireworks from time to time when I make some galleries and such....

I like PHP mostly because I can cut and paste scripts and they seem to have a better chance at working in PHP....lol
Back to top  
Dawgy



Joined: 09 Feb 2002
Posts: 463

Posted: 12-11-2002 11:19 AM    Post subject:  

Every time you code php, a microsoft developer gets shot
Back to top  
Moondog



Joined: 12 Nov 2002
Posts: 16

Posted: 12-11-2002 11:41 AM    Post subject:  

Lodi Dodi we likes to party

See dats what its all about...sippin on 40's and bustin' caps in miscrosofts ass :hit:
Back to top  
js995



Joined: 10 Feb 2002
Posts: 226

Posted: 12-19-2002 04:27 PM    Post subject:  

Interesting .. ASP and PHP compare directly, but PHP is way more powerful. Theres a lot of things that PHP can do out of the box that cost money in plugins to do under ASP (if they are even possible at all).

Apart from that, you are left with Perl, Coldfusion and J2EE/JSP. I dont really know loads about these yet, but i seem to get the idea that Perl can do basically anything you want, but to get the most out of it you have to be able to install modules, which requires some work.

Coldfusion is said to be a language for rapid prototyping, from what I've seen of it, it seems to be a bit unreliable and inefficient (lots of 500 errors, etc), plus it suffers from not being widespread enough (and not cross portable, so it has to run on windows .. not exactly an "enterprise" level server platform, or reliable enough).

J2EE/JSP are said to be extremely good. They are as powerful as Java, but with the flexibility of a web-based markup language. I dont know, because I havent coded enough with it to test. I think its more for real enterprise stuff, like multi-server stuff, and business applications. Not making your website auto generate its pages (although its quite good at this, the JSP server takes 28mb of RAM!).

Overall i still think PHP/Perl are the best solutions because

[list=1]
[*]They are OSS/Free Software (No Commercial Interests/Lock-In)
[*]Cross platform & Portable code (Win32/Linux/*Nix)
[*]Developer communties are plentiful, and theres tons of documentation on the web.
[/list=1]

But anyway .. on another note ! PHP5 is under development [slashdot.org]
Back to top  
 
       Mindcontroll Forum Index -> Programs/Programming Development Goto page Previous  1, 2
Page 2 of 2


Video Games Suck - XXXSwim