| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Keep -vet happy | gingerBill | 2021-05-19 | 1 | -1/+1 |
| | | |||||
| * | Add `soa_zip` and `soa_unzip` to demo.odin | gingerBill | 2021-05-19 | 1 | -2/+24 |
| | | |||||
| * | Remove incl/excl usage from demo | gingerBill | 2021-05-13 | 2 | -10/+10 |
| | | |||||
| * | Add clang-11 for Linux; blank out threading_example on darwin | gingerBill | 2021-04-24 | 1 | -0/+5 |
| | | |||||
| * | Deprecate `inline for` in favour of `#unroll for` | gingerBill | 2021-02-23 | 2 | -16/+16 |
| | | |||||
| * | Remove `"pure"` and `"pure_none"` calling conventions | gingerBill | 2021-02-23 | 2 | -34/+0 |
| | | |||||
| * | Merge branch 'master' into parser-experiments | gingerBill | 2020-12-06 | 1 | -3/+3 |
| |\ | |||||
| | * | Fix some typos | Héctor M. Monacci | 2020-11-03 | 1 | -3/+3 |
| | | | | | | | Fix some typos | ||||
| * | | Add experimental `-insert-semicolon` functionality to tokenizer and parser | gingerBill | 2020-11-01 | 1 | -0/+2024 |
| |/ | |||||
| * | Remove usage of `do` in core library | gingerBill | 2020-09-23 | 1 | -17/+28 |
| | | |||||
| * | update essence platform | nakst | 2020-09-15 | 1 | -2/+2 |
| | | |||||
| * | Add `thread.run*` shorthand procedures; `Thread.init_context` use new ↵ | gingerBill | 2020-06-22 | 1 | -1/+0 |
| | | | | | `Maybe` concept | ||||
| * | Remove old llvm-demo | gingerBill | 2020-06-21 | 1 | -7/+0 |
| | | |||||
| * | Revert demo.odin | gingerBill | 2020-06-16 | 1 | -6/+2006 |
| | | |||||
| * | Cleanup `package encoding/json` | gingerBill | 2020-06-16 | 1 | -2006/+6 |
| | | |||||
| * | Revert demo.odin | gingerBill | 2020-06-16 | 1 | -21/+1 |
| | | |||||
| * | Add `hash.djb2` `hash.jenkins`; Add `container.Bloom_Filter`; Add ↵ | gingerBill | 2020-06-16 | 1 | -1/+21 |
| | | | | | `container.Ring` | ||||
| * | Revert demo.odin | gingerBill | 2020-05-23 | 1 | -15/+2 |
| | | |||||
| * | Add `sort.binary_search` (uses interpolation sort for ordered numeric types) | gingerBill | 2020-05-23 | 1 | -1/+14 |
| | | |||||
| * | Add `"pure"` procedure types | gingerBill | 2020-05-23 | 1 | -0/+17 |
| | | |||||
| * | Revert demo.odin | gingerBill | 2020-05-22 | 1 | -23/+1980 |
| | | |||||
| * | Selector Call Expressions: `x->y(123) == x.y(x, 123)` | gingerBill | 2020-05-22 | 1 | -1980/+23 |
| | | |||||
| * | Relative pointer and relative slices | gingerBill | 2020-05-15 | 1 | -1/+21 |
| | | |||||
| * | Enforce explicit context definition for procedure calls | gingerBill | 2020-05-14 | 1 | -0/+12 |
| | | |||||
| * | Revert demo.odin | gingerBill | 2020-03-19 | 1 | -3/+0 |
| | | |||||
| * | Change demo.odin to default | gingerBill | 2020-03-19 | 1 | -65/+29 |
| | | |||||
| * | Remove `context.std*` parameters; Fix unary boolean not | gingerBill | 2020-03-19 | 1 | -29/+68 |
| | | |||||
| * | Fix `context` system; add more to -show-more-timings for LLVM API; Add ↵ | gingerBill | 2020-03-08 | 1 | -1/+1 |
| | | | | | `ODIN_USE_LLVM_API` global constant | ||||
| * | Fix nested type declarations name generation, to be internally consistent | gingerBill | 2020-03-08 | 1 | -1/+1 |
| | | |||||
| * | Fix logical binary expressions | gingerBill | 2020-03-08 | 1 | -4/+4 |
| | | |||||
| * | Basic functionality, except for `map` and correct nested typename mangling | gingerBill | 2020-03-07 | 1 | -7/+8 |
| | | |||||
| * | Fill in more of the llvm_backend code generation | gingerBill | 2020-03-05 | 1 | -49/+1 |
| | | |||||
| * | General functionality without `context` | gingerBill | 2020-03-04 | 1 | -1/+3 |
| | | |||||
| * | Global variable initialization support | gingerBill | 2020-02-23 | 1 | -19/+10 |
| | | |||||
| * | Basic work on obj generation | gingerBill | 2020-02-23 | 1 | -37/+43 |
| | | |||||
| * | Anonymous procedure literal support | gingerBill | 2020-02-08 | 1 | -4/+21 |
| | | |||||
| * | Port code for lb_build_call_expr | gingerBill | 2020-02-02 | 1 | -31/+25 |
| | | |||||
| * | Implement constant value generation from ExactValue | gingerBill | 2020-02-02 | 1 | -17/+32 |
| | | |||||
| * | Correctly generate LLVM types from Odin types. | gingerBill | 2020-02-02 | 1 | -2/+21 |
| | | |||||
| * | Begin LLVM C API integration | gingerBill | 2020-02-01 | 1 | -0/+11 |
| | | |||||
| * | Add `union #maybe` | gingerBill | 2020-02-01 | 1 | -0/+23 |
| | | |||||
| * | Allow not_in as keyword over notin, but still allow notin to work | gingerBill | 2020-01-16 | 2 | -2/+2 |
| | | |||||
| * | Add `thread.Pool` with example in demo.odin; Update linalg to support ↵ | gingerBill | 2020-01-02 | 1 | -24/+52 |
| | | | | | handness changes for projection matrices | ||||
| * | Fix typos in demo.odin | gingerBill | 2019-12-31 | 1 | -2/+2 |
| | | |||||
| * | Add #partial tag for enumerated arrays to prevent common errors using ↵ | gingerBill | 2019-12-27 | 1 | -3/+13 |
| | | | | | non-contiguous enumerations | ||||
| * | Add constant literal expressions | gingerBill | 2019-12-27 | 1 | -0/+55 |
| | | |||||
| * | Implement `#complete switch` by default, replace with `#partial switch` #511 | gingerBill | 2019-12-22 | 1 | -5/+15 |
| | | |||||
| * | Add assert into scratch_allocator_proc to prevent initialization cycles #504 | gingerBill | 2019-12-15 | 1 | -1/+0 |
| | | |||||
| * | Fix nil comparisons for soa slices and dynamic arrays | gingerBill | 2019-12-01 | 1 | -3/+1 |
| | | |||||
| * | Implement core:thread and core:sync on Unix using pthreads | Tetralux | 2019-12-01 | 1 | -1/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also do some cleanup and refactoring of the thread, sync and time APIs. - remove 'semaphore_release' because 'post' and 'wait' is easier to understand - change 'semaphore_wait' to '*_wait_for' to match Condition - pthreads can be given a stack, but doing so requires the user to set up the guard pages manually. BE WARNED. The alignment requirements of the stack are also platform-dependant; it may need to be page size aligned on some systems. Unclear which systems, however. See 'os.get_page_size', and 'mem.make_aligned'. HOWEVER: I was unable to get custom stacks with guard pages working reliably, so while you can do it, the API does not support it. - add 'os.get_page_size', 'mem.make_aligned', and 'mem.new_aligned'. - removed thread return values because windows and linux are not consistent; windows returns 'i32' and pthreads return 'void*'; besides which, if you really wanted to communicate how the thread exited, you probably wouldn't do it with the thread's exit code. - fixed 'thread.is_done' on Windows; it didn't report true immediately after calling 'thread.join'. - moved time related stuff out of 'core:os' to 'core:time'. - add 'mem.align_backward' - fixed default allocator alignment The heap on Windows, and calloc on Linux, both have no facility to request alignment. It's a bit of hack, but the heap_allocator now overallocates; `size + alignment` bytes, and aligns things to at least 2. It does both of these things to ensure that there is at least two bytes before the payload, which it uses to store how much padding it needed to insert in order to fulfil the alignment requested. - make conditions more sane by matching the Windows behaviour. The fact that they were signalled now lingers until a thread tries to wait, causing them to just pass by uninterrupted, without sleeping or locking the underlying mutex, as it would otherwise need to do. This means that a thread no longer has to be waiting in order to be signalled, which avoids timing bugs that causes deadlocks that are hard to debug and fix. See the comment on the `sync.Condition.flag` field. - add thread priority: `thread.create(worker_proc, .High)` | ||||