BEPUphysics VS U8String

Compare BEPUphysics vs U8String and see what are their differences.

BEPUphysics

Pure C# 3D real time physics simulation library, now with a higher version number. (by bepu)

U8String

[work-in-progress] Highly functional and performant UTF-8 string primitive for C# (by U8String)
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
BEPUphysics U8String
9 7
2,596 175
1.1% 0.6%
8.4 9.2
16 days ago 11 months ago
C# C#
Apache License 2.0 MIT License
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.

BEPUphysics

Posts with mentions or reviews of BEPUphysics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-10.
  • Helion: A modern fast paced Doom FPS engine in C#
    3 projects | news.ycombinator.com | 10 Jun 2025
    Go and have a look at Bepu Physics v2: https://github.com/bepu/bepuphysics2

    It can be quite performant these days, sadly I'm stuck developing in Unity Mono C# which is quite a bit behind.

  • SIMD Matters: Graph Coloring
    1 project | news.ycombinator.com | 22 Aug 2024
    > The other problem with simd is that in modern cpu-centric languages it often requires a rewrite for every vector width.

    It does not: https://github.com/bepu/bepuphysics2/blob/master/BepuUtiliti...

    Also you can’t go to GPU for most tasks SIMD is used in CPUs today. Good luck parsing HTTP headers with that.

  • Quartz: A Deterministic Time Testing Library for Go
    6 projects | news.ycombinator.com | 15 Jul 2024
    This may be your personal experience but it is used successfully and happily by many in a variety of domains way different to "boring OOP back-ends". No popular general purpose language is confined to a single domain like you describe. C# lets you do things like writing a competitive Redis implementation[0], advanced physics engine that beats Jolt[1] or a game engine that does not rely on C++ or C[2], cross-platform applications[3] and so on and so forth. The language itself lets you go from high level FP style approach for business domain modeling to very low-level data crunching that is competitive with systems programming languages.

    [0]: https://microsoft.github.io/garnet/docs/benchmarking/results...

    [1]: https://github.com/bepu/bepuphysics2

    [2]: https://www.stride3d.net

    [3]: https://avaloniaui.net

  • Using SIMD for Parallel Processing in Rust
    6 projects | news.ycombinator.com | 1 Jul 2024
  • Current state of 2D game code-first frameworks?
    3 projects | /r/csharp | 28 Apr 2023
    The best pure-C# physics library (hands-down) is bepuphysics2, which unfortunately is mainly a 3D physics library, but could be used for 2D if you wanted to get your hands dirty.
  • Physics Engine
    2 projects | /r/csharp | 17 Nov 2022
  • Open Source C++ Physics Libraries for Dedicated FPS Server?
    3 projects | /r/gamedev | 22 Sep 2022
    Bepu Physics is pretty good and is written in really optimized C#, the author's blog post are really interesting to read.
  • GJK: Collision detection algorithm in 2D/3D
    5 projects | news.ycombinator.com | 9 Mar 2022
  • Early Demo of Dynamic Blocky Lighting System
    1 project | /r/VoxelGameDev | 20 Mar 2021
    I use https://github.com/bepu/bepuphysics2. I haven't worked with 3d physics engines before so I can't really comment on it's quality but it is definitely an impressive project! The developer is very active and helpful and some of the demo scenes are pretty large and complex.

U8String

Posts with mentions or reviews of U8String. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-11.
  • Go structs are copied on assignment (and other things about Go I'd missed)
    4 projects | news.ycombinator.com | 11 Aug 2024
  • Tolower() with AVX-512
    5 projects | news.ycombinator.com | 28 Jul 2024
    Mask add looks neat! I wish there was a way to directly manipulate AVX512's mask registers in .NET intrinsics but for now we have to live with "recognized idioms".

    Some months ago I wrote a similar ASCII in UTF-8 upcase/downcase implementation: https://github.com/U8String/U8String/blob/main/Sources/U8Str...

    (the unrolled conversion for below vectorization lengths is required as short strings dominate most codebases so handling it fast is important - the switch compiles to jump table and then branchless fall-through to return)

    For now it goes as wide as 256b as it already saturates e.g. Zen 3 or 4 which have only 256x4 SIMD units (even though Zen 4 can do fancy 512b shuffles natively and has very good 512b implementation). The core compiles to:

                  cmp      rdx, 32
  • Using SIMD for Parallel Processing in Rust
    6 projects | news.ycombinator.com | 1 Jul 2024
  • Scan HTML faster with SIMD instructions – Chrome edition
    7 projects | news.ycombinator.com | 13 Jun 2024
    A little more on topic, if you like SIMD and C#, dotnet/runtime now has an introductory guide to Vector128/256/512 API:

    https://github.com/dotnet/runtime/blob/main/docs/coding-guid...

    Now, the default syntax can still be a bit more wordy with byref arithmetics than ideal, but you can add a few extension methods to look it closer to Rust's pointer arithmetics: https://github.com/U8String/U8String/blob/main/Sources/U8Str...

  • Writing x86 SIMD using x86inc.asm (2017)
    3 projects | news.ycombinator.com | 26 Mar 2024
  • Zig, Rust, and Other Languages
    5 projects | news.ycombinator.com | 15 Mar 2024
  • Was Rust Worth It?
    18 projects | news.ycombinator.com | 25 Oct 2023
    Writing performance-sensitive code in C and calling it via interop used to be the way to go during .NET Framework days but since then has become a performance trap.

    Especially for small methods, calling them through interop is a deoptimization because they cannot be inlined, and involve GC frame transition (which you can suppress) as well as an indirect jump and maybe interop stub unless you are statically linking the dependency into your AOT deployment. In case the arguments are not blittable to C - marshalling too.

    It is also complicates the publishing process because you have to build both .NET and C parts and then package them together, considering the matrix of [win, linux, macos] x [x64, arm64], it turns into quite an unpleasant experience.

    Instead, the recommended approach is just continuing to write C# code, except with pointer and/or ref based code. This is what CoreLib itself does for the most performance-sensitive bits[0]. Naturally, it intentionally looks ugly like in Rust, but you can easily fix it with a few extension methods[1].

    [0]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...

    [1]: https://github.com/U8String/U8String/blob/main/Sources/Share...

What are some alternatives?

When comparing BEPUphysics and U8String you can also consider the following projects:

JoltPhysics - A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.

subgroup1

Stride Game Engine - Stride (formerly Xenko), a free and open-source cross-platform C# game engine.

rfcs - RFCs for changes to Rust

osu-framework - A game framework written with osu! in mind.

Packagist - Package Repository Website - try https://packagist.com if you need your own -

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that C# is
the 10th most popular programming language
based on number of references?