Peter Schachte

Results 61 issues of Peter Schachte

The benefit is that stack allocations are very cheap, and reclaimed for free when the procedure exits. The cost is greater stack usage.

enhancement
research project
performance

Tests in Wybe are akin to the Maybe monad in Haskell, or Prolog predicates that can fail (sometimes called *semidet*). *Generators* are a planned feature like the list Monad in...

enhancement
research project

...and then permit procedure calls with outputs to be passed as such a HO value using the pass by reference technology added as part of the TCMC project. Since it...

enhancement
research project

This project will provide a way for the Wybe compiler to download and compile a module from an external source, such as github or an ftp site. This, of course,...

enhancement
research project

The Wybe type system is functional, in that constructors are invertible injective functions. This has the limitation of only being able to construct directed acyclic graphs. It also does not...

enhancement
research project

When the code in both (all) branches of a fork are identical except for some constants, replace the whole fork with code to use the fork variable to index some...

enhancement
performance

Where a member of one structure type is an instance of another, consider embedding the inner structure directly in the outer one. This will save an allocation, an indirection every...

enhancement
research project
performance

This would mean that something like `[1,2,3,4,5]` in Wybe code would be put into a constant in the code segment, so it wouldn't have to be constructed every time that...

enhancement
performance

If a type is declared to be abstract, then some or all of its procedures and functions could be declared to be abstract. Abstract procedures and functions can omit their...

enhancement
research project