<rant type="tangent" target="dotnet"> On 2/12/07, Michael Kidder <[EMAIL PROTECTED]> wrote: > .NET doesn't suck. I'm suprised people would hate it, since it's > fairly easy to port a .NET program to Mono and run it on Linux / OSX.
_Sort of_. If it's command line, it'll run without modification. If you use a GUI, have fun. It usually requires porting of some kind, and last I read up on it, there was no good way to have a UI look correct on every platform (basically: Qt gets it right, .NET doesn't, wxWidgets fails, etc.) If I cared about portability though, I'd use another language that's a little bit more... well... flexible, like Ruby or Python or something. Regardless of how much a standards body has to do with it, .NET will always be a Microsoft baby. Until Microsoft open sources their .NET platform, it will still be a Microsoft baby. Seriously, you don't think of Java as coming from anyone except Sun, right? The same concept applies. Yeah, it runs anywhere. Anywhere that there's a CLR. And the only CLR that is the _real_ CLR is the Microsoft CLR. There is no Microsoft CLR for Unix. However, Sun does make a JDK/JRE for Unix. So, I'm not going to consider Unix a "supported" .NET platform until Microsoft comes out with a CLR. Right now, running VB6 apps under Wine is more stable and less prone to errors (when using a GUI). > An example of a great .NET program is Paint.NET ( > http://www.getpaint.net ) which is being ported to Linux/Mono by > someone. > > Of note, any programming language or program I tried to load the DLL > in didn't like it; Game Maker (which is written in Delphi) gave the > vague error of "Error Loading DLL". The exact error from Visual Basic > .NET was "no such entry point" for the function I tried to load with > the following code: > > Declare Sub unlump Lib "unlumpdll" (ByRef lump$, ByRef ulpath$) DLLs have to use the StdCall calling procedure to work with VB (this is obviously something I know nothing about as I've never written a DLL...). > > There's also an awesome reason: Visual Basic 6 costs money. Well, being as acquiring a CD is easy enough, feel free to use any of my CD keys: 000-0000000 111-0000000 000-1111111 111-1111111 (I think this one works) ;) > Visual > Basic 2005 is free and available from MS at > http://msdn.microsoft.com/vstudio/express/ , so I'll die of old age > before I ever attempt to get VB6. Or, you can join the cool kids club and use another, more Unixy language. I mean, _everyone_ is doing it. :) Seriously though. Learn Ruby or Python or something ^_^. > > Either way, a DLL with general functions would be great since everyone > making external programs to the OHR wouldn't have to re-invent the > wheel every single time, and is a lot more flexible for people that > don't want to be forced to use the GPL by copying the unlump code from > the source. </rant> So, are you suggesting LGPL? :) > > On 2/12/07, Bob the Hamster <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 12, 2007 at 09:11:23PM -0600, Keith Gable wrote: > > > -snip- > > > > This coming from someone who limited the script buffer to 256kb? What > > > > you're talking about is loading the entire RPG into memory. If not, > > > > then you're not gaining anything by reading directly from the RPG > > > > except disk space, and losing the ability to muck with the lumps on > > > > the fly. > > > > > > I think this would be a Good Thing(TM), with memory not at a premium > > > anymore. The main thing is that lumps could be manipulated as raw data > > > structures. > > > > I would not advocate loading into memory the whole RPG file. For most > > lumps, the speed improvement would be insignifigant. > > > > The best way to determine which lumps should be kept in memory (and > > indeed which performance optimizations of ANY kind are appropriate) is > > with a profiling tool. Profile to see where the slow places actually > > are-- don't guess. > > > > I myself have only recently learned this lesson, but now that I know it, > > I wish I had learned it... oh... back in 1998 (Help me, John Titor!) > > > > --- > > Bob the Hamster > > _______________________________________________ > > ohrrpgce mailing list > > [email protected] > > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org > > > _______________________________________________ > ohrrpgce mailing list > [email protected] > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org > -- Keith Gable Lead Programmer / Project Leader The Ignition Project <http://www.ignition-project.com/> [Ask me how you can get a free Gmail account - Now with Google Chat!] _______________________________________________ ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
