Solod 0.2: Networking, new targets, friendlier interop
5 hours ago
- Solod v0.2 introduces a net package supporting TCP, UDP, and Unix domain sockets with Go-like API but without goroutines.
- New compilation targets include 32-bit platforms, WebAssembly (WASI), and freestanding bare-metal mode.
- C interop improvements include `//so:volatile`, `//so:thread_local`, `//so:attr` directives, type aliases, and numeric C types in `so/c`.
- Deadlines (SetReadDeadline, etc.) are added for blocking I/O; concurrency is still planned for future releases.
- Additional stdlib packages: `encoding/hex`, `uuid`, and arena memory management optimization.
- Diagnostics enhancements: `--track-source` for So source locations and optional `--check-nil` for nil-pointer checks.