beetlebug▾
/

Platforms

jcode is a program in Tcl on ztcl, and its window client is a script of ztk. A part of jcode works on a platform when ztcl or ztk gives what the part needs there. This page gives the state of each part on each platform, and the reason when a part is absent.

"Tested" means that the full tests ran on a machine of the project. "CI" means that the offline tests run on that platform on each push. "Expected" means that ztcl gives what the part needs, but no test of jcode runs it there yet.

Part Linux x86_64 Linux arm64 macOS arm64 macOS x86_64 Windows x64 Windows arm64
The daemon, the command line, the API Tested, CI CI CI Partial (10) CI Absent (1)
The web page and the passkey sign-in Tested Expected Expected Expected Expected Absent (1)
The terminal client Tested, CI CI CI CI CI Absent (1)
The window client (ztk) Tested Expected Expected Expected Expected Absent (1)
Level none Tested, CI CI CI Absent (10) CI, with Git for Windows (2) Absent (1)
Level process Tested, CI Expected Expected (3) Absent (10) Absent (4) Absent (1)
Level vm Tested (KVM) Absent (5) Expected (6) Absent (10) Expected (6) Absent (1)
A stop of the whole process tree Tested Expected Partial (7) Partial (7) Expected (8) Absent (1)
Model calls: SigV4 in Tcl Tested Expected Absent (9) Absent (9) Absent (9) Absent (1)
Model calls: the aws program Tested Expected Expected Expected Expected Absent (1)
A release file of ztcl build Yes Yes Yes Yes Yes Absent (1)
  1. ztcl has no release for Windows on arm64, and its exec does not exist there.
  2. The run tool needs a POSIX shell. On Windows, jcode uses sh.exe of Git for Windows (C:\Program Files\Git\bin). With no such shell, the run tool gives an error with the reason.
  3. ztcl runs a process thread in the sandbox of macOS (sandbox_init), and -write limits the writes of its programs. The sandbox allows the Mach services, so a program can start another program outside the sandbox with launchctl or open. Use the level vm when this matters.
  4. On Windows, ztcl has no -write for a process thread yet, so jcode cannot limit the writes of a command to the work folder. jcode refuses the level and gives the reason.
  5. The KVM monitor of ztcl is for x86_64 only.
  6. ztcl uses Virtualization.framework on macOS and the Windows Hypervisor Platform on Windows. The guest image ztcl-guest must exist for the architecture of the host.
  7. With no setsid and no /proc, a stop ends the processes of the pipeline, and a child that a command started in the background can stay.
  8. jcode runs taskkill /F /T, which ends the tree of child processes.
  9. SigV4 in Tcl gets the address of Bedrock from getent of Linux. On another platform, jcode uses the aws program.
  10. ztcl 1.0.0-beta.8 has no coroutine on x86_64 macOS, and the loop of an agent is a coroutine. The daemon starts and the commands work, but no agent runs. CI runs the tests there, and each test that needs a coroutine skips.

The program of ztcl build runs only the level none on each platform: ztcl 1.0.0-beta.8 gives a built program no runner for isolated threads and no store of guest images. Use the launcher bin/jcode with the ztcl runner for the levels process and vm (Install).