kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyZILtoid1991@lemmy.world
1 year

Aborted Virtual Machine

lemmy.world

cross-posted from: https://lemmy.world/post/29156476

Aborted VM rule

11
    You must log in or register to comment.

    • Hellfire103@lemmy.caEnglish
      1 year

      In the computer. Straight up ‘virtualising it’. And by it, let’s just say. My pingus.

      • fxomt [abandoned account]@lemmy.dbzer0.comdeleted by creator
        1 year

        Ah, VMs, compilers and language development my loves…

        I remember trying to write a Lua BC VM in rust. That went as well as you can imagine lol. Turns out, the documentation was very scarce and i had to use some PDF that was pretty much the best possible documentation you can get. Fun times.

        • CodexArcanum@lemmy.dbzer0.comEnglish
          1 year

          Literally have a dozen other tabs open about how to embed a WASM engine into my Rust game. At least I’m not (currently, at this time, right now) writing my own language or trying to embed a prolog engine.

            • ZILtoid1991@lemmy.world
              1 year

              I think wasmtime should work. It works for me in D using the C API and a high-level wrapper.

                • CodexArcanum@lemmy.dbzer0.comEnglish
                  1 year

                  Ooh, I’d been looking at wasmer but wasmtime looks easier and more appropriate. Thanks for the suggestion!

                  Also wow, a D programmer in the wild! I used to really like that language before I got into Rust (my beloved).

              • ZILtoid1991@lemmy.world
                1 year

                In the middle of developing my own high-level binding for wasmtime in D, I had the thought of repurposing all that XML lexer thing into JIT compiling Lua (which was my first candidate for a scripting engine, until it became apparent how much the community views integers as a “red haired stepchild”), but instead I wrote yet another SDLang implementation, this time with a simple but proper DOM (not as overcomplicated as the standard XML DOM, but supports comments).

                • verstra@programming.dev
                  1 year

                  ELI5?

                    • setVeryLoud(true);@lemmy.ca
                      1 year

                      real answer: dead project, too ambitious yet redundant with existing solutions.

                      In this context, a VM is like NodeJS or JVM.

                        • Lv_InSaNe_vL@lemmy.world
                          1 year

                          I’m still confused about the context. I’m assuming “VM” doesn’t mean “virtual machine” in this case? Or maybe it does with a different meaning?

                          Idk im just an IT guy, not a web developer

                            • setVeryLoud(true);@lemmy.ca
                              1 year

                              Yes, it means “virtual machine”, but not the kind you’re thinking of.

                              This isn’t like VMware Workstation, this is more like the Java VM or the Dalvik VM, it’s a virtual execution environment for a specific purpose.

                          • setVeryLoud(true);@lemmy.ca
                            1 year

                            remove child from parent using fork

                          Programmer Humor@programming.dev

                          programmer_humor@programming.dev

                          Subscribe from remote instance

                          Create post

                          Report community

                          Modlog
                          You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

                          Welcome to Programmer Humor!

                          This is a place where you can post jokes, memes, humor, etc. related to programming!

                          For sharing awful code theres also Programming Horror.

                          Rules

                          • Keep content in english
                          • No advertisements
                          • Posts must be related to programming or programmer topics
                          Visibility: Public

                          This community is visible to everyone.

                          • 416 users / Day
                          • 572 users / Week
                          • 586 users / Month
                          • 14.5K users / 6 months
                          • 2.33K posts
                          • 89.9K comments
                          • 2 local subscribers
                          • 31.9K subscribers
                          • UI: 1.0.0-beta.0
                          • BE: 1.0.0-alpha.20
                          • Modlog
                          • Instances
                          • Docs
                          • Code
                          • join-lemmy.org