- 授权协议: MIT/Apache
- 开发语言: Rust
- 操作系统: 跨平台
- 软件首页: http://diesel.rs/
- 软件文档: http://docs.diesel.rs/
软件介绍
Diesel 是一个安全可扩展的 Rust 编程语言的 ORM 框架和查询构建工具。Diesel 可避免运行时错误,提供最好的性能。
示例代码:
extern crate diesel_demo;
extern crate diesel;
use self::diesel_demo::*;
use self::diesel_demo::models::*;
use self::diesel::prelude::*;
fn main() {
use diesel_demo::schema::posts::dsl::*;
let connection = establish_connection();
let results = posts.filter(published.eq(true))
.limit(5)
.load::<Post>(&connection)
.expect("Error loading posts");
println!("Displaying {} posts", results.len());
for post in results {
println!("{}", post.title);
println!("----------\n");
println!("{}", post.body);
}
}
Ant Colony Optimization
Marco Dorigo、Thomas Stützle / A Bradford Book / 2004-6-4 / USD 45.00
The complex social behaviors of ants have been much studied by science, and computer scientists are now finding that these behavior patterns can provide models for solving difficult combinatorial opti......一起来看看 《Ant Colony Optimization》 这本书的介绍吧!
