Coder Social home page Coder Social logo

Comments (3)

zigster64 avatar zigster64 commented on June 20, 2024 1

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.

zigster64 avatar zigster64 commented on June 20, 2024

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.

zigster64 avatar zigster64 commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.