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

    @goaty it uses newish css features such as if() statements and @functions, which other browsers haven't implemented yet

    slothrop@chaos.socialS This user is from outside of this forum
    slothrop@chaos.socialS This user is from outside of this forum
    slothrop@chaos.social
    schrieb zuletzt editiert von
    #52

    @rebane2001 @goaty CSS has if statements now??!

    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/

      salamandra_negra@mastodon.socialS This user is from outside of this forum
      salamandra_negra@mastodon.socialS This user is from outside of this forum
      salamandra_negra@mastodon.social
      schrieb zuletzt editiert von
      #53

      @rebane2001 have you ran DOOM on 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/

        groxx@hachyderm.ioG This user is from outside of this forum
        groxx@hachyderm.ioG This user is from outside of this forum
        groxx@hachyderm.io
        schrieb zuletzt editiert von
        #54

        @rebane2001 beyond awful and into aweoverflow

        1 Antwort Letzte Antwort
        0
        • mina@berlin.socialM mina@berlin.social shared this topic
        • 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
                                          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