Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Generates executables how?

Author
Message
Aaron Miller
20
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Sep 2006 02:35
OK, so it is an interpreter, a runtime environment. Why?

It seems that you cant change the icon, but i could not find the runtime, and, since it is a runtime, how does it take in the code?? Sorry, i am a bit confused on this, and am in no hurry for an answer. (I am speaking of the dbc compiler).

NOTE: This does not reflect on how executables are generated for GD.

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 26th Sep 2006 04:46
Not sure what you mean about the icon...

Think of dbc as a 3d engine (it's more than that, but for concept that's enough). Once the engine is activated, it interprets the commands that are given to it. DBC isn't a compiler in the sense that it makes usable machine code out of scripted commands like C, but it can generate a self running executable that is a "version" (you could say compiled version I suppose) of it's own 3d engine running those commands it was given. As a runtime environment, the 3d engine can interpret in real time the commands that it is given. The engine expects a certain syntax and order, and converts the code on the fly to useable instructions. Unlike a language like C - that is considered portable across platforms - dbc needs itself to execute it's own code - that's why it has a runtime environment, and that's why it creates an executable that contains it's own 3d engine.

Enjoy your day.

Login to post a reply

Server time is: 2026-07-07 00:08:38
Your offset time is: 2026-07-07 00:08:38