Odin
Odin copied to clipboard
Odin Programming Language
Apple just announced Metal 4, which provides a new API documented [here](https://developer.apple.com/documentation/metal/understanding-the-metal-4-core-api?language=objc). > Metal 4 introduces several types with the MTL4 prefix that are completely independent from the original MTL...
## Context Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. * Operating System & Odin...
This code will not work the way it looks like it should when it should definitely error. ```odin package main import "base:runtime" import "core:fmt" find_exit :: proc(v: bool) -> (exit:...
## Context I am unable to loop through SoA's that are part of a `map` as the compiler will not build the project. For example this will not work ```c...
The `__default_context` intrinsic calls the procedure marked with`@(default_context)` if it exists and returns true. If it does not exist, it returns false. The `@(default_context)` is a file-scope procedure attribute that...
Convert the usage of `runtime.Type_Info` from being a union of the variants in-place to based on subtypes in order to minimize memory usage and initialization. This is a **BREAKING CHANGE**...
## Context ``` Odin: dev-2024-12-nightly:cf53404 OS: Windows 10 Professional (version: 22H2), build 19045.5247 CPU: Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz RAM: 32440 MiB Backend: LLVM 18.1.8 ``` ## Expected Behavior...
This adds support for decoding jpeg images to the core library. So far this only supports Baseline Sequential and Extended Sequential Huffman-coded jpegs, which are the most common types of...
There is no way to make a proc tagged with `@(init)` use a custom allocator. For example, there are packages in core that use `@(init)` to allocate some memory. Below...
## Context Odin: dev-2025-01 OS: NixOS 24.11 (Vicuna), Linux 6.6.63 CPU: AMD Ryzen 9 7950X3D 16-Core Processor RAM: 31240 MiB Backend: LLVM 18.1.8 ## Expected Behavior The struct field should...