« first day (3537 days earlier)      last day (243 days later) » 

8:10 AM
@HostileForksaysdonttrustSE Makes sense if you want to do a recycle in an out of memory situation before definitively calling "out of memory".
 
8:26 AM
We could amortize the GC overhead needed by doing something like having a spare pointer around for each series node in the pools. The more series you have that could potentially exist, the more storage you have to build a linked list for the GC. That memory need not go to waste when you're not GC'ing... it could be used for something else when you want to map series-to-thing.
Making the series nodes themselves any bigger would be bad because they're a power of 2, and there's a certain sweet spot in how it's all done.
 
 
5 hours later…
1:23 PM
posted on July 07, 2020 by @rgchris Chris

@rgchris wrote: This is something I've had churning in my mind since I first saw Type: 'index on a RebSite index: if a Rebol header has a TYPE value, it generally doesn't contain your regular DO code (some do—modules, for instance). What if when you DO a script that has a TYPE value, it passes it on to a handler for that type? Presumably in the above ex

 
 
2 hours later…
2:57 PM
youtu.be/9-IWMbJXoLM?t=1331 Interesting quote on what C is not good at.
And from here on the explanation of why some people want a GUI ;-) youtu.be/9-IWMbJXoLM?t=1548
 
3:15 PM
And a really nice talk about various programming languages. youtube.com/watch?v=BCqGjGzWI48
 
 
2 hours later…
5:12 PM
Another aspect of Recycle-on-failed allocation is that generally speaking, the system isn't guaranteed to be at a safe moment for running a recycle at every moment of allocation.
Only certain moments have the heap prepared for a recycle, and allocations occur during these non-safe moments.
 
5:36 PM
@iArnold The C standard would have been a lot cleaner if done from scratch. But the standards committee sort of bent the whole thing to encompass pre-standards compilers, due to not wanting to appear to play favorites to any particular vendor's implementation. So you end up with things like 'char may be signed or unsigned by default' which make no sense in a standard.
 
 
2 hours later…
7:39 PM
red>> blk: [(if 2000 = n: n + 1 [throw <2000>] b: do/next blk 'var)]
red>> catch blk
*** Internal Error: stack overflow
red>> n
== 992
ren-c>> blk: [(if 2000 = n: n + 1 [throw <2000>] b: evaluate blk)]
ren-c>> catch blk
== <2000>
ren-c>> blk: [(if 6000 = n: n + 1 [throw <6000>] b: evaluate blk)]
ren-c>> catch blk
== <6000>
Any stack measuring mechanics that depend on knowing stack size based on the PE or ELF info fundamentally will not work in Wasm.
 

« first day (3537 days earlier)      last day (243 days later) »