i built an entire x86 CPU emulator in CSS (no javascript)
-
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
OMG has anybody pinged @Meyerweb yet?
-
@goaty it uses newish css features such as if() statements and @functions, which other browsers haven't implemented yet
@rebane2001 @goaty CSS has if statements now??!
-
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
@rebane2001 have you ran DOOM on it?
-
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
@rebane2001 beyond awful and into aweoverflow
-
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
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.
-
@rebane2001 lol. if the css police comes to arrest you, just know you have friends everywhere.
@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. :))
-
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
@rebane2001 insanity...
-
@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. :))
@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)
-
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
@rebane2001@infosec.exchange i ask this is the most shocked way ever, what and how the fuck did you manage to do this
-
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
-
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
@rebane2001 1) wtf 2) wow
-
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
@rebane2001 I can't stop grinning 😄 Awesome achievement, you rock!
-
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
@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. =^)
-
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
@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.” -
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
@rebane2001 man… when I see things like this… it restores my faith that true spirit of software engineering is not dead yet!
-
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
@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 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."
@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 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.
@rebane2001 oh great, so we just need to wait a bit! Thats a fun project.
-
@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)
@rebane2001 lol your branch name is called mane....
-
@rebane2001 lol your branch name is called mane....
@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 :)