summaryrefslogtreecommitdiffstats
path: root/lib/environment.tcl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Measure run timeOmar Rizwan2023-09-041-6/+7
|
* Introduce fork-zygote process system.Omar Rizwan2023-06-181-24/+0
| | | | | | | | | | | | | | Also refactors/separates ::nodename to be ::thisNode (this computer) and ::thisProcess (this OS process). All tests should pass. Zygote-based processes are much faster to start up since they don't need to recompile C code or reload Folk. They still need to connect to Folk via WebSocket for now, and the automatic management we'd want (bidirectional, based on both match lifetime and process lifetime) isn't working yet. Some of the node vs. process distinction in naming still needs to be cleaned up, too, I think.
* Fix this reporting in error; merge some peer changes from branchOmar Rizwan2023-06-051-1/+0
|
* Start on lambda/apply-based environment managementOmar Rizwan2023-06-011-41/+37
| | | | | | | Should hopefully be faster bc we can cache the bytecode representation of each code block Only working on (some of) test/basic right now
* etcOmar Rizwan2023-05-301-2/+1
|
* WIP: Go back to using a fixed-name namespaceOmar Rizwan2023-05-291-25/+17
| | | | | so it doesn't recompile every block on execution. need to fix test/process, though.
* Merging main into c-evaluatorCharles Chamberlain2023-05-091-0/+1
|\
| * Do more granular exec time tracking (w/ load and unload)Omar Rizwan2023-04-241-11/+28
| | | | | | | | (from C branch)
* | Use one-off namespaces so inner scope can't stomp outer scopeOmar Rizwan2023-04-261-17/+26
| | | | | | | | | | and so that we can keep blowing away namespaces instead of doing cleanup
* | Unload by blowing away the namespace. This buys us another 5ms?Omar Rizwan2023-04-251-10/+2
| |
* | Do more granular exec time tracking (w/ load and unload)Omar Rizwan2023-04-241-11/+29
|/
* Guard against variable stomp when you call Step inside a StepOmar Rizwan2023-03-181-1/+8
|
* Refactor error/environment handlingOmar Rizwan2023-02-141-12/+13
| | | | Prep for error reporting
* More small bits of cleanupOmar Rizwan2023-02-141-4/+6
|
* Clean up environments a bit. This doesn't really help perfOmar Rizwan2023-02-141-3/+0
|
* Move serializable environment code into separate file. Thread stuffOmar Rizwan2023-01-241-0/+49
(Retract committed set on unmatch, try to use serialized environment in thread)