>
> What platforms are currently supported?
Anything that supports the basic Haxe sys module should work. I've done quick tests on neko php and CPP.
Some platforms seem faster. I wonder if Haxe could provide its own cpp externs within the sys module? E.g. a compiled CPP extern used by neko...
Best,
Justin
Also worth mentioning... I believe this should all work inside of macros as well. It could make for an interesting orm.
Nice approach...
Doing it completely in Haxe using sockets rather than wrapping ndlls or native libraries is cool, and really allows it to work cross-platform in a fairly reliable way. Once this gets a bit more stable it will be interesting to see what is needed for it to work with Haxe's DB macros. Mostly the macros just generate SQL statements, but until now they've only been tested against MySQL and SQLite, so supporting Postgres support may require a few changes...
Postgres support should also be possible on the Java target via the JDBC driver once Cauê merges his pull request... But a native "haxe" implementation is just so cool :)
Jason
cool
I'm aware that the DB macros have some connection specific hacks in them, especially the TableCreate class, but in a few other places as well. At the moment I've seen these workarounds for MySQL and SQLite, so there would just have to be some testing (or thorough examination of the code) to see where these occur and where they don't.
As more connection types become available it would be worth looking to minimize these hacks, and the other thing I would like to look at is having them work with an Async connection for NodeJS. All in good time :)