1. Binding
- Posted by smudger Jan 07, 2011
- 1417 views
Does the binding function in openEuhporia more closely match this definition:
http://en.wikipedia.org/wiki/Language_binding ?
or this definition:
http://en.wikipedia.org/wiki/Data_binding ?
Cheers, Smudger.
2. Re: Binding
- Posted by mattlewis (admin) Jan 07, 2011
- 1390 views
Does the binding function in openEuhporia more closely match this definition:
No. A library that uses the open_dll()/define_c/call_c functions would provide a euphoria binding to something.
or this definition:
That's also something completely different.
Binding a euphoria program is a way to preprocess the euphoria source code and put it in the same file as the backend of the interpreter. Basically, once it's bound, you run it like any "normal" program, and you eliminate most of the overhead associated with parsing euphoria code.
Matt
3. Re: Binding
- Posted by tiger0581 Jan 07, 2011
- 1284 views
Is there any particular reason you would want to bind the program instead of use euc?
4. Re: Binding
- Posted by jaygade Jan 07, 2011
- 1285 views
Binding for Euphoria existed before translation and compilation. There may be subtle bugs in translation - although hopefully not. Maybe not everyone has a C compiler installed. Binding is quicker than translation and compilation.