Comments (7)
Thanks. No obsession, I was just a bit too quick. Your code is straightforward but zig is moving fast, so I was basically scanning for build problems. Checking if tests and examples compiled and if the output seemed to match the code. After the last fixes, everything ran. Except one file seemed to hang, so I - incorrectly - assumed 1. it was an example and 2. it didn't build like the others. Sorry about that.
from zap.
No worries. And thx for the QA check you did there. I didn't understand where you were coming from at first. The wrk_zigstd
is / might one day become part of the perf measurement suite. As such, it's important that it compiles. I don't like stale code in a project. A while ago I set up a CI cronjob that runs every day, builds all executables, and runs all tests with the then-current zig master. To ensure std lib / zig changes I'm unaware of don't break things w/o me noticing. What I hadn't thought about was wrk_zigstd
though. So, thx to your scanning job, all buildable code is now checked every day (and every commit).
from zap.
sorry I replied to wrong issue #14 .
This is fixed in 0c18565
Thx for pointing it out.
from zap.
For me, it doesn't finish compiling. It hangs here:
➜ zap git:(master) zig build run-wrk_zigstd
steps [26/28] zig build-exe wrk_zigstd Debug native... LLVM Emit Object...
from zap.
Is that the expected outcome? Here is my setup:
➜ zap git:(master) zig version; sw_vers; clang --version
0.11.0-dev.3220+447a30299
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66
Homebrew clang version 16.0.4
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
➜ zap git:(master) git log -1 | tee
commit 0c18565cea2b31df688ff89c09a815acfd4be273
Author: Rene Schallner <[email protected]>
Date: Fri May 19 15:37:58 2023 +0200
fixed wrk_zigstd. It compiles but can't handle wrk :(
All other demo apps run without obvious problems.
from zap.
It finishes compiling and starts running. It just doesn't print anything to the console. Have you checked the source???
This is not a zap example / demo, it is like the rust, python, go projects: only used in the wrk measurements.
It is not part of examples/
Why are you so obsessed with it? It uses std.http server to send a fixed response and makes no sense running on its own.
from zap.
If you wanted to build it you would zig build wrk_zigstd. But building run-wrk_zigstd also runs it after building. Fyi
from zap.
Related Issues (20)
- Build error HOT 2
- Deprecated LazyPath breaks with Zig master HOT 1
- Connect database HOT 1
- TLS + Multiple threads will crash the process randomly HOT 2
- Performance result looks wierd for c++ HOT 2
- Zig 0.13 build error HOT 7
- Framework not starting HOT 1
- Cannot build Zap HOT 1
- getHeader is not working HOT 15
- How to implement OpenAPI docs for the backend? HOT 2
- Middleware not respecting Endpoint's `path` setting HOT 3
- TODO: make Router more strict wrt types of handler functions
- Zap won't compile on Microsoft Windows. HOT 2
- Zig as a starter HOT 13
- Failure to compile facil.io : unable to build C object: clang exited with code 1 HOT 2
- RequestHandler doesn't work with multiple invocations where self is the same type HOT 3
- hot-code reloading or swapping HOT 1
- Segfault after 60 seconds of inactivity HOT 12
- Add examples/tests for getHeaderCommon
- Maximum number of concurrent requests per Zap process HOT 2
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 zap.