Jeroen van Rijn
edba99d636
Revert "Use sync.Mutex rather than a spin lock for the threading example"
...
This reverts commit 8d1f46d837 .
2022-08-05 15:03:09 +02:00
gingerBill
8d1f46d837
Use sync.Mutex rather than a spin lock for the threading example
2022-08-05 12:45:26 +01:00
gingerBill
7002f0a7d7
Update demo.odin
2022-05-23 12:07:44 +01:00
Jeroen van Rijn
8fb718245a
Implement pthread_cancel.
2022-05-11 15:52:04 +02:00
Florian Behr
1fb76ad768
change usage in demo.odin
2022-04-25 13:41:19 +02:00
gingerBill
f2f1330238
Add https://github.com/odin-lang/examples
2022-04-08 10:29:23 +01:00
gingerBill
22b961ea53
Update Thread Pool in core:thread
...
Thanks to the work of eisbehr
2022-03-31 11:55:46 +01:00
gingerBill
94dbac9a64
Disable thread pool in demo
2022-03-31 01:13:43 +01:00
gingerBill
46161f7e19
threading_example allow on Darwin
2022-03-30 16:28:16 +01:00
gingerBill
ffe6d81ecd
Remove comments
2022-03-14 12:24:10 +00:00
gitlost
b94a7a87fa
Fix issue #1574 "fract in linalg/glm is broken" by fixing
...
trunc_f16/32/64 in "math.odin" (~ typos on expressions)
Fix classify_f16 Inf test (would fail for subnormal 0h0001)
by changing multiplier 0.5 -> 0.25
Add some useful consts to "math.odin" (INF_F16 etc)
Add comment to "demo.odin" mentioning that -0.0 must be used
to specify negative zero
2022-03-08 18:06:25 +00:00
gingerBill
276e014d18
Update comment in demo.odin
2022-02-19 15:45:01 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
gingerBill
6418ec3b21
Correct #sparse usage and error messages
2022-02-05 13:09:16 +00:00
gingerBill
f2f20def37
Update demo.odin
2022-01-20 20:02:41 +00:00
gingerBill
83be954efd
Minor spelling change
2021-11-07 14:16:05 +00:00
gingerBill
1980f32bd6
Correct demo.odin
2021-11-04 00:50:48 +00:00
gingerBill
9ab71ca0da
Add ODIN_NO_CRT global constant
2021-11-04 00:50:28 +00:00
gingerBill
e2e9b5d3b0
Remove comments
2021-11-01 23:04:00 +00:00
gingerBill
b01e0fbbc2
Correct typo in soa data type debug information generation
2021-11-01 23:00:42 +00:00
Jeroen van Rijn
2a0311797c
Don't run demo's soa_struct when under -debug.
2021-11-01 17:57:35 +01:00
gingerBill
70793236ab
Support llvm_vector_reduce_add if the LLVM intrinsic is not supported
2021-10-28 00:57:10 +01:00
gingerBill
0a1ef1e59d
Improve comment
2021-10-28 00:50:03 +01:00
gingerBill
5b7f273165
Add matrix_type to demo.odin
2021-10-28 00:49:09 +01:00
strager
31daf80aea
Fix indentation typo
2021-09-21 23:02:15 -07:00
Jeroen van Rijn
48bfce2efc
demo: Fix typo.
2021-09-06 23:32:32 +02:00
Jeroen van Rijn
5619b349be
big: Remove core:fmt usage + Add a little demo to examples/demo.
2021-09-06 23:26:19 +02:00
gingerBill
3bf005bfc5
Remove redundant semicolons from comments
2021-09-06 20:05:41 +01:00
gingerBill
72a741554c
Remove unneeded semicolons from demo
2021-08-31 22:45:26 +01:00
gingerBill
b810781368
Remove unneeded semicolon from examples/demo and examples/all
2021-08-31 22:33:53 +01:00
gingerBill
01a888fced
Update import path
2021-08-21 14:09:48 +01:00
gingerBill
e023b96737
Remove json import from demo
2021-08-18 22:33:18 +01:00
gingerBill
0996cc82a7
Keep -vet happy
2021-08-15 23:17:12 +01:00
gingerBill
3e2788afdc
Add extra example to or_return_operator
2021-08-15 18:51:20 +01:00
gingerBill
1a7f508dd9
Improve comment
2021-08-15 18:44:50 +01:00
gingerBill
dc8cfcf92a
Fix typos and improve clarity of or_return_operator
2021-08-15 18:36:34 +01:00
gingerBill
ac08d37ca0
Add or_return_operator to examples/demo
2021-08-15 18:29:49 +01:00
gingerBill
21cbac755e
Make or_else and or_return operators (binary and suffix respectively)
2021-08-15 17:14:35 +01:00
gingerBill
193fd0eecb
Correct and improve type inference for swizzling expressions
2021-08-09 20:13:58 +01:00
gingerBill
cdd0061869
Prefer ..= over ..
2021-08-08 12:45:27 +01:00
gingerBill
0d257c61cd
Disallow using on an enum declaration.
2021-08-05 17:46:42 +01:00
gingerBill
b352b42afc
Remove old comment
2021-08-03 16:31:50 +01:00
gingerBill
3b9ca8535f
Fix comments
2021-07-05 16:26:11 +01:00
gingerBill
a98eee145d
Remove try; Replace try x else y with or_else(x, y)
2021-07-05 16:23:13 +01:00
gingerBill
4b831dbddd
Try try and or_else built-in procedures with operators try and try else
2021-07-04 12:37:21 +01:00
gingerBill
e8f2c5a48a
[Experimental] Add 'try' and `or_else' built-in procedures
2021-07-04 01:38:43 +01:00
gingerBill
3e7aabe6d8
Change uses for parapoly records to use $ always
2021-06-14 11:43:35 +01:00
gingerBill
4d580ed693
Keep -vet happy
2021-05-19 14:26:20 +01:00
gingerBill
10b798456c
Add soa_zip and soa_unzip to demo.odin
2021-05-19 10:55:56 +01:00
gingerBill
b8a35c658c
Remove incl/excl usage from demo
2021-05-13 12:06:35 +01:00