I am trying to implement continuations with unlimited extent in a Go program (for those curious, I am writing a scheme interpreter). One way to do this is to copy the callstack to the heap so that it can be restored later. Go's garbage collector still needs to know about all the pointers in the copy of the stack. Is there a way to do this in a Go program? Note that I am willing to write code in C or assembly, compatibly with the Go toolchain, if need be.
Is there a way to copy and restore the callstack in a Go program?
126 Views Asked by Matt At
0
There are 0 best solutions below
Related Questions in GO
- Go Fiber and HTMX - HX-Trigger header is changed to Hx-Trigger, which is not what HTMX is listening for
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Handling both JSON and form values in POST request body with unknown values in Golang
- invalid transaction: Transaction failed to sanitize accounts offsets correctly
- Golang lambda upload image into s3 static website
- Is there a way to get a list of selected module versions, but only for modules within the pruned graph?
- Save Interface in DB golang
- ERROR: column "country" is of type text[] but expression is of type record (SQLSTATE 42804)
- Trying to update the version.go file with the release tag from GitHub actions but its failing
- How can I optimize this transposition table for connect 4 AI?
- const declaration - How to evaluate expressions at compile time?
- How add array of authors for unique user in database in Goland IDE?
- Why is the main goroutine not blocked after write in unbuffered channel?
- Insert & Retrieve from a channel in same main function throws "goroutine 1 [chan receive]: main.main() /path exit status 2" error
- Gob error when decoding array of structs: decoding into local type but received remote type
Related Questions in CALLSTACK
- Debugging MAUI issues from android playstore Crash details stacks
- Does JavaScript have an Event table?
- Java: Lazy object storage with auto key from stack trace
- Node Js:- RangeError: Maximum call stack size exceeded
- set_terminate unexplained behaviour with exception thrown from std::thread and libunwind
- Find the stack start address in runtime. cortexM4 processor
- How to free the call stack in C?
- Why don't I see task queue bunch up?
- call stack when Segmentation fault
- Order of processing microtasks in JavaScript
- How are python variable names resolved? (explanations on the web are a bit uncertain)
- What does (deleted) mean in android app crash callstack?
- Why are perf back traces on Linux skipping a function (or showing a call to _init), with DWARF, LBR, and even FP (frame pointers)?
- why setImmediate function executes after setTimeout
- How to create stack trace for other process(out of process) when it crashes in google breakpad?
Related Questions in CONTINUATIONS
- Result in PagingSource (paging library 3, Java)
- continuations in lua, is not working while trying extending it
- lua_resume has segmentation faults
- Get current contiuation in Scala
- Codensity and ContT
- DrRacket's call/cc
- Any way to "join" a currently-active Continuation in Kotlin Coroutines?
- Anything wrong with this simpler bind for Cont?
- The request is canceled in Swift
- Atlassian 1time TOTP - Java Implementation
- why is `(((call/cc (lambda (k) k)) (lambda (x) x)) "HEY!")` evaluated to "HEY!"?
- Scala 3. Recursive definition similar to Haskell recursive definition
- Scala 3. Adapting Continuation monad example from Haskell to Scala
- How to call kotlin suspend function from Java project
- How to make async function using withCheckedContinuation either reentrant or prevent overwriting the continuation?
Related Questions in GO-TOOLCHAIN
- How to import testing code from one module to another without exposing it to production code?
- x/tools/go/analysis: How to report RelatedInformation
- Extract object files from the archive that is generated by the Go compiler
- How To Download Client-Go V12.0.0 via Go Get Cmd Tool
- Static URL that always links to the latest Go binaries?
- How can I manually use go tool compile to compile multiple packages into a single executable file
- Go file not running which is not in main package
- Go error installing dependency, producing EOF
- Using custom linker script with Go build
- Is it possible to link object files generated from the Go toolchain using gcc/clang linker?
- How to determine the tree of files which are imported during a test case?
- Get registry info regarding where dependencies are coming from
- How to retrieve parent node from child node in golang ast traversal?
- How to find the declaration of an Ident using go/analysis?
- With "go list" how to list only Go modules used in the binary?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?