vm-implementation
ebp + 6 instead of +8 in a JIT compiler
I\'m implementing a simplistic JIT compiler in a VM I\'m writing for fun (mostly to learn more 开发者_开发问答about language design) and I\'m getting some weird behavior, maybe someone can tell me why[详细]
2023-01-03 02:32 分类:问答How many registers in custom VM?
I\'m designing a custom VM and am curious about how many registers I should use. Initially, I had 255, but I\'m a little concerned about backing 255 pointers (a whole KB) on to the stack or heap every[详细]
2023-01-02 08:12 分类:问答Interpreter with a one-register VM - possible to evaluate all math. expressions?
I\'m writing an interpreter. I\'ve done that before but never tried one which can work with expressions like 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3.[详细]
2022-12-30 23:59 分类:问答Register management tips
Implementing a custom VM and I\'ve come to use开发者_运维问答 registers (these will store pointers and will be NULL when empty). But, I\'ve come to realize that I actually have no idea how to manage r[详细]
2022-12-30 23:27 分类:问答Where is the VM in LLVM?
Note: marked as community wiki. Where is the Low Level Virtual Machine in LLVM? I see that we have llvm-g++ and c-lang, but to me, a LLVM is something almost like Valgrind of a simulator, where inst[详细]
2022-12-26 09:28 分类:问答How does one use dynamic recompilation?
It came to my attention some emulators and virtual machines use dynamic recompilation. How do they do that? In C i know how to call a function in ram using typecasting (although i never tried) but how[详细]
2022-12-25 18:32 分类:问答What are the main benefits of implementing a virtual machine as part of an application?
Several databases I\'ve been looking at recently implement a virtual machine internally to perform the respective data reads and writes. For an example, check out this article on SQLite\'s virtual mac[详细]
2022-12-24 12:11 分类:问答What is a good VM for developing a hobby language?
I\'m thinking about writing my own little language. I found a few options, but feel free to suggest more.[详细]
2022-12-18 08:40 分类:问答Is There Any Way To Develop in Smalltalk Without Using a VM?
I\'m really be开发者_高级运维gining to learn Smalltalk. Now I\'m using Squeak, but there is any way to develop in Smalltalk without using VMs, but something like an IDE?An image in Smalltalk is analog[详细]
2022-12-14 19:51 分类:问答Designing a virtual machine with JIT
I\'m developing a scripting language that compiles for its own virtual machine, a simple one that has instructions to work with some kind of data like points, vectors, floats and so on.. the memory ce[详细]
2022-12-12 22:42 分类:问答
加载中,请稍侯......