Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients/zig: add zig support (0.10.1) #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sitano
Copy link
Contributor

@sitano sitano commented May 21, 2023

If you wish, this is a working implementation of the Maelstrom node framework on Zig 0.10.1. There were many bugs I faced during this experiment. For example, async-io did not work. There are probably bugs with the memory control, but the examples work well.

The implementation is far from perfect, but I am tired of polishing it over the current state of Zig runtime. Probably, it will require an update after the release of 0.11.0. If anyone is interested in polishing look into many FIXME comments in the code.

One of the improvements could be an extension of the types of errors the Handlers can handle so that the catch blocks disappear and allow the implementers to rely solely on try calls, but I don't have time at the moment to work on that.

The implementation is far from perfect, but I am tired of polishing it
over the current state of Zig runtime. Probably, it will require an
update after release of 0.11.0.

Signed-off-by: Ivan Prisyazhnyy <john.koepi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant