Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RetroX

481
Announcements / Re: Anaphase
« on: April 15, 2010, 03:39:04 PM »
Furthermore, no one I've talked to is proficient enough in Make to write a makefile taking parameters to indicate which graphics system and window system to use (Like GRAPHICS=GL, or just _ instead of = if need be)
Hello.

482
At least SFML was straightforward for the documentation.  It's probably the best API that I've ever used, too.

483
Off-Topic / And you said that cplusplus.com couldn't explain pointers
« on: April 14, 2010, 08:49:12 PM »
Try reading the GTK+ documentation, sometime.

They can't even explain how to create a button.

484
Announcements / Re: Anaphase
« on: April 14, 2010, 08:00:06 PM »
Can't you just make a makefile rather than a C::B project? :/

485
Announcements / Re: Anaphase
« on: April 11, 2010, 08:47:11 PM »
You should pull a Microsoft and add pop-up messages into ENIGMA that say things like "Josh @ Dreamland is finding bugs..." and "Josh @ Dreamland is fixing bugs..."

486
Off-Topic / Re: The grand c++ vs everyone else debate
« on: April 11, 2010, 08:43:21 PM »
I rest my case.  I know that you are giving some fairly decent arguments for C#/Java, but a lot of them that I've seen have been opinion and/or biased statements that cannot be proven.  If you have some decent facts, that would be nice.
I was never arguing for C#/Java. I was arguing that C++ is not perfect for everything, and higher-level languages than it are much better choices for tasks that do not need its low-level capabilities.
I agree, and had I know that that was what you were arguing, I would have agreed earlier.

I use Python, PHP, and Bash script all the time for parsing text and stuff that would otherwise be tedious and annoying in regular C/C++.

487
Announcements / Re: Anaphase
« on: April 10, 2010, 10:47:49 PM »
SOs and DLLs don't operate in the same way.  DLLs have options to load functions from strings.  You can't do that with SOs, afaik.

488
Off-Topic / Re: The grand c++ vs everyone else debate
« on: April 10, 2010, 10:24:27 PM »
PHP: All web languages are interpreted.  PHP is the best one.
Both of those statements are completely false.
False, or not in your opinion?  What do you prefer?  ASP.NET?

Python: Shell script replacement.
That's not what it's used for in almost all cases...
You haven't seen most Python scripts.

Lua: what
Lua is used very often for a scripting language in games and game engines.
Like


I rest my case.  I know that you are giving some fairly decent arguments for C#/Java, but a lot of them that I've seen have been opinion and/or biased statements that cannot be proven.  If you have some decent facts, that would be nice.

489
Off-Topic / Re: The grand c++ vs everyone else debate
« on: April 10, 2010, 06:09:45 PM »
Explain why Python, PHP and Lua are so popular, then.
PHP: All web languages are interpreted.  PHP is the best one.
Python: Shell script replacement.
Lua: what

Also, msvc++ runtimes are crap.  Useful, I guess, but crap. :/

And Rusky, segfaults don't happen every 2 seconds.  They happen once every 2 days on average.

490
Announcements / Re: Anaphase
« on: April 10, 2010, 05:45:28 PM »
GRAPHICS=GL, WINDOW=WIN32, and WINDOW=XLIB. If he can add those... We'll be in good shape.
Have DirectX graphics been implemented yet, or is that purely there for preparation?  Also, in the future, would it be possiblw to write things for ENIGMA (not necessarily you, but maybe someone else could help with it after r4 is released) for WINDOW=WIN64, WINDOW=GTK, and WINDOW=WXWIDGETS?

Yes, you can compile for Win64 with MinGW; Google mingw-w64.  It's mostly experimental, but it works.

EDIT: If ENIGMA is a DLL, what is going to be used for the GNU/Linux version?  You can't link Java to a shared library, afaik.

491
Off-Topic / Re: The grand c++ vs everyone else debate
« on: April 10, 2010, 11:41:35 AM »
Humans are not perfect. Have none of you ever caused a segfault or memory leak in your lives?
Yes, and I fixed it within about two minutes.

492
Issues Help Desk / Re: Map loading
« on: April 07, 2010, 10:31:42 AM »
GM loading of anything will always be slow.

493
Off-Topic / Re: The grand c++ vs everyone else debate
« on: April 07, 2010, 10:30:53 AM »
Different computers have different hardware. Some processor-specific optimizations fail when you switch computers.
Also, on prediction of C and Java, consider this code:

Code: [Select]
//C++
if (x != NULL) x->someField = 2;

//Java
if (x != null) x.someField = 2;

In Java, I can predict that someField of x will become 2.
In C, I can predict nothing. In spite of the check, the application could still crash(segfault) if, for instance, x was free()d.
Well, yeah.  If you deleted it, that's your fault.  If it was deleted because it was a local variable, then you didn't use the -Wall flag (which, informs you of that).

494
Announcements / Re: Anaphase
« on: April 05, 2010, 04:13:39 PM »
I haven't read all of this, but what the hell happened in the last few hours.

C/C++ is a better language.  If you want to make loads of standard libraries in C++ for GC, pointer allocation, etc., that's fine with me.  In fact, I'd love that.

But forcing people to use them in the language is a completely terrible and bad thing to do.

You can't use the argument "IT'S JUST BETTER WITH JAVA" because it's not.  Yes, some Java APIs are better than what C++ has.  It does not mean that Java is a better language.

If the APIs aren't used by everyone, that means that they're obviously not good enough.  How many people use WinAPI?  How many Unix APIs have XLib as a base?

495
Off-Topic / Re: where to learn C++
« on: April 05, 2010, 03:55:15 PM »
Also, how I learned pointers was just making a program with pointers to show how each of the pointer operators worked.  Then, I understood it a lot better.