Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CsTilengine for version 2.9.5
#6
I agree. One main reason for using direct 1:1 bindings is reuse of documentation and existing knowledge of the orifinal API. With this model there is a single API for all languages, that makes it straightorward to reuse.

The other approach, using target language's own constructs as I did with the Python and C# bindings, feels more integrated and natural with the target language semantics. But it requires more work to maintain, a whole new documentation to write, and new knowledge that must be gained despite having experience with the original API.

So at the end, having a targeted binding is nice for the developers of the target language that don't know the original API but is a pain to maintain, whereas a 1:1 translation maybe is not so nice with the target language, but is straightforward to use and work with the existing resources.

Here i don't consider execution performance as both bidings use .NET P/Invoke facility to make calls to native library, where the main overhead is, so performance should be quite similar for both.
Reply


Messages In This Thread
CsTilengine for version 2.9.5 - by vonhoff - 04-01-2022, 04:42 AM
RE: CsTilengine for version 2.9.4 - by System64 - 04-01-2022, 09:00 PM
RE: CsTilengine for version 2.9.4 - by vonhoff - 04-04-2022, 05:39 AM
RE: CsTilengine for version 2.9.4 - by System64 - 04-09-2022, 12:19 AM
RE: CsTilengine for version 2.9.5 - by vonhoff - 04-09-2022, 03:31 AM
RE: CsTilengine for version 2.9.5 - by megamarc - 04-09-2022, 05:11 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)