Packages
Using Packages
Import packages with the import keyword:
import "string"
import "net/http"
import "crypto/sha256"Package List
| Package | Description |
|---|---|
arena | Arena memory allocator |
array | Array literals — arr1–arr6, fill, range, sort, reverse |
assert | Runtime assertions |
autograd | Automatic differentiation |
avx512 | AVX-512 SIMD intrinsics |
base64 | Base64 encoding/decoding |
benchmark | Benchmarking framework |
bitset | Bit set data structure |
buildconfig | Build configuration — jda.toml parser |
calendar | Calendar formatting |
compress | RLE and LZ77 compression |
configparser | INI file parser |
conv | String/integer conversion |
copy | Deep copy utilities |
coverage | Code coverage |
crypto/aes | AES encryption |
crypto/hmac | HMAC authentication |
crypto/sha256 | SHA-256 hashing |
csv | CSV parsing |
datetime | Date/time manipulation |
debug | Software debugger — breakpoints, watchpoints, assertions |
deque | Double-ended queue |
diff | Text diffing |
dns | DNS resolution |
drop | Destructors — registry-based cleanup, scope guards |
email | Email parsing/composing |
enum | Runtime enumerations |
env | Environment variables |
errno | System error codes |
file_io | File read/write |
find | File finder |
fixedpoint | Fixed-point arithmetic |
fnmatch | Filename pattern matching |
format | String formatting |
fs | Filesystem operations |
ftp | FTP client |
getpass | Password input |
glob | Filesystem globbing |
graph | Graph data structure |
gzip | Gzip compression |
hashmap | Hash map |
heap | Binary heap / priority queue |
hex | Hex encoding/decoding |
i128 | 128-bit integer arithmetic |
html | HTML escaping |
htmlparser | HTML parser (SAX-style) |
httpclient | HTTP client |
httpserver | HTTP server |
json | JSON parsing/generation |
kvstore | Key-value file store |
linecache | Line-by-line file cache |
lint | Code style checker — naming conventions, warnings |
lockfile | Lock file — dependency pinning, version/hash |
log | Logging |
lru | LRU cache |
marshal | Binary serialization |
math | Math functions |
matrix | Matrix operations |
mimetypes | MIME type lookup |
mmap | Memory-mapped files |
net/http | HTTP protocol |
net/tcp | TCP sockets |
net/udp | UDP sockets |
namespace | Module registry — register, require, prefix |
netrc | .netrc file parser |
nn | Neural network layers |
operator | Operator functions |
option | Option type — Some/None, unwrap, expect |
orderedmap | Ordered map |
os | OS interface |
pack | Binary packing/unpacking |
pathname | Path manipulation |
platform | System information |
pool | Object pool allocator |
profile | Function-level profiler — timing, call counts, report |
ptx | NVIDIA PTX codegen |
queue | FIFO queue |
random | Random number generation |
regex | Regular expressions |
result | Error return — ok/err, unwrap, expect, error codes |
ringbuf | Ring buffer |
rocm | AMD ROCm GPU |
sched | Task scheduler |
semver | Semantic versioning — parse, compare, bump |
set | Hash set |
signal | Signal handling |
slice | Slice / dynamic view — sub-slice, get/set, contains |
smartptr | Smart pointers — Box, Rc, Weak |
smtp | SMTP email sending |
socketserver | TCP/UDP server framework |
sort | Sorting algorithms |
stack | LIFO stack |
stacktrace | Call stack trace — enter/leave, panic with trace |
statistics | Statistical functions |
string | String operations |
sync | Synchronization — WaitGroup, Barrier, OnceFlag |
tarfile | Tar archive |
template | Text templates |
tempfile | Temporary files |
tensor | Tensor operations |
testing | Test framework |
textwrap | Text wrapping |
time | Time and sleep |
toml | TOML parser |
transformer | Transformer architecture |
trie | Prefix tree |
uri | URI parsing |
variant | Sum types / tagged unions — var0–var4, tag, field access |
vec | Dynamic array |
visibility | Visibility control — pub/private/internal convention |
vtable | Dynamic dispatch — vtable, dyn objects, method lookup |
xml | XML parser (SAX-style) |
zipfile | ZIP archive |
zlib | Deflate compression |