Posted by seunosewa on 20:35:00 04-03-2002
Confessions of an Old-School Programmer:
(1) I believe that the most important qualities of a program are correctness, speed, and resistance to errors in that order. I believe that maximal efficiency is non-negotiable even on a Pentium 4.
(2) I don't believe in Java. I don't believe in CORBA. I don't believe in XML. I don't believe in scripting languages. I don't believe in robustness attained at the expense of raw efficiency.
(3) Instead I believe in good 'ol C/C++, Assembly Language, and even C# - despite the fact that I do almost all my programming on Linux. I believe in native-code compiled languages.
(4) I don't even believe that SQL is an optimal way of making use of relational databases, or that the HTTP/HTML should ideally be used for anything except static web pages and sites.
Help me, guys!!! Is this ok, or do I have a serious problem?
[ This Message was edited by: seunosewa on 2002-04-03 20:40 ]
Posted by KaGez on 02:44:00 04-04-2002
1) get a Athlon
2) What else would you like to use for dynamic web-pages for example? old-fashioned weak C/C++ CGIs?
3) that's a good thing, but don't get fixed on compiled programming languages. Those scripting langs can be a BIG help for you. How do you think would this page look without PHP? :/
4) SDL, especially MySQL just rox! =) This web-page would also be kinda useless (or a lot lot more limited) without the SQL variant MySQL. And HTML is also good for dynamic webpages. it's just the Interface that's HTML
yes, you have a problem!
[addsig]
Posted by Error404 on 04:05:00 04-04-2002
I like Kagez's answer to #1.
_________
Huh?
Posted by seunosewa on 07:02:00 04-04-2002
Actually, I do have an Athlon!
Posted by MoX on 07:15:00 04-04-2002
1) Hope this isn't oldschool at all - it's the art of programming in my opinion.
2) I don't know Java. I like PHP and I like Linux ShellScripting. I hate stuff like JavaScript...Maybe I can say that I like some of those script langs.
3) C/C++ is still a lang you can do just about everything with. I'm proud to know it and to use it every day!
4) I believe that PHP/MySQL is an easy way to handle databases and dynamic webpages. Sites with unobstrusive design that focus on content rather than on their look are the way to go. Shit on Flash, huge images and wallpapers!
Hmm, I'd say you're quite okay...no serious problem here. You're just doing it your way
[addsig]
Posted by moondude on 08:14:00 04-04-2002
athlon xp+ 1800 is the best you can get! but i only got a Pentium4
[addsig]
Posted by KaGez on 08:27:00 04-04-2002
hah! Athlon XP+ 2000 is far better!
anywya, I also think like mox does. Not every scripting language is good. But, I think that JavaScrpt it self is a very powerful and useful scripting lang. Now, since there is a standard for it from the W3C (DHTML std.) I think we should change the way we look @ JS again. Up to now the only problem with it was that not everything was understood by all browsers, which will certainly change now (I hope). I think I'll give JS one more chance and see what you can really do with it when you've got standards
[addsig]
Posted by MoX on 09:38:00 04-04-2002
Maybe you'Re right here KaGez...I stoped using JavaScript once, because of the lacking standards. But I also don't like JavaScript's syntax and stuff too much...
[addsig]
Posted by Peter on 15:31:00 04-04-2002
AFAIK, C# is somewhat like Java...
Posted by seunosewa on 18:46:00 04-04-2002
Well, I've always felt that the central idea behind Java (platform independence) is good . But the approach ...
Actually, it seems the problem of Java is a three-letter word starting with S. I once was reading through the source code for the Java API ... Java just wasn't designed for efficiency but for "robustness", etc. The result is a program that takes longer to compile and longer to run.
Even though I don't support M$ domination, at least their code tends to run faster - on Windows. C# is similar to Java in many ways, but at least I can easily write performance-critical sections of my program as "unsafe" code. I don't have to implement clunky native code interfaces like in Java ...
I think the best approach to writing platform-independent code is to code the platform-independent 50%-90% of your program in ANSI compliant C++ and write the platform dependent parts using languages/libraries optimized for each supported platform.
About scripting languages ... with the expressive power of C++ and careful design + modularization, C++ programming can be as easy as scripting.
Perhaps its just a matter of personal style, as MoX said, however (:yawns:)
------------
computing is all about speed.
Posted by KaGez on 07:45:00 04-05-2002
I _bet_ C# again has the biggest security holes again that mankind ever saw
[addsig]
Posted by seunosewa on 04:23:00 04-06-2002
And, I also bet that the security holes will gradually be eliminated just like those discovered in the early versions of Java.
Posted by Yjo on 19:14:00 04-06-2002
Quote:
On 2002-04-05 07:45, KaGez wrote:
I _bet_ C# again has the biggest security holes again that mankind ever saw
FYI, the biggest point of c# was fixing up the holse in C++ and other priveleged-code langages.
e.g. the pointer's been scrapped so you cant just
Code:
for (short* pointer=NULL;;pointer++)
*pointer=NULL;
there's no way of touching memory thats not yours, all memory ig guaranteed to be initialised as null when you ask for it; no risk of picking up sensitive data from a huge uninitialised array you just malloc'd.
how can you have 'holes' in a language as such anyway?? if you're compiling code and passing it about, that machine code can have whatever malicious instruction in it you want.
On the contrary, the .NET runtime doesn't let any assembly call or do anything the client machine hasn't implicitly permited it to do.