nx_research_fetch.nx
buildroot/runtime/nx_research_fetch.nx
about
nx_research_fetch.nx -- the Nishi RESEARCHER's sovereign web-fetch for the SPEED / BEAT-CUDA arc. Reuses the
proven sovereign TLS-1.3 stack (nx_https_fetch_follow: url->connect->TLS1.3 handshake validated vs the
Mozilla CA store->GET->redirect-follow->dechunk) -- 100% sovereign (own TLS, nx_cc->nxasm, no curl/wget).
Fetches a CITED source on efficient LLM inference + cross-vendor (CUDA-alternative) GPU compute, saves the
raw body to knowledge/fetched/ for analysis. The only non-Nishi inputs are the CA-root DATA + the fetched
page (exactly the researcher's contract). license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 11 | const K_MAGIC_5381: i64 = 5381 |
| 12 | const K_MAGIC_4194304: i64 = 4194304 |
| 13 | const K_MAGIC_2000: i64 = 2000 |
| 14 | const K_MAGIC_2048: i64 = 2048 |
functions
| 16 | func rf_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 17 | func rf_putn(v: i64) -> i64 |
| 32 | func rf_hexnib(v: i64) -> i64 { if v < 10 { return 48 + v } return 87 + v } // 0-9 then a-f called by 1: rf_build_path |
| 33 | func rf_build_path(url: *u8, argc: i64, argv: *i64, out: *u8) -> i64 |
| 67 | func main(argc: i64, argv: *i64) -> i64 |