dimgigov
|
ba9f5dfd05
|
feat: add Std::Net — TCP sockets module
- C runtime: socket(), bind(), listen(), accept(), connect(), send(), recv(), close()
- library/std/Net.bux: Net_Create, Net_Bind, Net_Listen, Net_Accept, Net_Connect,
Net_Send, Net_Recv, Net_Close, Net_SetReuse, Net_LastError
- examples/tcp_server.bux: echo server on 127.0.0.1:9000
- examples/tcp_client.bux: client that sends 'Hello from Bux!' and prints reply
|
2026-06-05 20:32:10 +03:00 |
|
dimgigov
|
9c6b516453
|
feat: restructure repo, borrow checker, expanded stdlib
- Reorganize repository to Rust-style layout:
compiler/bootstrap/ compiler/selfhost/ compiler/tests/
library/std/ library/runtime/ tests/ tools/
- Add buxs/ Windows-compatible project root
- Add borrow checker tests and implement:
- Alias analysis (double mutable borrow detection)
- Use-after-move detection for own T
- Expand standard library:
- Std::Os: Args, Env, Cwd, Chdir
- Std::Time: NowMs, NowUs, SleepMs
- Std::Process: Run, Output
- Std::Io: PrintInt64 (fixes 32-bit truncation bug)
- Add examples: os_time.bux, process.bux
- Fix PrintInt to use int64_t in C runtime
|
2026-06-05 20:08:17 +03:00 |
|