11.04.2011 15:44, Vlad Khorsun wrote: >> Not quite so. "Easy to write" (for me) means "use well documented API >> which has enough >> examples of usage". Nothig from this is applied to the new API. > > Do you have completed API somewhere ? Where do you read that API is > already completed and > documented ? This mailing list is for developers of Firebird, and we talk > about work in progress here.
Usually development of such things as _public_ API comes in backward direction: specification first, implementation later. Breaking of this rule used to lead to a mess. Look at _already implemented_ API extension - fb_ping() and point me to it's description in doc/ folder, please. None. Ok, let's take much older extension - fb_interpret(). Also only one mention in RN, no parameters description, no usage in examples. Any reason to think that new API will be more fortunate? I don't have it. >> And, BTW, what "additional access layers" you have on mind? Y-valve? > > I speak about "drivers", such as IBPP, IBX\FIB+, ODBC, etc You know that I don't use them. >>> Call overhead also will be less than with ISC API. >> >> How big performance gain do you expect from it? > > I don't know. When it will be ready, you are welcome to test it. So, "call overhead also _will_ be less" is just a hope and new API may be slower than old one, right? >> AFAIK, CPU time wasted in old API >> serialization is microscopic in comparison with network or disk interaction >> time. > > Its not about serialization. Its about converting of data between > formats and calls thru many > levels of internal functions. AFAIU, new API is based on the Message API (at least in this thread is discussed exactly wrapper around BlrMessage). There is only one transformation between XSQLDA API and Message API, and it includes no data conversion, just copying it. Exactly as the new API does. Where profit will come from? -- SY, SD. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
