![MikolajKolek](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-17%2F7289073606034_2822b176852f718f28c8_192.jpg&w=96&q=75)
![rustlang emoji](/_next/image?url=https%3A%2F%2Femoji.slack-edge.com%2FT0266FRGM%2Frustlang%2Fb23b2fe8c0dbfa5c.png&w=96&q=75)
Posts tagged with :rustlang:
![MikolajKolek](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-17%2F7289073606034_2822b176852f718f28c8_192.jpg&w=96&q=75)
![shashankx86](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-09-01%2F7646653468487_0b7181762a142cb666a8_192.jpg&w=96&q=75)
![tsvrn9](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-31%2F7509450438962_80990a0d69e23d4d4815_192.jpg&w=96&q=75)
![shashankx86](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-09-01%2F7646653468487_0b7181762a142cb666a8_192.jpg&w=96&q=75)
![phthallo](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-18%2F7313148433904_230f15c8b08215a1a4b1_192.jpg&w=96&q=75)
![AditBajaj](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-01%2F7368671650321_191258bd62c74c0f0243_192.jpg&w=96&q=75)
![pepperjack](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-18%2F7295072377779_06ab236816b1e5798cd6_192.jpg&w=96&q=75)
![Jignesh](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F592735912461983b716dbeeef4970f72.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0026-192.png&w=96&q=75)
![pepperjack](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-18%2F7295072377779_06ab236816b1e5798cd6_192.jpg&w=96&q=75)
![LouisvanLiefland](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-27%2F7487448015826_4251c95db3c7527fa4e3_192.jpg&w=96&q=75)
![TeoWelton](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F55906d3d9982c4d78d455dc794e056b7.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0004-192.png&w=96&q=75)
![Sweattypalms](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F27a13ff5f35b05246cfe54f2c526c433.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)
![Victorio](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-05-20%2F7134411432310_4a2562ed346f022ea0d4_192.png&w=96&q=75)
![DmitriyIvkov](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-19%2F7452191846147_64f989c8171c31f7ff5d_192.jpg&w=96&q=75)
![kai](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F1ea3f16c1c393961f179fffa766a72b9.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![tsvrn9](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-31%2F7509450438962_80990a0d69e23d4d4815_192.jpg&w=96&q=75)
![sapmix](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341027054274_fd080c41f98810ca622e_192.png&w=96&q=75)
![OmDwivedi](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-30%2F7356907648612_d551c4a717452d8efcff_192.png&w=96&q=75)
![Actulurus](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-08%2F7389387381410_02f26e4453d132976cec_192.png&w=96&q=75)
![OmDwivedi](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-30%2F7356907648612_d551c4a717452d8efcff_192.png&w=96&q=75)
![TeoWelton](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F55906d3d9982c4d78d455dc794e056b7.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0004-192.png&w=96&q=75)
![Rangel](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-15%2F7580356989269_08da12768f0ceda4131b_192.jpg&w=96&q=75)
![AraizaSingh-U03Q06DS8H2](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2022-07-18%2F3816352794740_abb00e08a617b8f02be6_192.jpg&w=96&q=75)
![RyanDiLorenzo-U04JGJN2B40](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-14%2F7571710707798_5a307c5947f420eeda80_192.png&w=96&q=75)
![Rangel](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-15%2F7580356989269_08da12768f0ceda4131b_192.jpg&w=96&q=75)
![marci1175](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-02%2F7516736723941_3452a482b14964d4fe05_192.jpg&w=96&q=75)
![Actulurus](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-08%2F7389387381410_02f26e4453d132976cec_192.png&w=96&q=75)
![Kestrel](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-09-03%2F7685639019153_b3748ebda0e0efcbc6b9_192.png&w=96&q=75)
![Sweattypalms](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F27a13ff5f35b05246cfe54f2c526c433.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)
rust
! To be as fast, robust and extremely easy to use as possible.
So far a lot of networking related things are done, as well as databases, and also an entire ECS (Entity Component System)! I was missing a NBT parser, so I decided to embark on the journey to make it myself, and oh boy I did. It's so fast and easy to use.
With the addition of the NBT library, I can work on chunks, and a lot minecraft related features. I hope this server progresses a lot now! The ecs, database and a lot of really core features are done. Oh and also global state! The code is really to my likings, it's pretty clean and robust. I can easily add more features, systems etc.
I've attached some image that showcases the simple use of the library. Since it's rust, I've used the derive macros feature to auto generate deserialize/serialize implementations!
The first image showcases how we can create struct and add derive macros on it. The Serialize macro auto-generates the serialize method. Same with Deserialize.
In the second image we instantiate a Sample
object.
The third image shows how easy it is to just serialize the Sample
object we created into a buffer! You can simply do sample.serialize(&mut bytes)
and the bytes would have the serialized data.
Finally, the last image shows how easy it is to read plain bytes back into the datatype (Sample
) we want. Because its possible it's not a correct type, it returns a result, which in this example we use unwrap
to tell the program that trust me, it's the correct type!
And if we check the result of the deserialize with the initial struct we instantiated, they both are indeed the same!
You can find the github repository here: github.com/Sweattypalms/ferrumc
Would appreciate a star! Thanks! ❤️![LouisvanLiefland](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-27%2F7487448015826_4251c95db3c7527fa4e3_192.jpg&w=96&q=75)
![kai](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F1ea3f16c1c393961f179fffa766a72b9.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AtharvaMalik](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-31%2F7671920090945_b3edf2aa8a5ed6cb2333_192.jpg&w=96&q=75)
![Victorio](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-05-20%2F7134411432310_4a2562ed346f022ea0d4_192.png&w=96&q=75)
![DmitriyIvkov](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-19%2F7452191846147_64f989c8171c31f7ff5d_192.jpg&w=96&q=75)
![AtharvaMalik](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-31%2F7671920090945_b3edf2aa8a5ed6cb2333_192.jpg&w=96&q=75)
![TeoWelton](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F55906d3d9982c4d78d455dc794e056b7.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0004-192.png&w=96&q=75)
![Shuflduf](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-22%2F7314755877461_5f539e5669e75b915042_192.jpg&w=96&q=75)
![RahulSaini](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7353530770065_e796daedba159b1197b2_192.png&w=96&q=75)
![RahulSaini](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7353530770065_e796daedba159b1197b2_192.png&w=96&q=75)
![HayesDombroski](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fa65aa2b621670f0b3d91749cfa18a8af.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0012-192.png&w=96&q=75)
![YeGao](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-27%2F7635512019397_bfc06a153c4266849881_192.png&w=96&q=75)
![NicholasFasching](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F345cc8e84ccd5959d3ded78f67c66f66.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0001-192.png&w=96&q=75)
![Ryan-U07DYQHEPTQ](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-26%2F7466984917703_2ef42f7a355a11d3dbc9_192.jpg&w=96&q=75)
![Radha](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F342f77ddd33ce01933c39ef90e1bf6e6.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0009-192.png&w=96&q=75)
![Sweattypalms](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F27a13ff5f35b05246cfe54f2c526c433.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)
rust
! To be as fast and robust as possible. So far I've done packets, you can join the world (chunks aren't done) and a lot of stuff is processed ont he server. By completing the ECS, I/We can work on so much more stuff!
Would appreciate a star! Thanks! <3
github.com/Sweattypalms/ferrumc/tree/feature/async_ecs![TeoWelton](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F55906d3d9982c4d78d455dc794e056b7.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0004-192.png&w=96&q=75)
![marci1175](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-02%2F7516736723941_3452a482b14964d4fe05_192.jpg&w=96&q=75)
![Sweattypalms](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F27a13ff5f35b05246cfe54f2c526c433.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)