I couldn't find anything extant to use LevelDB from Dart and a quick answer on StackOverflow confirmed my suspicions: there is no LevelDB support from Dart. That's odd considering they're both Google initiatives
--but I can understand that priorities are somewhat different. IMO good LevelDB support would be a huge win for server-side Dart. I'm not a C++ programmer myself, so I wouldn't trust the code I would attempt to write to create an async port that uses LevelDB's C++ API. I'm sure I could muddle through but I'm just not sure I have the time or willpower.
Since I can't find any other questions about LevelDB here in this group, I assume no one has yet discussed what form this integration should take and what such a Dart API would look like?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
--but I can understand that priorities are somewhat different. IMO good LevelDB support would be a huge win for server-side Dart. I'm not a C++ programmer myself, so I wouldn't trust the code I would attempt to write to create an async port that uses LevelDB's C++ API. I'm sure I could muddle through but I'm just not sure I have the time or willpower.Is there a LevelDB group you could maybe get help from?
I’m not currently part of one but I’m sure there’s help to be had there…
Since I can't find any other questions about LevelDB here in this group, I assume no one has yet discussed what form this integration should take and what such a Dart API would look like?Not that I know of. I assume it'd look something like IndexedDB or the other database packages - the good ones have used Futures and Streams to make idiomatic APIs. I see that the LevelUP package for Node is synchronous, I'd probably suggest that a Dart API be asynchronous.
I agree. I’m all about reactive, async patterns! :)
I’ve been looking into the async port API for Dart and it does look reasonably straightforward. The hard part is really going to be getting the C part correct since that’s a bit of an unknown to me.
I couldn't find anything extant to use LevelDB from Dart
I couldn't find anything extant to use LevelDB from Dart
I could also find good uses for such a packages, but I also have no time/willpower to write a native extension :(
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
-- John