henet
zig
henet | zig | |
---|---|---|
10 | 818 | |
8 | 31,212 | |
- | 4.5% | |
0.0 | 10.0 | |
over 10 years ago | 1 day ago | |
Haskell | Zig | |
MIT License | MIT License |
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.
henet
-
Microsoft wins FTC fight to buy Activision Blizzard
Halo was mostly all about single player and early multiplayer/local multiplayer but their online netcode has sucked since Blood Gulch. Lots of games do networking horribly, I have been in gamedev making networking and I hate most of what people do. The ones that have a clean natting, based on enet style reliable UDP channels, RakNet style punch are better (RakNet was good until Facebook bought it). It has come a long way but also fallen back. Valve source netcode (on github) is probably the best and you can check it out here. They started with the best in Quake networking, then to Source.
-
Multiplayer Networking Solutions
Enet already talked about in the thread
- What's an actually useful netcode package!
-
Porting SDL2 Game to the web, Emscripten tutorial
Probably not. It says Enet runs over UDP, which Web Browsers / WebAssembly / Emscripten don't provide. Web browsers / Emscripten provide TCP only (source). That, and Enet probably calls standard UNIX / Winsock functions, which Emscripten doesn't have. ENet would have to specifically support Emscripten as a target platform.
-
Game networking with QUIC
Are you familiar with enet ? It's a popular C library which implements optional reliability on top of UDP.
-
HTTP/3 becomes a standard, at last - Networking - Security
The other that is the base of most networking libs today is enet, one of the cleanest C networking libraries you will ever find. The RUDP and channels in it were very nice.
-
Making a multiplayer server
Inconsistencies can be prevented by ensuring the server handles all operations and does so in a given order, then transmits the results to clients. I wrote a little about this for my game Avoyd a long while ago. Clients (including a client running the server) send an edit request via reliable ordered UDP (e.g. using Enet, Raknet, Steam Networking etc.) and the server places these in a single queue then performs the edits and sends the results back also using reliable ordered UDP.
-
How I Taught the D Programming Language at a Russian University
I find this interesting. Vibe.d is async, but written in a sync fashion (in essence, the async is hidden in the i/o subsystem). For my class with grade-school students, I used enet (http://enet.bespin.org/) with a wrapper I wrote to automatically serialize messages.
-
what is the easiest way to add online multiplayer to a voxel game?
A popular simple low level open source reliable UDP library is ENet.
-
Speed Dreams needs you! (Call for devs)
-Improve the status of the Online Mode: This mode built with eNet, currently allows to create multiplayer races, but while it works acceptably well in a LAN, over the internet is unplayable presenting a huge lag, among other problems.
zig
-
Show HN: I made a better Perplexity for developers
It's "Zig" not "Zag". https://ziglang.org/ Zig is under heavy development, but there's a single page https://ziglang.org/documentation/0.12.0/ that is a reasonably comprehensive source of truth about the current state of the language.
- The search for easier safe systems programming
-
Memory-mapped IO registers in Zig. (2021)
There is an issue proposing this approach: https://github.com/ziglang/zig/issues/4284
- Zig Programming Language
- Zig Language 0.12 Release
-
Zig 0.12.0 Release Notes
https://github.com/ziglang/zig/issues/224
e.g.:
> > When debugging/prototyping, it's useful to comment out a line without having to refactor, e.g.
-
How to Write a PHP Extension with Zig?
When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig).
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations.
-
Bun 1.1
ntdll.dll!RtlUserThreadStart()
There are valid reasons to use APIs from NTDLL. Where I disagree with zig#1840 is the idea that it is always better to use NTDLL versions of API. Every other software ecosystem uses the standard Win32 APIs and diverging from that without a good reason seems like a good way to have unexpected behavior. One concrete example is most users and programmers expect Windows to redirect some file system paths when running on WOW64. But this is implemented in Kernel32, not ntdll.
https://github.com/ziglang/zig/issues/11894
- Zig, Rust, and Other Languages
What are some alternatives?
H - The full power of R in Haskell.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
bindings-svm - Low level bindings to libsvm
Odin - Odin Programming Language
bindings-levmar - Low level Haskell bindings to the C levmar (Levenberg-Marquardt) library
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
bindings-sc3 - Haskell bindings to the SuperCollider synthesis engine
rust - Empowering everyone to build reliable and efficient software.
bindings-DSL - Library and macros to simplify writing Haskell FFI code
go - The Go programming language
bindings-libusb - Low level bindings to libusb
ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!