GithubHelp home page GithubHelp logo

iabudiab / objectiverocks Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 23.0 696 KB

An Objective-C wrapper for RocksDB - A Persistent Key-Value Store for Flash and RAM Storage.

License: MIT License

Objective-C 35.52% Objective-C++ 41.47% C++ 1.38% Swift 19.73% Ruby 1.32% Shell 0.58%
database objective-c rocksdb wrapper

objectiverocks's People

Contributors

dtorres avatar iabudiab avatar iwasrobbed-ks avatar myeyesareblind avatar siuying avatar warrenfalk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

objectiverocks's Issues

Add support to arm64 architecture

Hey ๐Ÿ‘‹

I've encountered an issue while trying to compile an app that uses ObjectiveRocks as a dependency to be run on a arm64 simulator. I wonder if there're any plans to add support to arm64 architecture, and if there's anything I can do to help achieve that?

This is the error I get when attempting to compile for arm64 simulator on an M1 computer running Xcode on Rosetta:

โŒ  ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/redacted/Pods/ObjectiveRocksFramework/iOS/ObjectiveRocks.framework/ObjectiveRocks' for architecture arm64
โŒ  clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **

Appreciate any help!

General question: thread safety

Hi @iabudiab ๐Ÿ‘‹ This is more a general question: Do you happen to know which parts of this framework are / aren't thread safe, if any?

There are a few @synchronized calls, but wondering if you had any high level advice around concurrency. I'm looking into a concurrent reader/writer design (concurrent reads, serial writes with a barrier to block reads) so just trying to understand how ObjectiveRocks and RocksDB will play into that.

Thank you for any input! ๐Ÿ™

Linux support

Hello, very nice project,

I'm just starting to learn swift and was wondering if it was possible to use this library on linux systems ?

thanks

BackupEngine for iOS

Hi there ๐Ÿ‘‹

I noticed that RocksDBBackupEngine is not included in the iOS source (only macOS). Is there a specific reason for this?

Thanks!

Edit: Looks like RocksDB has #ifndef ROCKSDB_LITE in that class โ˜น๏ธ Must be missing some support.

Publish to CocoaPods?

It seems the repo already have the latest podspec, any reason it is not on cocoapods yet?

API request: isClosed

Request

We've been using a quite old version of ObjectiveRocks since 2015 or so and it used to have an isClosed method defined like:

// RocksDB.h
- (BOOL)isClosed; 

// RocksDB.mm
- (BOOL)isClosed {
    return _db == nullptr;
}

I'm wondering if there was a specific reason this was removed or if there's another way to check if the database instance is still open.

Thanks!

Also, kudos to you for the API staying mostly unchanged for all these years. Our update was pretty much a drop-in replacement ๐ŸŽ‰

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.