aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/core.odin
Commit message (Collapse)AuthorAgeFilesLines
* Add `struct #simple` to force a struct to use simple comparison if all of ↵gingerBill2026-01-291-0/+1
| | | | the fields "nearly simply comparable".
* Add `#all_or_none`gingerBill2025-11-051-4/+4
|
* fix: typosamwega2025-10-141-1/+1
|
* Add some more docsgingerBill2025-10-071-0/+22
|
* Change `is_utf16` field to `encoding` and use an enumgingerBill2025-08-051-1/+6
|
* Add `string16` and `cstring16` (UTF-16 based strings)gingerBill2025-08-021-1/+12
|
* Remove the semantics of `#no_copy`, keep the grammargingerBill2025-07-301-1/+1
|
* Rename `iOS` subtarget to `iPhone` for consistency.Harold Brenes2025-07-141-1/+3
| | | | | Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to `true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
* Updated iOS/iPhoneSimulator build supportHarold Brenes2025-07-131-0/+1
|
* Remove Type_Info_TupleJeroen van Rijn2025-04-131-1/+0
|
* Support subtargets in build tags: `#build darwin:generic` and `#build ↵gingerBill2025-04-101-0/+4
| | | | linux:android, darwin:ios`
* Fix #4903gingerBill2025-03-031-1/+3
|
* Fix `typeid` size for 32-bit platformsgingerBill2025-02-201-0/+2
|
* Keep -vet happygingerBill2025-02-201-1/+1
|
* Change `typeid` definition to be based around the canonical type hashgingerBill2025-02-201-47/+9
| | | | | | | | `typeid` used to be a fancy index with extra metadata stored on it. Now it is direct hash of the type. This is safe to do in practice since any possible collisions are checked at compile time AND the chances of having a 1% collision are around 1 in 600K (see the Birthday Paradox). Therefore accessing a `^Type_Info` is now a hash table lookup with linear probing. The table is twice the size than necessary so prevent too much probing due to an overly dense hash table.
* Remove `#relative` types from the compilergingerBill2024-11-141-12/+0
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-141-1/+1
| | | | file tag syntax.
* Move some types to runtime, use reflection instead of lutDamian Tarnawski2024-08-291-0/+29
|
* Add `assert_contextless`, `panic_contextless`, `unimplemented_contextless`gingerBill2024-08-141-0/+4
|
* Update builtin constantsDamian Tarnawski2024-07-311-2/+3
|
* help `fmt` with `Type_Info_Struct` and `Type_Info_Bit_Field` changesLaytan Laats2024-07-151-10/+10
|
* Reduce the size of `runtime.Type_Info`gingerBill2024-07-141-20/+30
|
* Add hinstdll forward to runtime globalsJeroen van Rijn2024-07-101-0/+2
|
* Add `Reset` modegingerBill2024-06-151-0/+2
|
* Add `runtime.default_random_generator`gingerBill2024-06-151-1/+6
|
* Add `runtime.Random_Generator` interfacegingerBill2024-06-151-0/+19
|
* Add compilation-related constantsFeoramund2024-06-101-0/+13
| | | | | | | | | | | `ODIN_VERSION_HASH` is the `git` SHA hash of the commit the Odin compiler was built with. `ODIN_MICROARCH_STRING` is the string passed to `-microarch` when the program was built. `ODIN_OPTIMIZATION_MODE` is an enum value of which optimization mode was used to build the program.
* improve orca targetLaytan Laats2024-06-051-2/+13
|
* Add missing `Raw_*` types for complex and quaternionFeoramund2024-06-031-0/+3
|
* Move `Raw_Complex/Quaternion` types to `base:runtime`Feoramund2024-06-031-0/+6
|
* Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying dataFeoramund2024-05-281-0/+3
| | | | Sourced from `src/checker.cpp`.
* Add `runtime.Typeid_Bit_Field`gingerBill2024-05-101-8/+8
|
* add bit_field parsing to `core:odin/parser`Laytan Laats2024-04-101-2/+3
| | | | Also adds it to the core type thingy like it is in the compiler.
* Add `#row_major matrix[R, C]T`gingerBill2024-03-191-0/+4
| | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
* Change type info table to be initializable constantlygingerBill2024-02-271-2/+2
| | | | []Type_Info -> []^Type_Info
* Add field tags to `bit_field`gingerBill2024-02-221-0/+1
|
* Begin work adding `bit_field`gingerBill2024-02-221-0/+9
|
* Add `#load_directory(path: string) > []runtime.Load_Directory_File`gingerBill2024-02-091-0/+8
|
* Remove `core:os` dependency from `base:runtime`; change to `base:intrinsics`gingerBill2024-01-281-1/+1
|
* Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-281-0/+681