Site map
All the pages of this site in one place: the main pages, the course, the standard library and the links to everything around the project.
Pages
The course
Getting started
Control flow
Functions
Data and types
Larger programs
- Packages and files
- What the compiler insists on
- Values, references and memory
- Conditional compilation
- Working with C
- Concurrency
Layout language
Web pages
- Pages and text
- Page structure and lists
- Links, images and media
- Tables
- Forms
- Head, scripts and global attributes
- Styles and the box model
- Fonts and text styling
- Colors, backgrounds and effects
- Borders, outlines and shadows
- Layout: flow, flex and grid
- Responsive pages and states
- Transitions and animations
- The rest of CSS
- Mouse events
- Keyboard and forms
- Drag, touch, scroll and window
- Media, animation and other events
- State, the DOM and timers
- Whole pages: six projects
Reference
Server and deployment
Standard library
- core
- io
- fmt
- conv
- text.diff
- text
- str
- unicode
- arabic
- bidi
- regex
- template
- i18n
- math
- rand
- stats
- types
- bigint
- decimal
- sort
- collections
- matrix
- graph
- os
- os.error
- os.platform
- os.dl
- os.mmap
- os.process
- os.shell
- os.temp
- os.user
- fs
- fs.dir
- fs.file
- fs.path
- filepath
- env
- flag
- cli
- config
- log
- debug
- runtime
- testing
- error
- mem
- term
- cpu
- os.pty
- os.signal
- tui
- time
- calendar
- thread
- sync
- atomic
- chan
- pool
- ctx
- cron
- events
- encoding
- encoding.json
- encoding.yaml
- encoding.csv
- encoding.toml
- encoding.html
- encoding.url
- encoding.query
- encoding.envfile
- encoding.value
- encoding.serde
- encoding.msgpack
- encoding.binary
- encoding.xml
- encoding.protobuf
- compress
- archive
- npy
- excel
- data
- net.tcp
- net.udp
- net.dns
- net.mime
- net.proxy
- net.router
- net.email
- net.websocket
- net.http
- net.http.middleware
- net.http.validate
- net.http.session
- net.http.swagger
- net.http2
- net.socketio
- ssh
- ftp
- rpc
- grpc
- net.httpd
- net.httpd.conf
- net.fastcgi
- net.nats
- net.tunnel
- net.socks
- net.httpproxy
- net.trojan
- net.doh
- net.censor
- net.shadowsocks
- net.transport
- net.vless
- net.vmess
- net.reality
- net.vpn
- net.utls
- dom
- web.canvas
- web.keys
- webpush
- graphql
- telegram.bot
- node
- aws
- crypto
- jwt
- tls
- ssl
- db.sql
- db
- db.sqlite
- db.mysql
- db.postgres
- db.redis
- db.typesense
- db.elasticsearch
- db.meilisearch
- db.opensearch
- db.clickhouse
- llvm
- llvm.triple
- ai.optim
- ai.onnx
- ai.gguf
- ai.tensor
- ai.autograd
- ai.nn
- ai.llm
- image
- ai.ml
- opencv
- gui.webview
- gui.raylib
- gui.webview.pack
- gui.webview.bundle
- color
- gui.color
- gui.flow
- gui.style
- audio
- audio.wav
- audio.dsp
- audio.codec
- audio.aiff
- audio.au
- audio.flac
- audio.tag
- audio.music
- audio.synth
- audio.midi
- audio.mp3
- metatrader
- dependency
Magazine
The language
- What is the Salam programming language? A tour of a modern general-purpose and systems language
- One language, two scripts: how Salam lets you program in Persian and English with the same compiler
- Beyond translated keywords: the real problems of designing a programming language for Persian and Arabic
- Right-to-left programming: how Salam handles Unicode, Persian digits and bidirectional text
- Can programming in your native language change computer science education?
- From Persian code to English and back: inside the salam translate tool
- Designing Salam's syntax: readability, simplicity and power
- Why does the world still need new programming languages? Salam's design philosophy and goals
Compiler and performance
- From source code to executable: how the Salam compiler works, stage by stage
- When a language builds itself: inside Salam's self-hosting compiler
- Three ways to generate code: Salam's C, LLVM and native backends compared
- Static typing in Salam: catching bugs before the program runs
- Native compilation without a virtual machine or garbage collector: benefits, costs and performance
- Memory management in Salam: stack values, heap collections, defer and the ownership checker
- Interpreted or compiled? salam run, salam exec and salam build explained
- Cross-compilation in Salam: building for Linux, macOS, Windows and ARM from one machine
- From native to WebAssembly and JavaScript: everywhere a Salam program can run
- Is Salam really faster than C and Rust? A careful reading of the benchmark
Salam and other languages
- Salam vs C: simpler code in the same native performance range?
- Salam vs Rust: performance, memory management, safety and low-level control
- Salam vs Go: which is better for fast web servers and concurrent software?
- Salam vs Python: native speed with a simple syntax?
- Salam vs TypeScript: one language for the browser and the server?
- Salam vs C++: architecture, performance, tooling and systems programming
- Salam vs Zig: two young compiled languages for low-level software
- Salam vs Java and C#: native code versus managed runtimes
- Salam vs Python and Julia for scientific computing and numerical work
- Can a new programming language compete with decades-old ones? Salam's place in the global ecosystem
Building with Salam
- Web development with Salam: a built-in language that generates HTML, CSS and JavaScript
- Interactive user interfaces in Salam: components, state and event handling in the page language
- Full-stack development with one language: can Salam bring the frontend and the backend together?
- Building fast web servers with Salam: HTTP, routing, middleware, WebSocket and gRPC
- Database applications in Salam: typed SQL, query checking and generated code
- A tour of Salam's standard library: from networking and cryptography to databases, images and AI
- Calling C from Salam: how the FFI opens up the existing C ecosystem
- Concurrent programming in Salam: threads, task pools, channels and synchronization
- Desktop and GUI applications with Salam: from WebView apps to a native UI drawn by Salam itself
- From command-line tools to operating system kernels: freestanding and bare-metal programming in Salam
- Scientific computing and machine learning in Salam: tensors, matrices, autograd and neural networks
- The Salam developer toolchain: language server, editor plugins, debugger, formatter, REPL and test runner
The road ahead
- The future of programming languages in the age of AI: what makes a language ready for AI-assisted development
- Programming with AI in the Salam ecosystem: Salam AI, Salam Agent, the MCP server, the API and the Telegram bot
- Can AI write code in Persian? Generating and validating Persian Salam programs
- Running AI workloads with Salam: loading GGUF language models, running ONNX and building ML tools without Python
- How a new programming language builds an open source ecosystem: packages, registry, documentation and contributors in Salam
- Salam in programming education: teaching beginners, computer science and compilers with one bilingual language
- Multilingual programming and the future of native-language code: could Salam's bilingual model work for other languages?
- Where Salam could fit in industry: web services, cloud infrastructure, enterprise back offices and systems software
- What makes a programming language ready for production? Salam against an enterprise adoption checklist
- Salam in five to ten years: from an open source project to a global ecosystem, and what has to happen first