Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. i built an entire x86 CPU emulator in CSS (no javascript)

i built an entire x86 CPU emulator in CSS (no javascript)

Geplant Angeheftet Gesperrt Verschoben Uncategorized
81 Beiträge 67 Kommentatoren 0 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

    i built an entire x86 CPU emulator in CSS (no javascript)

    you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

    https://lyra.horse/x86css/

    david_chisnall@infosec.exchangeD This user is from outside of this forum
    david_chisnall@infosec.exchangeD This user is from outside of this forum
    david_chisnall@infosec.exchange
    schrieb zuletzt editiert von
    #55

    @rebane2001

    Is this practical?

    Not really, you can get way better performance by writing code in CSS directly rather than emulating an entire archaic CPU architecture.

    Beautiful.

    1 Antwort Letzte Antwort
    0
    • freddy@social.security.plumbingF freddy@social.security.plumbing

      @rebane2001 lol. if the css police comes to arrest you, just know you have friends everywhere.

      freddy@social.security.plumbingF This user is from outside of this forum
      freddy@social.security.plumbingF This user is from outside of this forum
      freddy@social.security.plumbing
      schrieb zuletzt editiert von
      #56

      @rebane2001 (the link to your python script in the FAQ points at a no-longer existing file https://lyra.horse/x86css/#:~:text=I%20wrote%20a%20python%20script. :))

      rebane2001@infosec.exchangeR 1 Antwort Letzte Antwort
      0
      • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

        i built an entire x86 CPU emulator in CSS (no javascript)

        you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

        https://lyra.horse/x86css/

        fig@theforkiverse.comF This user is from outside of this forum
        fig@theforkiverse.comF This user is from outside of this forum
        fig@theforkiverse.com
        schrieb zuletzt editiert von
        #57

        @rebane2001 insanity...

        1 Antwort Letzte Antwort
        0
        • freddy@social.security.plumbingF freddy@social.security.plumbing

          @rebane2001 (the link to your python script in the FAQ points at a no-longer existing file https://lyra.horse/x86css/#:~:text=I%20wrote%20a%20python%20script. :))

          rebane2001@infosec.exchangeR This user is from outside of this forum
          rebane2001@infosec.exchangeR This user is from outside of this forum
          rebane2001@infosec.exchange
          schrieb zuletzt editiert von
          #58

          @freddy dang it, i must've mis-guessed it (i usually write the github links to files *before* i figure out what filenames or repo names i want to use, hoping it'll line up later)

          freddy@social.security.plumbingF 1 Antwort Letzte Antwort
          0
          • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

            i built an entire x86 CPU emulator in CSS (no javascript)

            you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

            https://lyra.horse/x86css/

            vgiamp10@social.vgiamp.moeV This user is from outside of this forum
            vgiamp10@social.vgiamp.moeV This user is from outside of this forum
            vgiamp10@social.vgiamp.moe
            schrieb zuletzt editiert von
            #59

            @rebane2001@infosec.exchange i ask this is the most shocked way ever, what and how the fuck did you manage to do this

            1 Antwort Letzte Antwort
            0
            • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

              i built an entire x86 CPU emulator in CSS (no javascript)

              you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

              https://lyra.horse/x86css/

              antoined@kwak.cabA This user is from outside of this forum
              antoined@kwak.cabA This user is from outside of this forum
              antoined@kwak.cab
              schrieb zuletzt editiert von
              #60

              @rebane2001

              I remember this :
              www.commitstrip.com/en/2019/03/15/css-css-everywhere/?setLocale=1

              1 Antwort Letzte Antwort
              0
              • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                i built an entire x86 CPU emulator in CSS (no javascript)

                you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                https://lyra.horse/x86css/

                chengdulittlea@mastodon.artC This user is from outside of this forum
                chengdulittlea@mastodon.artC This user is from outside of this forum
                chengdulittlea@mastodon.art
                schrieb zuletzt editiert von
                #61

                @rebane2001 1) wtf 2) wow

                starkimarm@23.socialS 1 Antwort Letzte Antwort
                0
                • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                  i built an entire x86 CPU emulator in CSS (no javascript)

                  you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                  https://lyra.horse/x86css/

                  jan@toot.cafeJ This user is from outside of this forum
                  jan@toot.cafeJ This user is from outside of this forum
                  jan@toot.cafe
                  schrieb zuletzt editiert von
                  #62

                  @rebane2001 I can't stop grinning 😄 Awesome achievement, you rock!

                  1 Antwort Letzte Antwort
                  0
                  • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                    i built an entire x86 CPU emulator in CSS (no javascript)

                    you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                    https://lyra.horse/x86css/

                    gasrios@floss.socialG This user is from outside of this forum
                    gasrios@floss.socialG This user is from outside of this forum
                    gasrios@floss.social
                    schrieb zuletzt editiert von
                    #63

                    @rebane2001 if you do write about this, I am particularly curious to understand how you implemented a clock in CSS.

                    And, clock or no clock, I do hope you will, I am following you so I won't miss it when you do. =^)

                    1 Antwort Letzte Antwort
                    0
                    • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                      i built an entire x86 CPU emulator in CSS (no javascript)

                      you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                      https://lyra.horse/x86css/

                      trimtab@mastodon.socialT This user is from outside of this forum
                      trimtab@mastodon.socialT This user is from outside of this forum
                      trimtab@mastodon.social
                      schrieb zuletzt editiert von
                      #64

                      @rebane2001
                      “Gozer the Gozerian? Good evening. As a duly designated representative of the city, county, and state of New York, I order you to cease any and all supernatural activity and return forthwith to your place of origin or to the nearest convenient parallel dimension.”

                      1 Antwort Letzte Antwort
                      0
                      • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                        i built an entire x86 CPU emulator in CSS (no javascript)

                        you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                        https://lyra.horse/x86css/

                        ffloyd@mastodon.socialF This user is from outside of this forum
                        ffloyd@mastodon.socialF This user is from outside of this forum
                        ffloyd@mastodon.social
                        schrieb zuletzt editiert von
                        #65

                        @rebane2001 man… when I see things like this… it restores my faith that true spirit of software engineering is not dead yet!

                        1 Antwort Letzte Antwort
                        0
                        • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                          i built an entire x86 CPU emulator in CSS (no javascript)

                          you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                          https://lyra.horse/x86css/

                          f4grx@chaos.socialF This user is from outside of this forum
                          f4grx@chaos.socialF This user is from outside of this forum
                          f4grx@chaos.social
                          schrieb zuletzt editiert von
                          #66

                          @rebane2001 Objection, you built an entire x86 cpu emulator in chrome.

                          "Your browser is unable to run this demo. Please try with an up-to-date Chromium-based browser."

                          rebane2001@infosec.exchangeR 1 Antwort Letzte Antwort
                          0
                          • f4grx@chaos.socialF f4grx@chaos.social

                            @rebane2001 Objection, you built an entire x86 cpu emulator in chrome.

                            "Your browser is unable to run this demo. Please try with an up-to-date Chromium-based browser."

                            rebane2001@infosec.exchangeR This user is from outside of this forum
                            rebane2001@infosec.exchangeR This user is from outside of this forum
                            rebane2001@infosec.exchange
                            schrieb zuletzt editiert von
                            #67

                            @f4grx I built it in CSS. It uses CSS features only available in Chromium, but they are from the spec and being developed for eg Firefox too.

                            f4grx@chaos.socialF 1 Antwort Letzte Antwort
                            0
                            • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                              @f4grx I built it in CSS. It uses CSS features only available in Chromium, but they are from the spec and being developed for eg Firefox too.

                              f4grx@chaos.socialF This user is from outside of this forum
                              f4grx@chaos.socialF This user is from outside of this forum
                              f4grx@chaos.social
                              schrieb zuletzt editiert von
                              #68

                              @rebane2001 oh great, so we just need to wait a bit! Thats a fun project.

                              1 Antwort Letzte Antwort
                              0
                              • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                @freddy dang it, i must've mis-guessed it (i usually write the github links to files *before* i figure out what filenames or repo names i want to use, hoping it'll line up later)

                                freddy@social.security.plumbingF This user is from outside of this forum
                                freddy@social.security.plumbingF This user is from outside of this forum
                                freddy@social.security.plumbing
                                schrieb zuletzt editiert von
                                #69

                                @rebane2001 lol your branch name is called mane....

                                freddy@social.security.plumbingF 1 Antwort Letzte Antwort
                                0
                                • freddy@social.security.plumbingF freddy@social.security.plumbing

                                  @rebane2001 lol your branch name is called mane....

                                  freddy@social.security.plumbingF This user is from outside of this forum
                                  freddy@social.security.plumbingF This user is from outside of this forum
                                  freddy@social.security.plumbing
                                  schrieb zuletzt editiert von
                                  #70

                                  @rebane2001 anyway I tried reading the source and it....gave me nothing. Looking forward to the explainer blog post, the various poorly written summaries of your emulator on "tech news" websites and the inevitable conference talk 🙂

                                  rebane2001@infosec.exchangeR 1 Antwort Letzte Antwort
                                  0
                                  • freddy@social.security.plumbingF freddy@social.security.plumbing

                                    @rebane2001 anyway I tried reading the source and it....gave me nothing. Looking forward to the explainer blog post, the various poorly written summaries of your emulator on "tech news" websites and the inevitable conference talk 🙂

                                    rebane2001@infosec.exchangeR This user is from outside of this forum
                                    rebane2001@infosec.exchangeR This user is from outside of this forum
                                    rebane2001@infosec.exchange
                                    schrieb zuletzt editiert von
                                    #71

                                    @freddy heheh, the summaries will be terrible for sure

                                    i've already seen a few ai bot comments that claim this is using checkboxes and selectors for the logic (i don't think the page has any checkboxes and all the logic happens within a single selector)

                                    1 Antwort Letzte Antwort
                                    0
                                    • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                      i built an entire x86 CPU emulator in CSS (no javascript)

                                      you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                      https://lyra.horse/x86css/

                                      nazokiyoubinbou@urusai.socialN This user is from outside of this forum
                                      nazokiyoubinbou@urusai.socialN This user is from outside of this forum
                                      nazokiyoubinbou@urusai.social
                                      schrieb zuletzt editiert von
                                      #72

                                      @rebane2001 No... No... You can't do this. You can't. No......

                                      1 Antwort Letzte Antwort
                                      0
                                      • jeffythepooh@mastodon.socialJ jeffythepooh@mastodon.social

                                        @rebane2001

                                        Bill Gates had a couple friends map out tte Entire output of a was it 8086 and Made DOS out of the electrical responses, with some Other Stuff.

                                        Whether you know it or not All Computer is based on the Stuff Bill Gates did in Creating DOS.

                                        Even Linux, many Linux can not operate without the DOS Building blocks Platform.

                                        walrus@toot.walesW This user is from outside of this forum
                                        walrus@toot.walesW This user is from outside of this forum
                                        walrus@toot.wales
                                        schrieb zuletzt editiert von
                                        #73

                                        @Jeffythepooh @rebane2001

                                        Gates didn't create DOS. He bought it.

                                        1 Antwort Letzte Antwort
                                        0
                                        • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                          i built an entire x86 CPU emulator in CSS (no javascript)

                                          you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                          https://lyra.horse/x86css/

                                          walrus@toot.walesW This user is from outside of this forum
                                          walrus@toot.walesW This user is from outside of this forum
                                          walrus@toot.wales
                                          schrieb zuletzt editiert von
                                          #74

                                          @rebane2001

                                          I built a Z80 in Haskell, that compiled onto an FPGA. I couldn't get access to an actual FPGA (greedy PhD students), so I ran an emulation on a Sun Workstation. It was faster than the actual Z80 machine I still had.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen



                                          Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                                          Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                                          Impressum | Datenschutzerklärung | Nutzungsbedingungen

                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Über dieses Forum