Comments (3)
I have patched up the build to work with 0.12.dev, and tested it against http.zig official (blocking branch only)
Seems broken with the master (non-blocking experimental async) branch of http.zig, but the original blocking IO branch of http.zig is fine
Please check that out at your leisure and see if it works for you
In the meantime, will use this as an opportunity to test/debug the async branch of http.zig using this demo game as a reference. Excellent !
from zig-zag-zoe.
Thanks for raising that !
will look into it and sort it out.
I did get a build compiling ok with 0.12 and httpz latest, but gameplay was broken so havenโt pushed that to master yet. Might be related to non-blocking io .. not sure yet.
hopefully get some time to sort it out, update docs, debug it and pin the versions. I should probably add some decent unit tests too ! Slacker that I am.
yeah, build changes have been fun :)
from zig-zag-zoe.
After a quick chat with Karl ...
https://github.com/zigster64/zig-zag-zoe/releases/tag/v0.12.2139-async
This builds against latest master of http.zig, which uses non-blocking / async IO. Just needed a minor tweak at this end to run the SSE event handler inside its own thread.
So there are 2 releases now, using zig 0.12.dev that reference the official http.zig repo
One does purely blocking IO and threads
The other does async IO with threads for the SSE stuff only
:)
from zig-zag-zoe.
Related Issues (20)
- security HOT 1
- inactive timeout HOT 2
- teams
- uno reverso
- card deck
- more victory conditions
- vblog
- kill stale event loops HOT 1
- landmines HOT 1
- sound effects HOT 2
- sometimes login fails HOT 1
- Audio borked HOT 1
- runs fine for a while, then pegs the cpu to 100 HOT 2
- Use dispatcher for logging all
- Get network address on boot and present this HOT 1
- memory leaks HOT 2
- thread.detach == resource leak ? HOT 3
- Update to zig 0.13
- bug - not capturing finalisation and timeout messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zig-zag-zoe.