flatjs icon indicating copy to clipboard operation
flatjs copied to clipboard

A language for using flat memory conveniently from JavaScript

Results 19 flatjs issues
Sort by recently updated
recently updated
newest added

Here: https://github.com/sankho/FlatJS. Appears to be mostly inactive, little activity in a year except for a README update, but the name confusion is regrettable. Candidates for other names: - c.js, c++.js,...

The current system with raw-memory arrays will not last. Having the length available is highly desirable and will be necessary to support multi-dimensional arrays. Technically it's not hard, just a...

Feature
API change

Inside a method body, `this` refers to the class object. A SELF method call currently replaces SELF by the name of the class but it could instead use `this`. That...

Performance

The flatjs code for the ray tracer is significantly slower in Chrome (on one core) than the plain JS code. This is remarkable - and it is the reason I'm...

Performance

The poster child for this is a `Lock` structure with methods called `acquire()` and `release()`, to be reused inside other objects without needing a separate heap allocation. In general this...

Feature

Use case is that sometimes we want to use native syntax rather than the clunky type.Array.at and type.Array.setAt syntax, this might also yield a performance boost. Currently we can do...

Feature

Suppose x and y are simd fields and v is some simd datum. Then this does not work: ``` SELF.x = SELF.y = v ``` The reason is that this...

enhancement

At the moment the syntax follows C. We should at least allow `$`, but ideally all unicode letters that are allowed by ECMAScript. This will change the hash algorithm quite...

enhancement

For non-qualified primitive fields we should allow `

Feature

Overriding virtuals should have the same number of arguments as the methods they are overriding (including any rest argument). This requires some parsing.

enhancement