zig
Godot
Our great sponsors
zig | Godot | |
---|---|---|
812 | 2,742 | |
30,295 | 82,940 | |
4.1% | 2.1% | |
10.0 | 10.0 | |
1 day ago | about 13 hours ago | |
Zig | C++ | |
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.
zig
-
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.
- Zig, Rust, and Other Languages
-
Nanos – A Unikernel
Zig also has an IRC channel on libera (#zig) that is moderated by Andrew Kelley.[1]
- Ask HN: What Underrated Open Source Project Deserves More Recognition?
-
Top Paying Programming Technologies 2024
1. ZIG - $103,611
-
MicroZig: Unified abstraction layer and HAL for Zig on several microcontrollers
ESP32 and STM32 support is very welcome!
I have been following https://github.com/ziglang/zig/issues/5467 for a while and progress seemed to have slowed significantly
-
Asynchronous Clean-Up (in Rust)
I have never used it directly, take what I say with a grain of salt.
As far as I know at least part of the idea was to eliminate the function coloring problem by letting the compiler do some nifty compile-time deductions. This had some issues (I don't know if this is still planned, it seems like the kind of thing that should not work in practice). Additionally, there were all sorts of hard technical issues with LLVM, debugging, etc.
I recommend checking the issue tracker, eg. https://github.com/ziglang/zig/issues/6025
I personally don't understand the domain well enough at all, but honestly, I feel like (if possible) Zig should try to double down on its allocator approach.
Instead of trying to use some compile-time deduction magic explicitly pass around an "async runtime/executor" struct which you explicitly have to interact with. Why not?
-
Show HN: Tokamak – A Dependency Injection-Centric Server-Side Framework for Zig
Yes, fundamentally. In Rust if you take a parameter of generic type T without any bounds, you cannot call anything on it except for things which are defined for all types. If you specify bounds, only things required by the bounds can be called (+ the ones for all types). Another difference is where you get an error when you try pass something which doesn't adhere to a certain trait. In Rust you will get an error at the call site, not at the place of use (except if you don't specify any bounds).
Zig is doing just fine without any trait mechanism and it simplifies the language a lot but it does come up from time to time. The usual solution is to just get type information via @typeInfo and error out if the type is something you're not expecting [0]. Not everybody is happy about it though [1] because, among other things, it makes it more difficult to discover what the required type actually is.
[0] https://github.com/ziglang/zig/blob/b3aed4e2c8b4d48b8b12f606...
Godot
-
Name it Better (ideas for making more informative names)
Here's an example file tree from a part of the Godot game engine source code.
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
Godot [1] is a very nice game engine. There's a game on Itch.io that teaches the scripting language it uses [2], and a ton of great tutorials on YouTube for beginners and experts alike.
- Show HN: GodotOS: A Fake Operating System Interface Made in the Godot Engine
- Unity Software cutting 25% of staff in 'company reset' continuation
-
Show HN: Mutable.ai – Turn your codebase into a Wiki
The Bitcoin and Mastadon links don't seem to be working! (wiki not found)
Would love to see this for Godot (https://github.com/godotengine/godot). Maybe Maplibre too (https://github.com/maplibre/maplibre-native)!
-
My thought on different engines
Godot Engine is a free and open-source game engine. The story started as an in-house engine of an Argentinian studio in 2007, and since 2014, it's been a community-driven project with a lot of contributors.
- How do "feature flags work"
-
Duplicated Enemies all respond to a signal belonging to a different instance of that enemy.
I think this is the PR.
-
no cell on microbe stage
Thrive is starting. Log output (due to buffering this is likely not in real time): Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org OpenGL ES 3.0 Renderer: GeForce GT 710/PCIe/SSE2 Async. shader compilation: OFF
-
Renaming 2 files destroyed my project
Same thing happened to me multiple times, it's been a known bug for a long while, sadly: https://github.com/godotengine/godot/issues/76380
What are some alternatives?
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).
bevy - A refreshingly simple data-driven game engine built in Rust
Odin - Odin Programming Language
o3de - Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
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
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
rust - Empowering everyone to build reliable and efficient software.
GDevelop - :video_game: Open-source, cross-platform game engine designed to be used by everyone.
go - The Go programming language
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!
ursina - A game engine powered by python and panda3d.