Guides
On this page
Start
- Getting started
Install Maligator and run your first application. - Use TypeScript
Load declarations and check your application. - Develop an application
Watch source files and restart after successful builds. - Test an application
Write assertions, filter tests, and watch changes.
Build and ship
- Configure a build
Choose engine features and module resolution options. - Embed files
Declare files the build embeds and read them while you develop. - Set up native builds
Check compiler selection and set up local runtime builds and cross-builds. - Build for production
Create a native executable or deployable artifact.
Platform
- Serve HTTP
Start a listener and return responses. - Read and write files
Read, write, copy and move files on disk.
Workers
- Run tasks in a pool
Create a worker pool with isolated module state. - Messages and transfers
Choose what to copy, move, or share between isolates. - Cancel work and shut down
Signal cancellation and release worker resources.
C libraries
- Bind a library
Declare a C library through its headers and call it. - Pointers and buffers
Pass buffers, arrays, text, and outputs to C. - Resources
Wrap C allocations and caller-owned state in handles. - Callbacks
Pass JavaScript functions to C and call the functions it returns. - Globals, unions and variadics
Read C globals, select union members, and call variadic functions.
Diagnose
- Profile an application
Capture CPU, allocation, and GC evidence. - Troubleshooting
Diagnose configuration, build, and runtime failures.
To work on the compiler itself, follow Develop Maligator.