GithubHelp home page GithubHelp logo

yuinseo / minecraft-server-rs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bruce0203/minecraft-server-rs

0.0 0.0 0.0 408 KB

[Warning WIP] 1.20.4 Minecraft server written in Rust

Rust 100.00%

minecraft-server-rs's Introduction

Minecraft server (made with Rust)

It is a project that eliminates the necessary hardware performance cost and optimizes the server from the bottom without the economic difficulty of purchasing expensive hosting servers to operate Minecraft servers

Why do I have to start this project and make something new

No Minecraft server existed that satisfies the requirements below.

Project Requirements

  • In Raspberry Pi Zero 2W (ARM Cortex A53 processor clocked at 1GHz and 512MB RAM) environments, high performance server applications are required to hold more than 30 users
  • Different versions of clients connect to a server
  • AntiCheat
  • Various minigames

my diagram

my_diagram


Discussion

Things that I need to think about more and make sure to decide

  • A client for testing shall be implemented.
  • Pluggable selector pattern design structure or ECS (Entity Component System) structure

things that have already been carefully decided in the project

  • Implement Minecraft Server as Rust
  • Let's use the mio crate, without having to implement the socket selector kqueue/epoll directly

an appendix

Why did you choose Rust Language

  • None of the servers originally made in the Java language had the performance I wanted.
  • Java is slow. It takes as much as 7 nanoseconds to create a single buffer. (It was slower than Rust, which takes up to 1 nanosecond at its best performance.)
  • The reason for choosing Rust over C/C++ is that Rust has a more powerful type system than Java/Kotlin.

Why use the standard library's buffer Cursor<Vec> without using the BytesMut of bytes crate

click here

minecraft-server-rs's People

Contributors

bruce0203 avatar d3lta-2-1 avatar

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.