diesel_async VS bevy

Compare diesel_async vs bevy and see what are their differences.

diesel_async

Diesel async connection implementation (by weiznich)

bevy

A refreshingly simple data-driven game engine built in Rust (by bevyengine)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
diesel_async bevy
9 572
547 32,060
- 3.4%
7.0 9.9
7 days ago 4 days ago
Rust Rust
Apache License 2.0 MIT OR Apache-2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

diesel_async

Posts with mentions or reviews of diesel_async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-22.
  • Can I use an AGPL licensed crate in my closed source backend?
    1 project | /r/rust | 28 Aug 2022
    So I want to use diesel_async in my web backend.
  • Diesel 2.0.0 RC1
    11 projects | /r/rust | 22 Jul 2022
    The already linked discussion from last time already contains a lot of information about this. Diesel itself does not provide async operations and that will likely remain that way for a foreseeable future. At least my preferred solution is to keep async support in a separate crate. A prototype for this is currently available here. Keep in mind that this is not released yet, so there might be bugs everywhere. I plan to cut a first release of this crate after the final release of diesel 2.0, which means hopefully soon. As for ETA's: I generally do not give any ETA's for releases, as this is currently a free time project for me.
  • Any active open source repos built using Rust that need development ?
    11 projects | /r/rust | 16 Jun 2022
    So, diesel is an ORM that tries to take full advantage of rust's typing expressivity to allow for statically checked, and fast, queries. I absolutely loved it when trying it out the first time.
  • Reviews of the Diesel ORM, are there better alternatives?
    11 projects | /r/rust | 15 May 2022
    i don't see why you or anyone else would consider it too big of an issue that Diesel doesn't have async. For those who really want async diesel right now, the author already released diesel_async as a stop-gap solution, but even without that there's nothing wrong with using spawn_blocking. It feels worse than it really is to use blocking thread pools; until io_uring is a thing, there's no real getting around the necessity of threads being blocked for I/O and so adding async to the mix doesn't magically make things faster.
  • What is your go-to database crate for PostgreSQL?
    2 projects | /r/rust | 3 May 2022
    As for now there is an prototype available here. It's technically feature complete, but depends on a unpublished diesel version + has some remaining bugs with certain mysql versions. If that is fixed I will likely publish a first alpha version officially. That can take same time because that's a second large project that needs maintenance time beside diesel itself and that's quite a lot to do in my free time. You can support this work by sponsoring me on github
  • Diesel 2.0.0 RC.0
    4 projects | /r/rust | 22 Apr 2022
    Async support for diesel currently lives in a separate repository as there are language level blocking issues for publishing a version of this crate where we could commit to a stable release at all. See the corresponding diesel issue for details.
  • Async Rust in 2022
    7 projects | /r/rust | 3 Feb 2022
    https://github.com/weiznich/diesel_async tho'.
  • diesel-async: An async version of diesel
    3 projects | /r/rust | 16 Jan 2022
    Weiznich (the maintainer of Diesel) has created an experimental async version of the diesel Connection and RunQueryDsl traits, which should help with ease-of-use for Diesel within async contexts. It is not yet published on crates, but you can find it here: https://github.com/weiznich/diesel_async
  • In Defense of Async: Function Colors Are Rusty
    3 projects | news.ycombinator.com | 5 Jan 2022

bevy

