tags:

views:

666

answers:

3

I am using sqlite in my C# project. MoMA complains about the DLLs and i am unsure what to do on the mac/linux side. What are things i generally need to do when porting external DLLs?

+2  A: 

You could use the SQLite assembly that's shipped with Mono - it's derived from the one you are probably using now.

See http://mono-project.com/SQLite for more details

AngryHacker
That looks right, i'll look into it monday or tuesday and mark this accepted or not :)
acidzombie24
@acidzombie24 - and?
Stewart
+1  A: 

PHXSoftware's System.Data.Sqlite runs on Mono.

Kris Erickson
+1  A: 

You might want to look at the C# reimplementation of SQLite on googlecode. This started life as a line-by-line port of the C++ SQLite but after lots of improvements now outperforms the original for many types of operation.

Stewart
It says its 5x slower...
acidzombie24
@acidzombie24 - the original was about 5x slower, typically. The latest version is much faster than that as shown in the benchmarks at http://code.google.com/p/csharp-sqlite/wiki/Benchmarks
Stewart
@Stewart: You do know that bigger values are worse? as its time and you want the shortest time. Interesting, it looks like some of these values are shorter then SQLite. Very interesting. It looks like most of these values are larger and SQLite is still the fastest on inserting. I wonder what stats i should look at for updates. But, both are pretty fast so it doesnt matter.
acidzombie24
@acidzombie24 - LOL - I didn't say SQLite was faster overall. I was originally just pointing out that for many (not all) operations it was faster. In my comment, I was merely pointing out that it was now better than "about 5x slower".
Stewart
oh, gotcha, ok +1.
acidzombie24