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) |
- ztcl has no release for Windows on arm64, and its
execdoes not exist there. - The
runtool needs a POSIX shell. On Windows, jcode usessh.exeof Git for Windows (C:\Program Files\Git\bin). With no such shell, theruntool gives an error with the reason. - ztcl runs a
processthread in the sandbox of macOS (sandbox_init), and-writelimits the writes of its programs. The sandbox allows the Mach services, so a program can start another program outside the sandbox withlaunchctloropen. Use the levelvmwhen this matters. - On Windows, ztcl has no
-writefor aprocessthread yet, so jcode cannot limit the writes of a command to the work folder. jcode refuses the level and gives the reason. - The KVM monitor of ztcl is for x86_64 only.
- ztcl uses Virtualization.framework on macOS and the Windows Hypervisor Platform on Windows. The guest image
ztcl-guestmust exist for the architecture of the host. - With no
setsidand no/proc, a stop ends the processes of the pipeline, and a child that a command started in the background can stay. - jcode runs
taskkill /F /T, which ends the tree of child processes. - SigV4 in Tcl gets the address of Bedrock from
getentof Linux. On another platform, jcode uses theawsprogram. - ztcl 1.0.0-beta.8 has no
coroutineon 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).