HolyC / epoll / hotcaller: let there be 200 OK #34

Closed
hotcaller wants to merge 1 commit from hotcaller/posvyat-challenge:submission/holyc-hotcaller into master
Member

Ports the complete c-epoll-balbesik application from EminovTagir's #29 at winning commit 13c57442f0c0fb65688836cac4c214762bee7d49 to native HolyC. Let there be 200 OK.

All application logic is in .HC files: HTTP/epoll, JSON/JWT/multipart, store and loader, PostgreSQL pipelines/group commits, and every LMS endpoint. hcc compiles the application directly to machine code; libpq, OpenSSL, and libatomic are linked as native dependencies. This uses the Linux x86-64 dialect of Jamesbarford/holyc-lang, not a TempleOS runtime.

Only submissions/holyc-epoll-hotcaller/ is added. The existing C++ submission and PR #33 are independent. Source attribution, pinned/checksummed builds, dependency licenses, startup instructions, and the inherited single-writer snapshot limitation are documented in the README.

Validation:

  • 27/27 native HolyC regression checks.

  • 137/137 unchanged official API checks in plain Ubuntu 24.04, UID 1000, 1 CPU, 512 MiB, PostgreSQL 18 through transaction-mode PgBouncer with TLS required.

  • Extended tests cover malformed JWT claims, fragmented/chunked HTTP, Unicode and long filenames, binary data, and committed submission/grade/chat/file persistence after restart.

  • Five-minute local hold at 10,000 simulated users (1,000 k6 VUs): 375,684 requests, zero failed requests/checks, p95 13.38 ms, p99 15.53 ms, peak cgroup memory 562.25 MiB under the 1 CPU / 1 GiB app limit. Local Docker/Rosetta networking; this is not the official runner score.

Generated and tested with a human (fully organic). The 832,000-user leaderboard result belongs to the original C submission; this port needs its own official runner score.

Ports the complete `c-epoll-balbesik` application from EminovTagir's #29 at winning commit `13c57442f0c0fb65688836cac4c214762bee7d49` to native HolyC. Let there be `200 OK`. All application logic is in `.HC` files: HTTP/epoll, JSON/JWT/multipart, store and loader, PostgreSQL pipelines/group commits, and every LMS endpoint. `hcc` compiles the application directly to machine code; libpq, OpenSSL, and libatomic are linked as native dependencies. This uses the Linux x86-64 dialect of `Jamesbarford/holyc-lang`, not a TempleOS runtime. Only `submissions/holyc-epoll-hotcaller/` is added. The existing C++ submission and PR #33 are independent. Source attribution, pinned/checksummed builds, dependency licenses, startup instructions, and the inherited single-writer snapshot limitation are documented in the README. Validation: - 27/27 native HolyC regression checks. - 137/137 unchanged official API checks in plain Ubuntu 24.04, UID 1000, 1 CPU, 512 MiB, PostgreSQL 18 through transaction-mode PgBouncer with TLS required. - Extended tests cover malformed JWT claims, fragmented/chunked HTTP, Unicode and long filenames, binary data, and committed submission/grade/chat/file persistence after restart. - Five-minute local hold at 10,000 simulated users (1,000 k6 VUs): 375,684 requests, zero failed requests/checks, p95 13.38 ms, p99 15.53 ms, peak cgroup memory 562.25 MiB under the 1 CPU / 1 GiB app limit. Local Docker/Rosetta networking; this is not the official runner score. Generated and tested with a human (fully organic). The 832,000-user leaderboard result belongs to the original C submission; this port needs its own official runner score.
Add complete HolyC port of the winning epoll submission
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/holyc-epoll-hotcaller) (pull_request_target) Successful in 19m54s
c3f0bffb11
hotcaller added
organic
and removed
llm
labels 2026-11-03 15:51:24 +00:00
pxc1984 added
llm
and removed
organic
labels 2026-11-03 15:59:41 +00:00
hotcaller added
organic
and removed
llm
labels 2026-11-03 17:38:09 +00:00
Owner

Не ставьте этому pr llm тег! Он полностью органический, я бы даже сказал духовный. На HolyC только так!

Не ставьте этому pr llm тег! Он полностью органический, я бы даже сказал духовный. На HolyC только так!
Owner

Спасибо, что поддерживаете HolyC!

Спасибо, что поддерживаете HolyC!
Author
Member

Спасибо Федор за такие теплые слова!

Спасибо Федор за такие теплые слова!
pxc1984 closed this pull request 2026-11-07 22:27:39 +00:00
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/holyc-epoll-hotcaller) (pull_request_target) Successful in 19m54s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cu3rd/posvyat-challenge!34
No description provided.