Skip to content

General updates for Zig v0.11.0-dev#17

Open
mmlcbr wants to merge 8 commits into
adamserafini:mainfrom
mmlcbr:zig-0.11.0-dev
Open

General updates for Zig v0.11.0-dev#17
mmlcbr wants to merge 8 commits into
adamserafini:mainfrom
mmlcbr:zig-0.11.0-dev

Conversation

@mmlcbr

@mmlcbr mmlcbr commented Jul 30, 2023

Copy link
Copy Markdown

Changes

General updates and changes for zig version 0.11.0-dev.4308+417b92f08

  • Adds zig-yaml as a submodule in benchmark/
  • Uses an ArenaAllocator with the GeneralPurposeAllocator in benchmark
  • Updates to use multi-item for
  • Handles error raised with PyArg_ParseTuple
  • Used time.perf_counter instead of time.time in benchmark.py
  • Adds general suggestions and todos in the commnets

Open to discussion!

I watched you PyCon DE 2022 talk on this topic and was fascinated by the effort. I think it'd be great in a setuptools extensions or minimal binding library can come about from this effort.

I'm newcomer to zig, so I definitely don't have everything right with these changes. I am open to discussion to help with this. Feel free to comment or close.

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