Josh Ring

Results 40 issues of Josh Ring

It has been a while since Python 3.6, so I was wondering, can this be used without a patched python? Also I was wondering what the project's status was. >...

The benchmark is a FIB sequence, **duplicating** this work over many cores even with 100% efficiency will **never** yield any speedup. Work **division** is needed to see a speedup, I...

Given a trivial code example: ```python def some_fn(): for i in range(100): result += x * i return result ``` unrolled in batches of say 10 iterations: ```python def some_fn():...

**Inspired by the article:** https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ > But if you have threads (green- or OS-level), you don’t need to do that. You can just suspend the entire thread and hop straight...

Enhancement Request
Stdlib

This is an error, but it's hard to understand how to fix. ```c macro @example(t_slice) { var $type = $typeof(t_slice); } ``` > Error: A type must be followed by...

Enhancement Request
Implemented Needs Verification
Accepted

```bash c3c init example ``` Does not add `test/**` to "sources" in project.json By default, running `c3c test` does not work for tests unless the test is inside of `src/**`,...

Missing Feature

This gives an error from the comments on the struct members ```c /** * Data structure to hold a quaternion. */ struct Quaternion { double w; /**< Scalar part */...

Enhancement Request

This is more of a brain dump each of these are likely an issue - C header only libraries - usually do an example with addition or similar - Larger...

We could do with a dedicated section on memory allocation, including allocator scopes, how to use the temporary allocator for which automatically frees Expanding [this content](https://c3-lang.org/faq/#memory-management) of this into a...

How to use each, how to use with temporary allocator > coppamocha — Today at 09:36 do we need to free Strings or are they automatically freed. asking this cuz,...