|
|
|
Posted: 10-28-2002 03:55 PM |
|
|
js995 |
Deletes your posts |
|
|
Joined: 10 Feb 2002 |
Posts: 226 |
|
|
|
|
|
|
|
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 ! |
|
|
|
|
| | |
Posted: 10-29-2002 02:24 AM |
|
|
TuMTuM |
Will code HTML for food! |
|
|
Joined: 17 Feb 2002 |
Posts: 425 |
|
|
|
|
|
|
|
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 .
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 . So, if you start out programming, try learning ASM as the first language, it is probably easy to learn the rest after that . |
|
|
|
|
| | |
Posted: 10-29-2002 06:23 AM |
|
|
Pezko |
Senior Member |
|
|
Joined: 09 Feb 2002 |
Posts: 186 |
|
|
|
|
|
|
|
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. |
|
|
|
|
Posted: 10-29-2002 06:30 AM |
|
|
js995 |
Deletes your posts |
|
|
Joined: 10 Feb 2002 |
Posts: 226 |
|
|
|
|
|
|
|
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 .
|
nasm and gcc can compile ELF binaries from ASM |
|
|
|
|
Posted: 10-29-2002 08:06 AM |
|
|
TuMTuM |
Will code HTML for food! |
|
|
Joined: 17 Feb 2002 |
Posts: 425 |
|
|
|
|
|
|
|
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 .
[edit]Wait now its helping . Feel free to explain tough![/edit] |
|
|
|
|
Posted: 12-11-2002 06:15 AM |
|
|
Moondog |
Eats Boogers |
|
|
Joined: 12 Nov 2002 |
Posts: 16 |
|
|
|
|
|
|
|
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. |
|
|
|
|
Posted: 12-11-2002 06:56 AM |
|
|
Shn |
R.I.P. |
|
|
Joined: 10 Feb 2002 |
Posts: 738 |
|
|
|
|
|
|
|
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 ) |
|
|
|
|
Posted: 12-11-2002 07:01 AM |
|
|
Mr Tac |
Expert Shoe Maker |
|
|
Joined: 07 Apr 2002 |
Posts: 117 |
|
|
|
|
|
|
|
|
_________________ <img src="http://www.mrtac.plus.com/images/Tac_Sig.jpg"a |
|
|
|
Posted: 12-11-2002 07:04 AM |
|
|
Shn |
R.I.P. |
|
|
Joined: 10 Feb 2002 |
Posts: 738 |
|
|
|
|
|
|
|
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 |
|
|
|
|
Posted: 12-11-2002 10:36 AM |
|
|
Moondog |
Eats Boogers |
|
|
Joined: 12 Nov 2002 |
Posts: 16 |
|
|
|
|
|
|
|
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 |
|
|
|
|
Posted: 12-11-2002 11:19 AM |
|
|
Dawgy |
Burn your flag. |
|
|
Joined: 09 Feb 2002 |
Posts: 463 |
|
|
|
|
|
|
|
Every time you code php, a microsoft developer gets shot |
|
|
|
|
Posted: 12-11-2002 11:41 AM |
|
|
Moondog |
Eats Boogers |
|
|
Joined: 12 Nov 2002 |
Posts: 16 |
|
|
|
|
|
|
|
Lodi Dodi we likes to party
See dats what its all about...sippin on 40's and bustin' caps in miscrosofts ass |
|
|
|
|
| | |
Posted: 12-19-2002 04:27 PM |
|
|
js995 |
Deletes your posts |
|
|
Joined: 10 Feb 2002 |
Posts: 226 |
|
|
|
|
|
|
|
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] |
|
|
|
|
|
|