ludic/packages/ludic.render3d
Orkuncakilkaya b0b0b62bce feat(lang): L7 memory is safe unless it says unsafe
The typed buffers are slices: words/floats/fixeds/doubles/pointers(n) make
zeroed, bounds-checked []int/[]float/... and the type names mean them. buffer(n)
is a []byte, with text_of, Fs.read_bytes/write_bytes and view(xs, start, n).
bytes(), indexing a raw pointer or bytes, free, resize, Memory.*, raw file calls,
data_of and C externs are refused outside unsafe { } / unsafe function, and a
project's own files may write unsafe only with --unsafe; the runtime and packages
are the platform. A slice passed to an extern goes as its data.

What the change found: Sync's atomics on a slice header, words(n) uninitialised,
input's fixed axes in ints, truetype's fixed outlines as ints, skin matrices
typed int, gl_shader's source table made from raw bytes. render3d gets safe
entry points (safe_api.ludic). Rendering is byte-identical; a frame costs the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 12:53:27 +03:00
..
shaders carry: the runtime and render3d work Maroon Lake builds against 2026-09-23 15:55:02 +03:00
actor.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
assets.manifest feat(gl): OpenGL 4.1 and the ludic.render3d renderer 2026-09-10 03:31:12 +03:00
camera.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
collide.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
daylight.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
drawstats.ludic feat(render3d): gate R3D_* switches behind R3D_DEV in windowed builds 2026-09-16 13:21:51 +03:00
env.ludic feat(render3d): gate R3D_* switches behind R3D_DEV in windowed builds 2026-09-16 13:21:51 +03:00
FEATURES.md feat(render3d): a bole that does not quake, leaves out of the lens, a light with a reach 2026-09-20 00:06:50 +03:00
fmath.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
gltf.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
gpu.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
gpu_manifest.ludic feat(render3d): read the SPIR-V manifest the way a Vulkan backend will 2026-09-15 10:41:43 +03:00
gpu_vk.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu_vk_draw.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu_vk_res.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
grass.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
hooks.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
mesh.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
overlay.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
package.ludic feat(gl): OpenGL 4.1 and the ludic.render3d renderer 2026-09-10 03:31:12 +03:00
post.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
prof.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
programs.ludic feat(render3d): one wind, and everything in the valley is moved by it 2026-09-19 18:24:43 +03:00
quat.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
r3d.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
render.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
safe_api.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
scatter.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
shadow.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
skin.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
sky.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
stream.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
streamline.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
terrain.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
texture.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00
water.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00