I can hear the mobs...
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
CrazyAznGamer

coming to lynch me for this idea:
Making the VERGE source into a library, allowing VC files to be compiled directly into an executable. After all, from what I've seen, VC can *possibly* be used as C source (granted if it was C, some portions could actually be optimized further).
If nobody feels like doing this, that's fine. I'm aware of the many problems this may cause.

Posted on 2006-02-06 16:45:32

Omni

nah...Then everyone would have to download huge freaking DirectX and Windows SDKs.

That'd be horrible.

Posted on 2006-02-06 17:15:31

Omni

I understand the appeal of your idea, though. Simplicity. Why write C-like scripts when you can just write in C?

And of course, the answer is: because writing in C requires much, much more software and time than a simple Verge.exe and notepad.

Posted on 2006-02-06 17:16:57

adderd

Actually we talked about this on IRC yesterday or so. I think it's an idea which should be considered...sort of. Something needs to change because VergeC is a bit on the slow side currently. There are ways to tweak the current VergeC. Or, something like you are suggesting could be considered. Or something like LUA or SeeR could be used to replace VergeC. I think it'd be tough to replace it outright as it seems like vergec does some magic for you that a normal compiler would not (like auto filling in entity's and stuff).

I think that the best course of action would be to optimize the vergec interpreter. That is the lowest stress method as it takes stress off of the users and puts it solely in the court of the verge developers. And it prevents further reinventing of the wheel.

Another potential area of attack would be to put more functions into the verge runtime. The more functions that are compiled into the interpreter the faster most games are bound to go. But doing so bloats the interpreter and such functions may not be used by all or most games. Still I think it should be considered.

Posted on 2006-02-06 19:46:50

Interference22

Actually, writing in C rather than VergeC is much harder: since VergeC is a simplification of C for the purpose of making games and C is meant for a whole raft of other (occasionally mind-boggling) purposes.

The advantage of this is that anything you won't be needing in VergeC isn't included and therefore won't bog down first time users. On top of that, the focus that it's simplification encourages means that when a question about coding is asked there is usually someone with a simple answer since they've encountered a very similar problem.

Posted on 2006-02-09 19:07:13

adderd

C is actually a pretty small language but it does allow you to combine features in 'interesting' ways. VergeC is simpler but I'm not sure that it necessarily benefits new users so much as it makes it easier to write the compiler.

One thing I tried to do that you can't in VergeC is combine features like so:

MyArray[Index++] = value;

In C that works, it does the statement and increments Index. In vergec it chokes. It SHOULD work and it makes sense but you can't do it in vergec.

Posted on 2006-02-10 10:58:22


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.