Peter TB Brett
Peter TB Brett
@runrevmark, @montegoulding : I already have the new custom `MCValueRef` type in my stackarr branch. It wraps an `MCDelayedObjectId` -- see commit d6abfe63.
@montegoulding This is something that we need to solve more generally in the engine/IDE, because it affects all stacks, not just exported ones!
Yes, I'd really like to unify the syntaxes. The problem is that the engine lib's `log` syntax supports format strings and I'm not quite ready to implement a formatting engine...
Well, one option would be to provide a way to register a "log dispatcher" function callback with libsystem. I wish it was feasible to do engine bits in pure LCB....
@livecodestephen For server stacks, we really should provide a way to use syslog(3), which will take care of all the PID / timestamp / etc. information, log storage, log rotation,...
@runrevmark Probably not? But I suggest leaving this open until after they are merged, just in case. 😉
Okay, having looked through this and thought about it very hard, I don't think it's useful to be able to store an integer > `INTEGER_MAX` but not to be able...
What about storing integers as unsigned integer with external sign bit in the flags word?
On second thoughts, that's a silly idea. I have this overwhelming feeling of wheel-reinvention going on. :-(
I can't think of any C compiler that wouldn't emit highly efficient code for these types of twiddling. It probably wouldn't be worth our time to write a set of...