Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

FAQ and troubleshooting

Platform spec article

FAQ and troubleshooting

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Beskid explicitly rejects hidden control flow. Option covers expected errors; panic is the runtime trap for faults (error model legacy).

No. There is no try/catch for runtime panics in v0.2. Hosts may only intercept before returning to generated code.

Why do writes panic but reads return Result?

Section titled “Why do writes panic but reads return Result?”

v1 CLI policy treats broken stdout as fatal while stdin EOF is normal control flow—see Console I/O streams.

Do syscalls run on fiber scheduler threads?

Section titled “Do syscalls run on fiber scheduler threads?”

Blocking operations should use scheduler blocking helpers so mutator rules stay intact; see Flow and algorithm.

SymptomCheck
Immediate exit, no messagepanic_str null handle path; enable stderr logging in host
syscall_write always -1Invalid fd or null BeskidStr
Garbled UTF-8 on consoleCaller passed non-UTF-8 bytes in string
Hang on stdin readFiber parked correctly; deadlock if mutator blocked on same thread