#1 2020-12-09 17:51:32

Leslie7
Member
Registered: 2015-06-25
Posts: 248

ICU API for posix

AB,

this sounds interesting. smile

Since android is not fully posix compatible and  bionic is lacking in this deparment maybe this is worth a look:

https://www.crystax.net/en/android/ndk/10

It allows to target IOS, OS X, Windows, Linux ...


mORMot is aimed mainly at microservices on servers but I am also interested in an other use case:  local database access for desktop and mobile apps.

Last edited by Leslie7 (2020-12-09 17:57:28)

Offline

#2 2020-12-09 20:04:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: ICU API for posix

Android has good enough ICU support.
At least for the TICULibrary we included today.
In fact, we used the FPC Android cwstring unit as reference.

Offline

#3 2020-12-10 15:19:54

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ICU API for posix

Wow, even more exciting. smile I can see in the source now the part which loads ICU for android. 
Could  not find TICULibrary yet... I assume it is still work in progress.

Offline

#4 2020-12-10 16:01:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: ICU API for posix

TICULIbrary is in the mormot.core.os.pas unit of mORMot 2.

On mORMot 1.18, you have the ICU methods in TExternalLibraries of SynFPCLinux.pas.

Offline

#5 2020-12-22 22:52:09

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ICU API for posix

Got it,  thanks.

Offline

Board footer

Powered by FluxBB