Posts with mentions or reviews of bevy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • 3D and 2D: Testing out my cross-platform graphics engine
    17 projects | news.ycombinator.com | 2 Apr 2024
    I don't see WASM/WebGPU changing anything when it comes to gaming, as an industry, personally. 3d visualizations and interactive websites? Yeah definitely a nice improvement over WebGL 2, if years late.

    WebGPU is pretty far behind what AAA games are using even as of 6 years ago. There's extra overhead and security in the WebGPU spec that AAA games do not want. Browsers do not lend themselves to downloading 300gb of assets.

    Additionally, indie devs aren't using Steam for the technical capabilities. It's purely about marketshare. Video games are a highly saturated market. The users are all on Steam, getting their recommendations from Steam, and buying games in Steam sales. Hence all the indie developers publish to Steam. I don't see a web browser being appealing as a platform, because there's no way for developers to advertise to users.

    That's also only indie games. AAA games use their own launchers, because they don't _need_ the discoverability from being on Steam. So they don't, and avoid the fees. If anything users _want_ the Steam monopoly, because they like the platform, and hate the walled garden launchers from AAA companies.

    (I work on high end rendering features for the Bevy game engine https://bevyengine.org, and have extensive experience with WebGPU)

  • What Are Const Generics and How Are They Used in Rust?
    3 projects | dev.to | 25 Mar 2024
    I was working through an example in the repo for the Bevy game engine recently and came across this code
  • WebAssembly Playground
    9 projects | news.ycombinator.com | 4 Feb 2024
    That's possible. I did spend quite a bit of time tinkering with compiler flags, and followed the recommendations.

    Some notes I found just now seems to agree with my results, though: https://github.com/bevyengine/bevy/issues/3978#issuecomment-...

  • Immediate Mode GUI Programming
    15 projects | news.ycombinator.com | 15 Jan 2024
    I cannot recommend immediate mode GUI programming based on the limitations I've experienced working with egui.

    egui does not support putting two widgets in the center of the screen: https://github.com/emilk/egui/issues/3211

    It's really easy to get started with immediate mode, it's really easy to bust out some UI, but the second you start trying to involve dynamically resized context and responsive layouts -- abandon all hope. The fact it has to calculate everything in a single pass makes these things hard/impossible.

    ... that said, I'm still using it for https://ant.care/ (https://github.com/MeoMix/symbiants) because it's the best thing I've found. I'm crossing my fingers that Bevy's UI story (or Kayak https://github.com/StarArawn/kayak_ui) become significantly more fleshed out sooner rather than later. Bevy 0.13 should have lots more in this area though (https://github.com/bevyengine/bevy/discussions/9538)

  • A minimal working Rust / SDL2 / WASM browser game
    6 projects | news.ycombinator.com | 15 Jan 2024
  • ECS, Finally
    4 projects | news.ycombinator.com | 30 Dec 2023
    I've also been enjoying building My First Game™ in Bevy using ECS. The community around Bevy really shines, but Flecs (https://github.com/SanderMertens/flecs) is arguably a more mature, open-source ECS implementation. You don't get to write in Rust, though, which makes it less cool in my book :)

    I'm not very proud of the code I've written because I've found writing a game to be much more confusing than building websites + backends, but, as the author notes, it certainly feels more elegant than OOP or globals given the context.

    I'm building for WASM and Bevy's parallelism isn't supported in that context (yet? https://github.com/bevyengine/bevy/issues/4078), so the performance wins are just so-so. Sharing a thread with UI rendering suuucks.

    If anyone wants to browse some code or ask questions, feel free! https://github.com/MeoMix/symbiants

  • Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
    13 projects | news.ycombinator.com | 14 Dec 2023
    These days, some game engines have done pretty well at making compute shaders easy to use (such as Bevy [1] -- disclaimer, I contribute to that engine). But telling the scientific/financial/etc. community that they need to run their code inside a game engine to get a decent experience is a hard sell. It's not a great situation compared to how easy it is on NVIDIA's stack.

    [1]: https://github.com/bevyengine/bevy/blob/main/examples/shader...

  • Trying to write a game with mods loaded at runtime
    1 project | /r/bevy | 10 Dec 2023
    This is the API you need: https://github.com/bevyengine/bevy/pull/9774
  • Not only Unity...
    53 projects | /r/opensourcegames | 11 Nov 2023
  • Capturing the WebGPU Ecosystem
    9 projects | news.ycombinator.com | 11 Nov 2023
    Most of Nanite (at least, everything but the LOD system, I haven't tried that part, and the compute rasterizer due to lack of storage image atomics because Metal lacks them...) is implementable in WebGPU actually.

    I have a PR that does a lot of the same things (meshlets, visbuffer, material depth, two pass occlusion culling) open for Bevy https://github.com/bevyengine/bevy/pull/10164 that I've been working on, which uses WebGPU.

    WebGPU is actually a pretty good API imo. It's missing some advanced features like raytracing, mesh shaders, and subgroup operations (coming soon!), but it can still do a lot.

    The much bigger missing feature is "bindless" support (non-uniform arrays of bound resources). BindGroup overhead (and ergonomics) is a significant downside.

What are some alternatives?

When comparing diesel_async and bevy you can also consider the following projects:

rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL

Amethyst - Data-oriented and data-driven game engine written in Rust

bb8 - Full-featured async (tokio-based) postgres connection pool (like r2d2)

Godot - Godot Engine – Multi-platform 2D and 3D game engine

mirrord - Connect your local process and your cloud environment, and run local code in cloud conditions.

Fyrox - 3D and 2D game engine written in Rust

tokio-uring - An io_uring backed runtime for Rust

piston - A modular game engine written in Rust

prisma-client-rust - Type-safe database access for Rust

RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]

diesel - A safe, extensible ORM and Query Builder for Rust

specs - Specs - Parallel ECS