v2026.4.2
·
10722 commits
to master
since this release
Objeck Language v2026.4.2
JIT register cache (~3x perf), AI library refresh, S2F JIT fix, editor support, and more.
What's Changed
Performance
- JIT local variable register cache (AMD64 + ARM64) — ~3x speedup across all benchmarks. Keeps values in registers after store, avoids redundant reloads, evicts on demand.
- Fixed JIT S2F callback —
String:ToFloatsegfault on both AMD64 and ARM64 (wrong param count in JIT callback)
AI Libraries
- Gemini API — Gemini 2.5 Pro/Flash/Flash-Lite model constants, system instruction support for GenerateContent and Chat
- Ollama API — Configurable host (
SetHost/GetHost), Options class (temperature/top_p/top_k), Tool class for function calling, structured output in Chat - OpenAI API — New
Embeddingclass for text embeddings,Modelsconstants (GPT-4.1, O3, O3-mini, O4-mini, etc.) - ML library — Fixed EuclideanDistance/StdDev bugs, added
LinearRegressionandLogisticRegression
Security & Networking
- Hardened JSON, JSON stream, and XML parsers against malformed input
- Hardened HTTPS client against null ReadLine on connection failures
- DTLS (Datagram TLS) support —
DTLSSocketandDTLSSocketServerfor secure UDP
Build & Tooling
- Link-time optimization (
-flto=auto) across all GCC Makefiles - ARM64 native CPU tuning (
-mcpu=native) for RPi5 and Jetson Orin - New editor setup guide (
docs/editors.md) — VS Code, Vim, Emacs, Sublime, Kate - DAP integration test suite (7 automated tests)
- Fixed all MSVC and GCC compiler warnings
Benchmark Highlights (vs v2026.4.1)
| Benchmark | Before | After | Speedup |
|---|---|---|---|
| mandelbrot (4000) | 2.80s | 0.91s | 3.1x |
| nbody (50M) | 42.88s | 23.43s | 1.8x |
| binarytrees (17) | 28.7s | 9.91s | 2.9x |
| fannkuchredux (12) | 91.21s | 33.60s | 2.7x |
| spectralnorm (5500) | 113.58s | 36.49s | 3.1x |
Installation
Windows
- x64: Download MSI installer or ZIP
- ARM64: Download MSI installer or ZIP
Linux
- x64:
tar -xzf objeck-linux-x64_2026.4.2.tgz - ARM64:
tar -xzf objeck-linux-arm64_2026.4.2.tgz
macOS
- ARM64 (M1/M2/M3):
tar -xzf objeck-macos-arm64_2026.4.2.tgz
Documentation
- Performance benchmarks: docs/performance.md
- Editor & IDE setup: docs/editors.md
- API Documentation: https://objeck.org/api/latest/
Full Changelog: v2026.4.1...v2026.4.2