Re: [VB] Server emulation in VB
Poor code in C++ still compiles to very optimized assembler. VB.NET however gets interpreted. And Java's interpreters function better than most of the .NET library. Personally, I like Java, but like jMerlin, I realize that the true flexibility and power lies in a lower level language like C. C compilers these days are even more efficient than most programmers in assembler. (Put it in Release mode you VC++ users. Dur.)
Anyways, yes it has been attempted, but as pointed out it is like shooting yourself in the foot and trying to run a marathon. Just like server emulation in Java has to make up for the lack of unsigned types, VB has its own annoyances, none of which are present in C++.
Good luck in your endeavors though.
Re: [VB] Server emulation in VB
Quote:
Originally Posted by
Jordan
You clearly didnt read my post, Yes C++ may be more powerfull but the quality of the code can MAKE IT ALOT WORSE that the same app wrote in java etc as its a) easier and b) has its own gc
I read it. Even poorly written C code would be far better a server than very well written VB. This is intrinsic in the nature of the two languages and what their purposes are (one is a systems level programming language, the other being a GUI level *SCRIPTING LANGUAGE*). VB.NET is compiled into MSIL, it's interpreted at run-time, and put through the wringer, just like Java. Even well-written MSIL code can't compete with common C/C++ examples that exist via google search (and are C+P'able for almost all intensive purposes) in areas of systems programming. You'd need extremely advanced opcode compilation to binary, caching, and preprocessing to allow MSIL opcodes to run at CPU speeds (look at v8 for an example of how this can be done, now THAT is impressive), but the MSIL interpretor is nowhere near the same level as v8. Sure, one could be written which is as powerful, but Java is already quite mature and even it doesn't compete.
Quote:
Originally Posted by
Jordan
I was trying to make a point but obviously you didnt get it anyway Microsoft Singularity RDK wrote in C# (
http://www.codeplex.com/singularity). I am trying to say that poor code in c++ can be as infective as something wrote in vb etc. Where as if it was wrote in say vb by some one who knows the language it would be alot more effective than its counterpart in c++. The reason i mentioned C# is because its compiled to the same form as VB.NET (forgotten the name of it now).
Singularity does exactly what I said must happen. It would be ... ungodly difficult to write a bootstrapping system for raw C# or VB.NET into an OS. In fact, switching from ring0 to ring3 is impossible via the two languages so an extension must be made or it simply cannot be done without modifying the architecture. The bootstrapper and core parts of the kernel which run the CLR in Singularity are C, C++, and ASM (browse the code if you don't believe me). You simply can't feasibly write an OS without low level languages. Of course once you have something running an interpreter, you can very easily write whatever functionality on top of the BIOS you want in any language you want, but the kernel and boot loaders will never be free of a low level language in any realistic project.
Quote:
Originally Posted by
justingarcia
I personally see your IQs are low.
Nice, attacking someone's intelligence because they answered a stupid question with an obvious comment.
You sir, will likely never know 1/10th of what I know; and that's the truth.
Re: [VB] Server emulation in VB
Ron was really not into debating and yet you are still debating.
Re: [VB] Server emulation in VB
Thanks guys for the links. I'll post a thread in a couple weeks about what I'm doing in more detail.
I'm going to close this because merlin isn't worth getting an infraction over.
Quote:
Originally Posted by
justingarcia
Ron was really not into debating and yet you are still debating.
Some people just feel the need to try to prove superior intellect. The funny thing is I already know everything he is posting. He just assumes I don't know it because I use C# as my main language. C++ fanboy much?
I have a reason for what I was looking for and plan to do and quite frankly its none of his business. He just has to have a go at bashing it because its not in C++. Typical fanboy. *rolls eyes*