8
votes
Vote UpVote

Why no bytecode format?

DelphiTools – A compiled script, a TdwsProgram, can’t be saved to a file, and won’t ever be. Why is that? This is a question that dates back to the first DWS, as it was re-asked recently, I’ll expose the rationale here. DWS has a very fast compiler, it’s no performance problem to compile scripts instead of loading a binary representation that has to be de-serialized. How fast is it? See below. DWS lets you define custom filters, that enable you to encrypt your scripts easily, if hiding the script source is what you were after with the bytecode. DWS compiler/parser portion is quite light ...
Favorite? Off-Topic? Eric @ 2010-10-26 12:20

Statistics

Visits: 626
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Daniele Teti
knight_killer
Linas
stukelly
vcldeveloper
Yogi Yang
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)