| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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)` | ||||
| * | #soa[dynamic]Type (Experimental) | gingerBill | 2019-11-21 | 1 | -1/+10 |
| | | |||||
| * | Fix SOA entity usage error on `-vet` | gingerBill | 2019-11-21 | 1 | -4/+6 |
| | | |||||
| * | Update demo.odin | gingerBill | 2019-11-21 | 1 | -1/+1 |
| | | |||||
| * | Update demo.odin | gingerBill | 2019-11-21 | 1 | -9/+14 |
| | | |||||
| * | `#soa[]Type` (Experimental) | gingerBill | 2019-11-21 | 1 | -68/+88 |
| | | |||||
| * | Add new #soa and #vector syntax | gingerBill | 2019-11-17 | 4 | -383/+757 |
| | | |||||
| * | Add Handmade Seattle 2019 Demos | gingerBill | 2019-11-16 | 3 | -0/+1828 |
| | | |||||
| * | Fix Slice passed incorrectly in LLVM IR to procedure called via procedure ↵ | gingerBill | 2019-11-05 | 1 | -11/+1 |
| | | | | | pointer #465 | ||||
| * | Fix typeid comparison bug; Add extra messages for pointer address errors | gingerBill | 2019-11-03 | 1 | -1/+11 |
| | | |||||
| * | Add SOA Struct Layout (experimental) to demo.odin | gingerBill | 2019-11-03 | 1 | -0/+71 |
| | | |||||
| * | Fix for -vet | gingerBill | 2019-11-03 | 1 | -0/+8 |
| | | |||||
| * | multivalued procedure calls allows in `for in` to allow a pseudo-iterator; ↵ | gingerBill | 2019-11-02 | 1 | -0/+39 |
| | | | | | `@thread_local` for variables in procedure | ||||
| * | Fix typos | gingerBill | 2019-10-26 | 1 | -2/+2 |
| | | |||||
| * | Add `ranged_fields_for_array_compound_literals` | gingerBill | 2019-10-26 | 1 | -7/+37 |
| | | |||||
| * | Add range_cache.cpp | gingerBill | 2019-10-26 | 1 | -2/+18 |
| | | |||||
| * | Move old demos and old stuff to /misc | gingerBill | 2019-10-26 | 9 | -4065/+0 |
| | | |||||
| * | `#panic`; Minor change to demo.odin; Fix `#assert` bug at file scope | gingerBill | 2019-10-13 | 1 | -10/+10 |
| | | |||||
| * | Fix typos and make demo work with -vet | gingerBill | 2019-10-08 | 1 | -1/+0 |
| | | |||||
| * | Update demo.odin | gingerBill | 2019-10-06 | 1 | -20/+20 |
| | | |||||
| * | Change precedence for `in` and `notin` to match + - | ~ | gingerBill | 2019-10-06 | 1 | -9/+1 |
| | | |||||
| * | strings.split; strings.index; eprint* over print*_err; | gingerBill | 2019-10-06 | 1 | -1/+11 |
| | | |||||
| * | Update demo.odin with more information | gingerBill | 2019-10-06 | 1 | -2/+18 |
| | | |||||
| * | Update demo.odin | gingerBill | 2019-09-08 | 1 | -2/+16 |
| | | |||||
| * | `where` clauses for procedure literals | gingerBill | 2019-08-31 | 1 | -0/+65 |
| | | |||||
| * | Improve demo.odin | gingerBill | 2019-08-29 | 1 | -0/+36 |
| | | |||||
| * | `inline for` loops (only for 'in' based for loops) | gingerBill | 2019-08-26 | 1 | -0/+39 |
| | | |||||
| * | Built-in Quaternions (Not just an April Fool's Joke any more) | gingerBill | 2019-08-26 | 1 | -10/+50 |
| | | |||||
| * | Keep -vet happy | gingerBill | 2019-08-13 | 1 | -1/+0 |
| | | |||||
| * | `package reflect`; fix substring type bug; fix scoping rules for `using` on ↵ | gingerBill | 2019-08-11 | 1 | -10/+24 |
| | | | | | procedure parameter | ||||
| * | Make structs with the same fields but with different tags distinct types | gingerBill | 2019-08-09 | 1 | -1/+0 |
| | | |||||
| * | Struct field tags | gingerBill | 2019-08-09 | 1 | -0/+25 |
| | | |||||
| * | Revert demo.odin | gingerBill | 2019-07-15 | 1 | -6/+1 |
| | | |||||
| * | Fix __get_map_key | gingerBill | 2019-07-15 | 1 | -1/+6 |
| | | |||||
| * | Add i128/u128 support for bit sets | gingerBill | 2019-05-28 | 1 | -16/+1 |
| | | |||||
| * | Support 128-bit integers `i128` `u128` | gingerBill | 2019-05-28 | 1 | -1/+16 |
| | | |||||
| * | Add `..<` operator for ranges; Add extra checking for bit set assignments | gingerBill | 2019-05-28 | 1 | -2/+4 |
| | | |||||
| * | Fix -vet for demo.odin | gingerBill | 2019-03-30 | 1 | -1/+0 |
| | | |||||
| * | Remove *_remove from demo and use built-in versions | gingerBill | 2019-03-25 | 1 | -14/+0 |
| | | |||||
| * | Fix typo in demo.odin | gingerBill | 2019-03-11 | 1 | -1/+1 |
| | | |||||
| * | Add implicit selector expression examples to demo.odin | gingerBill | 2019-03-06 | 1 | -0/+29 |
| | | |||||
| * | well, that was a stupid copy/paste bug | Jeroen van Rijn | 2019-03-02 | 1 | -2/+2 |
| | | |||||