•   about 9 years ago

SwiftGraph

Swift is a safe and powerful programming language which gives us many powerful features, including enums, tuples, protocols, generics, functional programming and more!

Neo4j is a leading NoSQL graph database built in Java with a really interesting concept: Model data as graphs! When you sit down to model data, you probably start by making a graph. I have people, they ATTEND the try! Swift conference. The people KNOW other people. I’ve just described some nodes and the relationships between them!

Let's create SwiftGraph! SwiftGraph will be a fast, in-memory graph, modeled after Neo4j using pointers, protocols, and other features learned from sessions at the conference. Let’s:

1. Make the graph safe and performant using the Unsafe APIs where necessary
2. Take advantage of Swift’s functional programming to traverse and query the graph using Sequence and Collection
3. Compare performance of querying a large dataset between the graph and CoreData.

This project aims to push the limits of Swift using many of its great features!

(下手な日本語、すみません。頑張ります!)

SwiftでNeo4jみたいなグラフAPIを作るSwiftGraph!

グラフは考えてるアプリのデータモデルと同じだと思います。人いる。あの人がコンファレンスに参加する。人が他の人を知っています。これはグラフのノードと関係ですね!

Swiftのポインター、プロトコールなどを使ってSwiftGraphを作りましょう!詳しく:

1)セーフでいいパフォーマンスグラフを作る
2)ファンクショナルプログラミングでグラフを検索する
3)コアデータとパフォーマンスを比較する

Swiftの多くの機能を使ってみましょう!

  • 0 comments

Comments are closed.