Hi,

On Mon, May 6, 2013 at 6:31 PM, Reza <[email protected]> wrote:
> ...maintaining an API in multiple languages can be a burden. For example, 
> simply maintaining dClass in Java and C is a
> lot of work which is why I opted for JNI. I would have prefered pure Java but 
> did not want to maintain a single
> algorithm in 2 codebases...

Of course - but if the burden can be shared that's easier.

IMO the critical element in doing that is having reproducible tests
for both implementations, which we can easily achieve with a text file
that lists User-Agent values and the expected device properties.

> ...So right now DeviceMap uses a small subset of dClass functionality. So it 
> might be a good idea to just take that subset and port it over..

Agreed.

> ...I also think porting this subset over to other languages is a very doable 
> task and im open to have someone take this as their own task...

Cool - I'll try that in my Copious Free Time (which means not right now...)

-Bertrand

Reply via email to